binutils-gdb/sim/testsuite/frv/callil.cgs
Mike Frysinger 1368b914e9 sim: testsuite: flatten tree
Now that all port tests live under testsuite/sim/*/, and none live
in testsuite/ directly, flatten the structure by moving all of the
dirs under testsuite/sim/ to testsuite/ directly.

We need to stop passing --tool to dejagnu so that it searches all
dirs and not just ones that start with "sim".  Since we have no
other dirs in this tree, and no plans to add any, should be fine.
2021-01-15 19:18:34 -05:00

27 lines
336 B
Plaintext

# frv testcase for callil @($GRi,$d12),$LI
# mach: all
.include "testutils.inc"
start
.global callil
callil:
set_gr_addr ok2,gr8
inc_gr_immed -2047,gr8
callil @(gr8,0x7ff)
bad2:
fail
ok2:
test_spr_addr bad2,lr
set_gr_addr ok3,gr8
inc_gr_immed 2048,gr8
callil @(gr8,-2048)
bad3:
fail
ok3:
test_spr_addr bad3,lr
pass