binutils-gdb/sim/testsuite/frv/fabsd.cgs

27 lines
412 B
Plaintext
Raw Normal View History

# 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