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

23 lines
298 B
Text

# m32r testcase for rac
# mach(): m32r m32rx
.include "testutils.inc"
start
.global rac
rac:
mvi_h_accum0 1, 0x4001
rac
test_h_accum0 2, 0x10000
mvi_h_accum0 0x3fff, 0xffff4000
rac
test_h_accum0 0x7fff, 0xffff0000
mvi_h_accum0 0xffff8000, 0
rac
test_h_accum0 0xffff8000, 0
pass