This patch creates tests/lm32 directory and adds tests for every LatticeMico32 opcode. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
24 lines
148 B
ArmAsm
24 lines
148 B
ArmAsm
.include "macros.inc"
|
|
|
|
start
|
|
|
|
test_name BI_1
|
|
bi jump
|
|
tc_fail
|
|
end
|
|
|
|
jump_back:
|
|
tc_pass
|
|
end
|
|
|
|
jump:
|
|
tc_pass
|
|
|
|
test_name BI_2
|
|
bi jump_back
|
|
tc_fail
|
|
|
|
end
|
|
|
|
|