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

14 lines
201 B
Text

# cr16 testcase for lshb_i $uimm5, regp
# mach(): cr16
.include "testutils.inc"
start
.global lshb_i
lshb_i:
movd $0x12345678,(r4,r3)
lshd $16, (r4,r3)
test_h_grp "(r4,r3)", 0x56780000
pass