URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [dci.cgs] - Rev 272
Go to most recent revision | Compare with Previous | Blame | View Log
# FRV testcase for dci @(GRi,GRj)
# mach: all
.include "testutils.inc"
start
.global dci
dci:
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
dci @(sp,gr0)
test_mem_immed 0xdeadbeef,sp
pass
Go to most recent revision | Compare with Previous | Blame | View Log