OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [sim/] [testsuite/] [sim/] [fr30/] [copst.cgs] - Rev 1765

Compare with Previous | Blame | View Log

# fr30 testcase for copst $u4,$cc,$CRj,Ri
# mach(): fr30

        .include "testutils.inc"

        START

        .text
        .global copst
copst:
        ; Test copst copst $u4,$cc,$CRj,Ri
        ; The current implementation is a noop
        set_cc          0x0f            ; Condition codes are irrelevent
        copst           0,0,cr0,r15
        test_cc         1 1 1 1

        set_cc          0x0e            ; Condition codes are irrelevent
        copst           15,255,cr15,r0
        test_cc         1 1 1 0

        pass

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.