Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/m32r/sll3.cgs

16 lines
200 B
Text
Raw Normal View History

2023-03-06 14:48:14 +01:00
# m32r testcase for sll3 $dr,$sr,#$simm16
# mach(): m32r m32rx
.include "testutils.inc"
start
.global sll3
sll3:
mvi_h_gr r4, 1
mvi_h_gr r5, 6
sll3 r4, r5, #1
test_h_gr r4, 12
pass