binutils-gdb/sim/testsuite/d10v-elf/t-rep.s
Andrew Cagney aa49c64f3e * d10v_sim.h (SEXT56): Define.
* simops.c (OP_4201): For "rac", sign extend 56 bit value before
it is shifted.
* d10v_sim.h (MAX32, MIN32, MASK32, MASK40): Re-define using
SIGNED64 macro.
1997-12-03 08:03:33 +00:00

27 lines
314 B
ArmAsm

.include "t-macros.i"
start
# Check that the instruction @REP_E is executed when it
# is reached using a branch instruction
ldi r2, 1
test_rep_1:
rep r2, end_rep_1
nop || nop
nop || nop
nop || nop
nop || nop
ldi r3, 46
bra end_rep_1
ldi r3, 42
end_rep_1:
addi r3, 1
check 1 r3 47
exit0