binutils-gdb/sim/testsuite/cris/asm/addoq.ms
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

32 lines
490 B
Plaintext

# mach: crisv32
# output: ccff2244\n88ccee19\n55aa77ff\n19cc\n
.include "testutils.inc"
.data
x:
.dword 0x55aa77ff
.dword 0xccff2244
.dword 0x88ccee19
start
moveq -1,r0
move.d x+4,r5
setf zvnc
addoq 0,r5,acr
test_cc 1 1 1 1
move.d [acr],r3
dumpr3 ; ccff2244
setf zvnc
addoq 4,r5,acr
test_cc 1 1 1 1
move.d [acr],r3
dumpr3 ; 88ccee19
clearf zvnc
addoq -8,acr,acr
test_cc 0 0 0 0
move.d [acr],r3
dumpr3 ; 55aa77ff
addoq 3,r5,acr
movu.w [acr],r3
dumpr3 ; 19cc
quit