mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
1368b914e9
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.
23 lines
230 B
Plaintext
23 lines
230 B
Plaintext
# cr16 testcase for beq disp16
|
|
# mach(): cr16
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
.global beq
|
|
beq:
|
|
mvi_h_condbit 0
|
|
movw $12, r4
|
|
movw $10, r5
|
|
cmpw r4, r5
|
|
bcc ok
|
|
not_ok:
|
|
fail
|
|
ok:
|
|
movw $11, r5
|
|
cmpw r4, r5
|
|
beq not_ok
|
|
|
|
pass
|