binutils-gdb/sim/testsuite/frv/fdmovs.cgs
Mike Frysinger 1368b914e9 sim: testsuite: flatten tree
Now that all port tests live under testsuite/sim/*/, and none live
in testsuite/ directly, flatten the structure by moving all of the
dirs under testsuite/sim/ to testsuite/ directly.

We need to stop passing --tool to dejagnu so that it searches all
dirs and not just ones that start with "sim".  Since we have no
other dirs in this tree, and no plans to add any, should be fine.
2021-01-15 19:18:34 -05:00

46 lines
814 B
Plaintext

# frv testcase for fdmovs $FRj,$FRk
# mach: frv
.include "testutils.inc"
float_constants
start
load_float_constants
.global fdmovs
fdmovs:
set_fr_fr fr4,fr1
fdmovs fr0,fr2
test_fr_fr fr0,fr2
test_fr_fr fr4,fr3
set_fr_fr fr12,fr9
fdmovs fr8,fr2
test_fr_fr fr8,fr2
test_fr_fr fr12,fr3
set_fr_fr fr20,fr17
fdmovs fr16,fr2
test_fr_fr fr16,fr2
test_fr_fr fr20,fr3
set_fr_fr fr28,fr25
fdmovs fr24,fr2
test_fr_fr fr24,fr2
test_fr_fr fr28,fr3
set_fr_fr fr36,fr33
fdmovs fr32,fr2
test_fr_fr fr32,fr2
test_fr_fr fr36,fr3
set_fr_fr fr44,fr41
fdmovs fr40,fr2
test_fr_fr fr40,fr2
test_fr_fr fr44,fr3
set_fr_fr fr52,fr49
fdmovs fr48,fr2
test_fr_fr fr48,fr2
test_fr_fr fr52,fr3
set_fr_fr fr60,fr57
fdmovs fr56,fr2
test_fr_iimmed 0x7fc00000,fr2
test_fr_iimmed 0x7f800001,fr3
pass