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

16 lines
241 B
Text

# cr16 testcase for muluw reg, regp
# mach(): cr16
.include "testutils.inc"
start
.global muluw
muluw:
movw $0xfff,r4 # fix for 0xffff
movd $0xffffffff,(r6,r5)
muluw r4, (r6,r5)
test_h_grp "(r6,r5)", 0xffef001
pass