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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [ldqfi.cgs] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for ldqfi @($GRi,$GRj),$GRk
2
# mach: frv
3
# as(frv): -mcpu=frv
4
 
5
        .include "testutils.inc"
6
 
7
        start
8
 
9
        .global ldqfi
10
ldqfi:
11
        set_mem_limmed  0xdead,0xbeef,sp
12
        inc_gr_immed    -4,sp
13
        set_mem_limmed  0xbeef,0xdead,sp
14
        inc_gr_immed    -4,sp
15
        set_mem_limmed  0x1234,0x5678,sp
16
        inc_gr_immed    -4,sp
17
        set_mem_limmed  0x9abc,0xdef0,sp
18
        set_fr_iimmed   0xdead,0xbeef,fr8
19
        set_fr_iimmed   0xbeef,0xdead,fr9
20
        set_fr_iimmed   0x1234,0x5678,fr10
21
        set_fr_iimmed   0x9abc,0xdef0,fr11
22
 
23
        ldqfi           @(sp,0),fr8
24
        test_fr_limmed  0x9abc,0xdef0,fr8
25
        test_fr_limmed  0x1234,0x5678,fr9
26
        test_fr_limmed  0xbeef,0xdead,fr10
27
        test_fr_limmed  0xdead,0xbeef,fr11
28
 
29
        set_fr_iimmed   0xdead,0xbeef,fr8
30
        set_fr_iimmed   0xbeef,0xdead,fr9
31
        set_fr_iimmed   0x1234,0x5678,fr10
32
        set_fr_iimmed   0x9abc,0xdef0,fr11
33
        inc_gr_immed    -16,sp
34
        ldqfi           @(sp,16),fr8
35
        test_fr_limmed  0x9abc,0xdef0,fr8
36
        test_fr_limmed  0x1234,0x5678,fr9
37
        test_fr_limmed  0xbeef,0xdead,fr10
38
        test_fr_limmed  0xdead,0xbeef,fr11
39
 
40
        set_fr_iimmed   0xdead,0xbeef,fr8
41
        set_fr_iimmed   0xbeef,0xdead,fr9
42
        set_fr_iimmed   0x1234,0x5678,fr10
43
        set_fr_iimmed   0x9abc,0xdef0,fr11
44
        inc_gr_immed    32,sp
45
        ldqfi           @(sp,-16),fr8
46
        test_fr_limmed  0x9abc,0xdef0,fr8
47
        test_fr_limmed  0x1234,0x5678,fr9
48
        test_fr_limmed  0xbeef,0xdead,fr10
49
        test_fr_limmed  0xdead,0xbeef,fr11
50
 
51
        pass

powered by: WebSVN 2.1.0

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