OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [dcei.cgs] - Blame information for rev 840

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for dcei @(GRi,GRj),a
2
# mach: fr400 fr550
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global dcei
9
dcei:
10
        or_spr_immed    0x08000000,hsr0 ; data cache: copy-back mode
11
 
12
        set_mem_immed   0xdeadbeef,sp
13
        test_mem_immed  0xdeadbeef,sp
14
 
15
        flush_data_cache sp
16
        set_mem_immed   0xbeefdead,sp
17
        test_mem_immed  0xbeefdead,sp
18
 
19
        dcei            @(sp,gr0),1
20
        test_mem_immed  0xdeadbeef,sp
21
 
22
        set_mem_immed   0xbeefdead,sp
23
        test_mem_immed  0xbeefdead,sp
24
        dcei            @(gr0,gr0),1
25
        test_mem_immed  0xdeadbeef,sp
26
 
27
        pass

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.