OpenCores
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/] [lddfu.cgs] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for lddfu @($GRi,$GRj),$GRk
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global lddfu
9
lddfu:
10
        set_mem_limmed  0xdead,0xbeef,sp
11
        inc_gr_immed    -4,sp
12
        set_mem_limmed  0xbeef,0xdead,sp
13
        set_gr_gr       sp,gr20
14
        set_fr_iimmed   0xdead,0xbeef,fr8
15
        set_fr_iimmed   0xbeef,0xdead,fr9
16
 
17
        set_gr_immed    0,gr7
18
        lddfu           @(sp,gr7),fr8
19
        test_fr_limmed  0xbeef,0xdead,fr8
20
        test_fr_limmed  0xdead,0xbeef,fr9
21
        test_gr_gr      sp,gr20
22
 
23
        set_fr_iimmed   0xdead,0xbeef,fr8
24
        set_fr_iimmed   0xbeef,0xdead,fr9
25
        inc_gr_immed    -8,sp
26
        set_gr_immed    8,gr7
27
        lddfu           @(sp,gr7),fr8
28
        test_fr_limmed  0xbeef,0xdead,fr8
29
        test_fr_limmed  0xdead,0xbeef,fr9
30
        test_gr_gr      sp,gr20
31
 
32
        set_fr_iimmed   0xdead,0xbeef,fr8
33
        set_fr_iimmed   0xbeef,0xdead,fr9
34
        inc_gr_immed    8,sp
35
        set_gr_immed    -8,gr7
36
        lddfu           @(sp,gr7),fr8
37
        test_fr_limmed  0xbeef,0xdead,fr8
38
        test_fr_limmed  0xdead,0xbeef,fr9
39
        test_gr_gr      sp,gr20
40
 
41
        pass

powered by: WebSVN 2.1.0

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