OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [xorcr.cgs] - Rev 227

Compare with Previous | Blame | View Log

# frv testcase for xorcr $CCi,$CCj,$CCk
# mach: all

        .include "testutils.inc"

        start

        .global xorcr
xorcr:
        set_spr_immed   0x1b1b,cccr
        xorcr           cc7,cc7,cc3
        test_spr_immed  0x1b1b,cccr

        xorcr           cc7,cc6,cc3
        test_spr_immed  0x1b1b,cccr

        xorcr           cc7,cc5,cc3
        test_spr_immed  0x1b1b,cccr

        xorcr           cc7,cc4,cc3
        test_spr_immed  0x1b1b,cccr

        xorcr           cc6,cc7,cc3
        test_spr_immed  0x1b1b,cccr

        xorcr           cc6,cc6,cc3
        test_spr_immed  0x1b1b,cccr

        xorcr           cc6,cc5,cc3
        test_spr_immed  0x1b1b,cccr

        xorcr           cc6,cc4,cc3
        test_spr_immed  0x1b1b,cccr

        xorcr           cc5,cc7,cc3
        test_spr_immed  0x1b1b,cccr

        xorcr           cc5,cc6,cc3
        test_spr_immed  0x1b1b,cccr

        xorcr           cc5,cc5,cc3
        test_spr_immed  0x1b9b,cccr

        xorcr           cc5,cc4,cc3
        test_spr_immed  0x1bdb,cccr

        xorcr           cc4,cc7,cc3
        test_spr_immed  0x1bdb,cccr

        xorcr           cc4,cc6,cc3
        test_spr_immed  0x1bdb,cccr

        xorcr           cc4,cc5,cc3
        test_spr_immed  0x1bdb,cccr

        xorcr           cc4,cc4,cc3
        test_spr_immed  0x1b9b,cccr

        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.