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

247 lines
3.6 KiB
Plaintext

# mach: crisv10 crisv32
# output: fffffffe\nffffffff\nfffffffe\n1\nfffffffe\nffffffff\nfffffffe\n1\nfffe0001\n0\nfffe0001\n0\n1\n0\n1\nfffffffe\n193eade2\n277e3a49\n193eade2\n277e3a49\nfffffffe\nffffffff\n1fffe\n0\nfffffffe\nffffffff\n1fffe\n0\n1\n0\nfffe0001\n0\nfdbdade2\nffffffff\n420fade2\n0\nfffffffe\nffffffff\n1fe\n0\nfffffffe\nffffffff\n1fe\n0\n1\n0\nfe01\n0\n1\n0\nfe01\n0\nffffd9e2\nffffffff\n2be2\n0\n0\n0\n0\n0\n
.include "testutils.inc"
start
moveq -1,r3
moveq 2,r4
muls.d r4,r3
test_cc 1 0 0 0
dumpr3 ; fffffffe
move mof,r3
dumpr3 ; ffffffff
moveq -1,r3
moveq 2,r4
mulu.d r4,r3
test_cc 0 0 1 0
dumpr3 ; fffffffe
move mof,r3
dumpr3 ; 1
moveq 2,r3
moveq -1,r4
muls.d r4,r3
test_cc 1 0 0 0
dumpr3 ; fffffffe
move mof,r3
dumpr3 ; ffffffff
moveq 2,r3
moveq -1,r4
mulu.d r4,r3
test_cc 0 0 1 0
dumpr3 ; fffffffe
move mof,r3
dumpr3 ; 1
move.d 0xffff,r4
move.d r4,r3
muls.d r4,r3
test_cc 0 0 1 0
dumpr3 ; fffe0001
move mof,r3
dumpr3 ; 0
move.d 0xffff,r4
move.d r4,r3
mulu.d r4,r3
test_cc 0 0 0 0
dumpr3 ; fffe0001
move mof,r3
dumpr3 ; 0
moveq -1,r4
move.d r4,r3
muls.d r4,r3
test_cc 0 0 0 0
dumpr3 ; 1
move mof,r3
dumpr3 ; 0
moveq -1,r4
move.d r4,r3
mulu.d r4,r3
test_cc 1 0 1 0
dumpr3 ; 1
move mof,r3
dumpr3 ; fffffffe
move.d 0x5432f789,r4
move.d 0x78134452,r3
muls.d r4,r3
test_cc 0 0 1 0
dumpr3 ; 193eade2
move mof,r3
dumpr3 ; 277e3a49
move.d 0x5432f789,r4
move.d 0x78134452,r3
mulu.d r4,r3
test_cc 0 0 1 0
dumpr3 ; 193eade2
move mof,r3
dumpr3 ; 277e3a49
move.d 0xffff,r3
moveq 2,r4
muls.w r4,r3
test_cc 1 0 0 0
dumpr3 ; fffffffe
move mof,r3
dumpr3 ; ffffffff
moveq -1,r3
moveq 2,r4
mulu.w r4,r3
test_cc 0 0 0 0
dumpr3 ; 1fffe
move mof,r3
dumpr3 ; 0
moveq 2,r3
move.d 0xffff,r4
muls.w r4,r3
test_cc 1 0 0 0
dumpr3 ; fffffffe
move mof,r3
dumpr3 ; ffffffff
moveq 2,r3
moveq -1,r4
mulu.w r4,r3
test_cc 0 0 0 0
dumpr3 ; 1fffe
move mof,r3
dumpr3 ; 0
move.d 0xffff,r4
move.d r4,r3
muls.w r4,r3
test_cc 0 0 0 0
dumpr3 ; 1
move mof,r3
dumpr3 ; 0
moveq -1,r4
move.d r4,r3
mulu.w r4,r3
test_cc 0 0 0 0
dumpr3 ; fffe0001
move mof,r3
dumpr3 ; 0
move.d 0x5432f789,r4
move.d 0x78134452,r3
muls.w r4,r3
test_cc 1 0 0 0
dumpr3 ; fdbdade2
move mof,r3
dumpr3 ; ffffffff
move.d 0x5432f789,r4
move.d 0x78134452,r3
mulu.w r4,r3
test_cc 0 0 0 0
dumpr3 ; 420fade2
move mof,r3
dumpr3 ; 0
move.d 0xff,r3
moveq 2,r4
muls.b r4,r3
test_cc 1 0 0 0
dumpr3 ; fffffffe
move mof,r3
dumpr3 ; ffffffff
moveq -1,r3
moveq 2,r4
mulu.b r4,r3
test_cc 0 0 0 0
dumpr3 ; 1fe
move mof,r3
dumpr3 ; 0
moveq 2,r3
moveq -1,r4
muls.b r4,r3
test_cc 1 0 0 0
dumpr3 ; fffffffe
move mof,r3
dumpr3 ; ffffffff
moveq 2,r3
moveq -1,r4
mulu.b r4,r3
test_cc 0 0 0 0
dumpr3 ; 1fe
move mof,r3
dumpr3 ; 0
move.d 0xff,r4
move.d r4,r3
muls.b r4,r3
test_cc 0 0 0 0
dumpr3 ; 1
move mof,r3
dumpr3 ; 0
moveq -1,r4
move.d r4,r3
mulu.b r4,r3
test_cc 0 0 0 0
dumpr3 ; fe01
move mof,r3
dumpr3 ; 0
move.d 0xfeda49ff,r4
move.d r4,r3
muls.b r4,r3
test_cc 0 0 0 0
dumpr3 ; 1
move mof,r3
dumpr3 ; 0
move.d 0xfeda49ff,r4
move.d r4,r3
mulu.b r4,r3
test_cc 0 0 0 0
dumpr3 ; fe01
move mof,r3
dumpr3 ; 0
move.d 0x5432f789,r4
move.d 0x78134452,r3
muls.b r4,r3
test_cc 1 0 0 0
dumpr3 ; ffffd9e2
move mof,r3
dumpr3 ; ffffffff
move.d 0x5432f789,r4
move.d 0x78134452,r3
mulu.b r4,r3
test_cc 0 0 0 0
dumpr3 ; 2be2
move mof,r3
dumpr3 ; 0
moveq 0,r3
move.d 0xf87f4aeb,r4
muls.d r4,r3
test_cc 0 1 0 0
dumpr3 ; 0
move mof,r3
dumpr3 ; 0
move.d 0xf87f4aeb,r3
moveq 0,r4
mulu.d r4,r3
test_cc 0 1 0 0
dumpr3 ; 0
move mof,r3
dumpr3 ; 0
quit