Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/frv/jmpil.cgs
2023-03-06 14:48:14 +01:00

17 lines
232 B
Text

# frv testcase for jmpil @($GRi,$d12)
# mach: all
.include "testutils.inc"
start
.global jmpil
jmpil:
set_spr_immed 0,lr
set_gr_addr ok1,gr8
jmpil @(gr8,2) ; target gets aligned down
fail
ok1:
test_spr_immed 0,lr
pass