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

26 lines
412 B
Text

# frv testcase for fabsd $FRj,$FRk
# mach: frv
# as(frv): -mcpu=frv
.include "testutils.inc"
double_constants
start
load_double_constants
.global fabsd
fabsd:
fabsd fr0,fr2
test_dfr_dfr fr2,fr52
fabsd fr8,fr2
test_dfr_dfr fr2,fr28
fabsd fr12,fr2
test_dfr_dfr fr2,fr24
fabsd fr24,fr2
test_dfr_dfr fr2,fr24
fabsd fr28,fr2
test_dfr_dfr fr2,fr28
fabsd fr52,fr2
test_dfr_dfr fr2,fr52
pass