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/] [ldfu.cgs] - Blame information for rev 24

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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