mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +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.
26 lines
503 B
Plaintext
26 lines
503 B
Plaintext
# frv testcase for mhtob $FRj,$FRk
|
|
# mach: all
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
.global mhtob
|
|
mhtob:
|
|
set_fr_iimmed 0x00ad,0x00ef,fr10
|
|
set_fr_iimmed 0x0034,0x0078,fr11
|
|
mhtob fr10,fr12
|
|
test_fr_limmed 0xadef,0x3478,fr12
|
|
|
|
set_fr_iimmed 0xdead,0xbeef,fr10 ; saturation
|
|
set_fr_iimmed 0x1234,0x5678,fr11
|
|
mhtob fr10,fr12
|
|
test_fr_limmed 0xffff,0xffff,fr12
|
|
|
|
set_fr_iimmed 0x0134,0x0878,fr10 ; saturation
|
|
set_fr_iimmed 0x10ad,0x80ef,fr11
|
|
mhtob fr10,fr12
|
|
test_fr_limmed 0xffff,0xffff,fr12
|
|
|
|
pass
|