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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [beqlr.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 beqlr $ICCi,$hint
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global beqlr
9
beqlr:
10
        set_spr_addr    bad,lr
11
        set_icc         0x0 0
12
        beqlr           icc0,0
13
        set_icc         0x1 1
14
        beqlr           icc1,1
15
        set_icc         0x2 2
16
        beqlr           icc2,2
17
        set_icc         0x3 3
18
        beqlr           icc3,3
19
        set_spr_addr    ok1,lr
20
        set_icc         0x4 0
21
        beqlr           icc0,0
22
        fail
23
ok1:
24
        set_spr_addr    ok2,lr
25
        set_icc         0x5 1
26
        beqlr           icc1,1
27
        fail
28
ok2:
29
        set_spr_addr    ok3,lr
30
        set_icc         0x6 2
31
        beqlr           icc2,2
32
        fail
33
ok3:
34
        set_spr_addr    ok4,lr
35
        set_icc         0x7 3
36
        beqlr           icc3,3
37
        fail
38
ok4:
39
        set_spr_addr    bad,lr
40
        set_icc         0x8 0
41
        beqlr           icc0,0
42
        set_icc         0x9 1
43
        beqlr           icc1,1
44
        set_icc         0xa 2
45
        beqlr           icc2,2
46
        set_icc         0xb 3
47
        beqlr           icc3,3
48
        set_spr_addr    ok5,lr
49
        set_icc         0xc 0
50
        beqlr           icc0,0
51
        fail
52
ok5:
53
        set_spr_addr    ok6,lr
54
        set_icc         0xd 1
55
        beqlr           icc1,1
56
        fail
57
ok6:
58
        set_spr_addr    ok7,lr
59
        set_icc         0xe 2
60
        beqlr           icc2,2
61
        fail
62
ok7:
63
        set_spr_addr    ok8,lr
64
        set_icc         0xf 3
65
        beqlr           icc3,3
66
        fail
67
ok8:
68
 
69
        pass
70
bad:
71
        fail

powered by: WebSVN 2.1.0

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