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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [fr30/] [copop.cgs] - Rev 842

Compare with Previous | Blame | View Log

# fr30 testcase for copop $u4,$cc,$CRj,CRi
# mach(): fr30

        .include "testutils.inc"

        START

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

        set_cc          0x0e            ; Condition codes are irrelevent
        copop           15,255,cr0,cr15
        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.