binutils-gdb/sim/testsuite/frv/dcei.cgs
Mike Frysinger 1368b914e9 sim: testsuite: flatten tree
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.
2021-01-15 19:18:34 -05:00

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