binutils-gdb/sim/testsuite/d10v/t-rac.s
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

21 lines
300 B
ArmAsm

# mach: all
# output:
# sim: --environment operating
.include "t-macros.i"
start
;; clear FX
loadpsw2 0x8004
loadacc2 a0 0x80 0x0000 0x0000
loadacc2 a1 0x00 0x0000 0x5000
load r10 0x0123
load r11 0x4567
test_rac1:
RAC r10, a0, #-2
checkpsw2 1 0x8008
check2w2 2 r10 0x8000 0x0000
exit0