mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
1368b914e9
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.
33 lines
568 B
Plaintext
33 lines
568 B
Plaintext
# frv testcase for fdtoi $FRj,$FRk
|
|
# mach: frv
|
|
# as(frv): -mcpu=frv
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
.global fdtoi
|
|
fdtoi:
|
|
set_fr_iimmed 0,0,fr2
|
|
set_fr_iimmed 0,0,fr3
|
|
fdtoi fr2,fr2
|
|
test_fr_iimmed 0,fr2
|
|
|
|
set_fr_iimmed 0x4000,0x0000,fr2
|
|
set_fr_iimmed 0x0000,0x0000,fr3
|
|
fdtoi fr2,fr2
|
|
test_fr_iimmed 0x00000002,fr2
|
|
|
|
set_fr_iimmed 0xc1c0,0xa920,fr2
|
|
set_fr_iimmed 0x8880,0x0000,fr3
|
|
fdtoi fr2,fr2
|
|
test_fr_iimmed 0xdeadbeef,fr2
|
|
|
|
set_gr_limmed 0x4031,0x0000,gr8
|
|
set_gr_limmed 0x0000,0x0000,gr9
|
|
movgfd gr8,fr0
|
|
fdtoi fr0,fr0
|
|
test_fr_iimmed 17,fr0
|
|
|
|
pass
|