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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [frv/] [bgtlr.cgs] - Blame information for rev 373

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

Line No. Rev Author Line
1 330 jeremybenn
# frv testcase for bgtlr $ICCi,$hint
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global bgtlr
9
bgtlr:
10
        set_spr_addr    ok1,lr
11
        set_icc         0x0 0
12
        bgtlr           icc0,0
13
        fail
14
ok1:
15
        set_spr_addr    ok2,lr
16
        set_icc         0x1 1
17
        bgtlr           icc1,1
18
        fail
19
ok2:
20
        set_spr_addr    bad,lr
21
        set_icc         0x2 2
22
        bgtlr           icc2,2
23
 
24
        set_spr_addr    bad,lr
25
        set_icc         0x3 3
26
        bgtlr           icc3,3
27
 
28
        set_spr_addr    bad,lr
29
        set_icc         0x4 0
30
        bgtlr           icc0,0
31
 
32
        set_spr_addr    bad,lr
33
        set_icc         0x5 1
34
        bgtlr           icc1,1
35
 
36
        set_spr_addr    bad,lr
37
        set_icc         0x6 2
38
        bgtlr           icc2,2
39
 
40
        set_spr_addr    bad,lr
41
        set_icc         0x7 3
42
        bgtlr           icc3,3
43
 
44
        set_spr_addr    bad,lr
45
        set_icc         0x8 0
46
        bgtlr           icc0,0
47
 
48
        set_spr_addr    bad,lr
49
        set_icc         0x9 1
50
        bgtlr           icc1,1
51
 
52
        set_spr_addr    okb,lr
53
        set_icc         0xa 2
54
        bgtlr           icc2,2
55
        fail
56
okb:
57
        set_spr_addr    okc,lr
58
        set_icc         0xb 3
59
        bgtlr           icc3,3
60
        fail
61
okc:
62
        set_spr_addr    bad,lr
63
        set_icc         0xc 0
64
        bgtlr           icc0,0
65
 
66
        set_spr_addr    bad,lr
67
        set_icc         0xd 1
68
        bgtlr           icc1,1
69
 
70
        set_spr_addr    bad,lr
71
        set_icc         0xe 2
72
        bgtlr           icc2,2
73
 
74
        set_spr_addr    bad,lr
75
        set_icc         0xf 3
76
        bgtlr           icc3,3
77
 
78
        pass
79
bad:
80
        fail

powered by: WebSVN 2.1.0

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