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.
28 lines
480 B
Plaintext
28 lines
480 B
Plaintext
# frv testcase for dcei @(GRi,GRj),a
|
|
# mach: fr400 fr550
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
.global dcei
|
|
dcei:
|
|
or_spr_immed 0x08000000,hsr0 ; data cache: copy-back mode
|
|
|
|
set_mem_immed 0xdeadbeef,sp
|
|
test_mem_immed 0xdeadbeef,sp
|
|
|
|
flush_data_cache sp
|
|
set_mem_immed 0xbeefdead,sp
|
|
test_mem_immed 0xbeefdead,sp
|
|
|
|
dcei @(sp,gr0),1
|
|
test_mem_immed 0xdeadbeef,sp
|
|
|
|
set_mem_immed 0xbeefdead,sp
|
|
test_mem_immed 0xbeefdead,sp
|
|
dcei @(gr0,gr0),1
|
|
test_mem_immed 0xdeadbeef,sp
|
|
|
|
pass
|