mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +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.
41 lines
906 B
Plaintext
41 lines
906 B
Plaintext
# frv testcase for mqsllhi $FRi,#u6,$FRj
|
|
# mach: fr450
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
.global mqsllhi
|
|
mqsllhi:
|
|
set_fr_iimmed 0x0001,0x0002,fr4
|
|
set_fr_iimmed 0x0003,0x0004,fr5
|
|
mqsllhi fr4,#1,fr6
|
|
test_fr_limmed 0x0002,0x0004,fr6
|
|
test_fr_limmed 0x0006,0x0008,fr7
|
|
|
|
set_fr_iimmed 0xffff,0xfffe,fr4
|
|
set_fr_iimmed 0xfffc,0xfff8,fr5
|
|
mqsllhi fr4,#1,fr6
|
|
test_fr_limmed 0xfffe,0xfffc,fr6
|
|
test_fr_limmed 0xfff8,0xfff0,fr7
|
|
|
|
set_fr_iimmed 0xffff,0xfffe,fr4
|
|
set_fr_iimmed 0xfffc,0xfff8,fr5
|
|
mqsllhi fr4,#12,fr6
|
|
test_fr_limmed 0xf000,0xe000,fr6
|
|
test_fr_limmed 0xc000,0x8000,fr7
|
|
|
|
set_fr_iimmed 0x1234,0x5678,fr4
|
|
set_fr_iimmed 0x9abc,0xdef0,fr5
|
|
mqsllhi fr4,#12,fr6
|
|
test_fr_limmed 0x4000,0x8000,fr6
|
|
test_fr_limmed 0xc000,0x0000,fr7
|
|
|
|
set_fr_iimmed 0x1234,0x5678,fr4
|
|
set_fr_iimmed 0x9abc,0xdef0,fr5
|
|
mqsllhi fr4,#16,fr6
|
|
test_fr_limmed 0x1234,0x5678,fr6
|
|
test_fr_limmed 0x9abc,0xdef0,fr7
|
|
|
|
pass
|