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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [frv/] [call.pcgs] - Rev 373

Go to most recent revision | Compare with Previous | Blame | View Log

# frv parallel testcase for call $label24
# mach: fr500 fr550 frv

        .include "testutils.inc"

        start

        .global call
call:
        set_spr_immed   0,lr
        call            ok1
bad1:
        fail
ok1:
        test_spr_addr   bad1,lr

        set_spr_immed   0,lr
        setlos.p        0,gr5
        call.p          ok2
        bra             bad3
bad2:
        setlos          5,gr5
        fail
bad3:
        fail
ok2:
        test_spr_addr   bad2,lr
        test_gr_immed   0,gr5

        pass

Go to most recent revision | 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.