Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/frv/sthf.cgs

17 lines
258 B
Text
Raw Normal View History

2023-03-06 14:48:14 +01:00
# frv testcase for sthf $FRk,@($GRi,$GRj)
# mach: all
.include "testutils.inc"
start
.global sthf
sthf:
set_mem_limmed 0xdead,0xbeef,sp
set_gr_immed 0,gr7
set_fr_iimmed 0xffff,0xffff,fr8
sthf fr8,@(sp,gr7)
test_mem_limmed 0xffff,0xbeef,sp
pass