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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gdb/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [dcei.cgs] - Rev 26

Compare with Previous | Blame | View Log

# 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

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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