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.
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
# frv testcase for mcop2 $FRi,$FRj,$FRk
|
|
# mach: frv
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
.global mcop2
|
|
mcop2:
|
|
mcop2.p fr19,fr12,fr13 ; mp_exception: not-implemented
|
|
mcop2 fr20,fr14,fr18 ; mp_exception: not-implemented
|
|
test_spr_bits 0x7000,12,5,msr0; msr0.mtt is set
|
|
test_spr_bits 0x003c,2,0,msr0 ; msr0.sie is clear
|
|
test_spr_bits 0x0002,1,0,msr0 ; msr0.ovf is clear
|
|
test_spr_bits 0x003c,2,0,msr1 ; msr1.sie is clear
|
|
test_spr_bits 0x0002,1,0,msr1 ; msr1.ovf is clear
|
|
|
|
mcop2.p fr19,fr12,fr13 ; mp_exception: not-implemented
|
|
mcop2 fr20,fr14,fr18 ; mp_exception: not-implemented
|
|
test_spr_bits 0x7000,12,5,msr0; msr0.mtt is set
|
|
test_spr_bits 0x003c,2,0,msr0 ; msr0.sie is clear
|
|
test_spr_bits 0x0002,1,0,msr0 ; msr0.ovf is clear
|
|
test_spr_bits 0x003c,2,0,msr1 ; msr1.sie is clear
|
|
test_spr_bits 0x0002,1,0,msr1 ; msr1.ovf is clear
|
|
|
|
mcop2 fr19,fr12,fr13 ; mp_exception: not-implemented
|
|
test_spr_bits 0x7000,12,5,msr0; msr0.mtt is set
|
|
test_spr_bits 0x003c,2,0,msr0 ; msr0.sie is clear
|
|
test_spr_bits 0x0002,1,0,msr0 ; msr0.ovf is clear
|
|
test_spr_bits 0x003c,2,0,msr1 ; msr1.sie is clear
|
|
test_spr_bits 0x0002,1,0,msr1 ; msr1.ovf is clear
|
|
|
|
mcop2 fr19,fr12,fr13 ; mp_exception: not-implemented
|
|
test_spr_bits 0x7000,12,5,msr0; msr0.mtt is set
|
|
test_spr_bits 0x003c,2,0,msr0 ; msr0.sie is clear
|
|
test_spr_bits 0x0002,1,0,msr0 ; msr0.ovf is clear
|
|
test_spr_bits 0x003c,2,0,msr1 ; msr1.sie is clear
|
|
test_spr_bits 0x0002,1,0,msr1 ; msr1.ovf is clear
|
|
|
|
pass
|