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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv parallel testcase for jmpl @($GRi,$GRj),$LI
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global jmpl
9
jmpl:
10
        set_spr_immed   0,lr
11
        set_gr_addr     ok1,gr8
12
        set_gr_immed    0,gr9
13
        jmpl.p          @(gr8,gr9)
14
        setlos          10,gr10
15
        fail
16
ok1:
17
        test_spr_immed  0,lr
18
        test_gr_immed   10,gr10
19
 
20
        set_gr_addr     ok2,gr8
21
        inc_gr_immed    -4,gr8
22
        inc_gr_immed    4,gr9
23
        calll.p         @(gr8,gr9)
24
        setlos          11,gr11
25
bad2:
26
        fail
27
ok2:
28
        test_spr_addr   bad2,lr
29
        test_gr_immed   11,gr11
30
 
31
        set_gr_addr     ok3,gr8
32
        inc_gr_immed    4,gr8
33
        set_gr_immed    -4,gr9
34
        setlos          12,gr12
35
        calll           @(gr8,gr9)
36
bad3:
37
        fail
38
ok3:
39
        test_spr_addr   bad3,lr
40
        test_gr_immed   12,gr12
41
 
42
        pass

powered by: WebSVN 2.1.0

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