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.
139 lines
3.8 KiB
Plaintext
139 lines
3.8 KiB
Plaintext
# frv testcase for mcmpuh $FRi,$FRj,$FCCk
|
|
# mach: all
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
.global mcmpuh
|
|
mcmpuh:
|
|
set_fr_iimmed 0x7fff,0x7fff,fr10
|
|
set_fr_iimmed 0x7fff,0x7fff,fr11
|
|
set_fcc 0x7,0 ; Set mask opposite of expected
|
|
set_fcc 0x7,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x8,0
|
|
test_fcc 0x8,1
|
|
|
|
set_fr_iimmed 0x7fff,0x7fff,fr10
|
|
set_fr_iimmed 0x7fff,0x8000,fr11
|
|
set_fcc 0x7,0 ; Set mask opposite of expected
|
|
set_fcc 0xb,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x8,0
|
|
test_fcc 0x4,1
|
|
|
|
set_fr_iimmed 0x7fff,0x7fff,fr10
|
|
set_fr_iimmed 0x8000,0x7fff,fr11
|
|
set_fcc 0xb,0 ; Set mask opposite of expected
|
|
set_fcc 0x7,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x4,0
|
|
test_fcc 0x8,1
|
|
|
|
set_fr_iimmed 0x7fff,0x7fff,fr10
|
|
set_fr_iimmed 0x8000,0x8000,fr11
|
|
set_fcc 0xb,0 ; Set mask opposite of expected
|
|
set_fcc 0xb,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x4,0
|
|
test_fcc 0x4,1
|
|
|
|
set_fr_iimmed 0x7fff,0x8000,fr10
|
|
set_fr_iimmed 0x7fff,0x7fff,fr11
|
|
set_fcc 0x7,0 ; Set mask opposite of expected
|
|
set_fcc 0xd,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x8,0
|
|
test_fcc 0x2,1
|
|
|
|
set_fr_iimmed 0x7fff,0x8000,fr10
|
|
set_fr_iimmed 0x7fff,0x8000,fr11
|
|
set_fcc 0x7,0 ; Set mask opposite of expected
|
|
set_fcc 0x7,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x8,0
|
|
test_fcc 0x8,1
|
|
|
|
set_fr_iimmed 0x7fff,0x8000,fr10
|
|
set_fr_iimmed 0x8000,0x7fff,fr11
|
|
set_fcc 0xb,0 ; Set mask opposite of expected
|
|
set_fcc 0xd,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x4,0
|
|
test_fcc 0x2,1
|
|
|
|
set_fr_iimmed 0x7fff,0x8000,fr10
|
|
set_fr_iimmed 0x8000,0x8000,fr11
|
|
set_fcc 0xb,0 ; Set mask opposite of expected
|
|
set_fcc 0x7,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x4,0
|
|
test_fcc 0x8,1
|
|
|
|
set_fr_iimmed 0x8000,0x7fff,fr10
|
|
set_fr_iimmed 0x7fff,0x7fff,fr11
|
|
set_fcc 0xd,0 ; Set mask opposite of expected
|
|
set_fcc 0x7,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x2,0
|
|
test_fcc 0x8,1
|
|
|
|
set_fr_iimmed 0x8000,0x7fff,fr10
|
|
set_fr_iimmed 0x7fff,0x8000,fr11
|
|
set_fcc 0xd,0 ; Set mask opposite of expected
|
|
set_fcc 0xb,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x2,0
|
|
test_fcc 0x4,1
|
|
|
|
set_fr_iimmed 0x8000,0x7fff,fr10
|
|
set_fr_iimmed 0x8000,0x7fff,fr11
|
|
set_fcc 0x7,0 ; Set mask opposite of expected
|
|
set_fcc 0x7,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x8,0
|
|
test_fcc 0x8,1
|
|
|
|
set_fr_iimmed 0x8000,0x7fff,fr10
|
|
set_fr_iimmed 0x8000,0x8000,fr11
|
|
set_fcc 0x7,0 ; Set mask opposite of expected
|
|
set_fcc 0xb,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x8,0
|
|
test_fcc 0x4,1
|
|
|
|
set_fr_iimmed 0x8000,0x8000,fr10
|
|
set_fr_iimmed 0x7fff,0x7fff,fr11
|
|
set_fcc 0xd,0 ; Set mask opposite of expected
|
|
set_fcc 0xd,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x2,0
|
|
test_fcc 0x2,1
|
|
|
|
set_fr_iimmed 0x8000,0x8000,fr10
|
|
set_fr_iimmed 0x7fff,0x8000,fr11
|
|
set_fcc 0xd,0 ; Set mask opposite of expected
|
|
set_fcc 0x7,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x2,0
|
|
test_fcc 0x8,1
|
|
|
|
set_fr_iimmed 0x8000,0x8000,fr10
|
|
set_fr_iimmed 0x8000,0x7fff,fr11
|
|
set_fcc 0x7,0 ; Set mask opposite of expected
|
|
set_fcc 0xd,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x8,0
|
|
test_fcc 0x2,1
|
|
|
|
set_fr_iimmed 0x8000,0x8000,fr10
|
|
set_fr_iimmed 0x8000,0x8000,fr11
|
|
set_fcc 0x7,0 ; Set mask opposite of expected
|
|
set_fcc 0x7,1 ; Set mask opposite of expected
|
|
mcmpuh fr10,fr11,fcc0
|
|
test_fcc 0x8,0
|
|
test_fcc 0x8,1
|
|
|
|
pass
|