diff options
Diffstat (limited to 'sim/testsuite/sim/d10v/t-rac.s')
-rw-r--r-- | sim/testsuite/sim/d10v/t-rac.s | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sim/testsuite/sim/d10v/t-rac.s b/sim/testsuite/sim/d10v/t-rac.s new file mode 100644 index 00000000000..a452299d581 --- /dev/null +++ b/sim/testsuite/sim/d10v/t-rac.s @@ -0,0 +1,20 @@ +# 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 |