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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for beq $ICCi,$hint,$label16
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global beq
9
beq:
10
        set_icc         0x0 0
11
        beq             icc0,0,bad
12
        set_icc         0x1 1
13
        beq             icc1,1,bad
14
        set_icc         0x2 2
15
        beq             icc2,2,bad
16
        set_icc         0x3 3
17
        beq             icc3,3,bad
18
        set_icc         0x4 0
19
        beq             icc0,0,ok1
20
        fail
21
ok1:
22
        set_icc         0x5 1
23
        beq             icc1,1,ok2
24
        fail
25
ok2:
26
        set_icc         0x6 2
27
        beq             icc2,2,ok3
28
        fail
29
ok3:
30
        set_icc         0x7 3
31
        beq             icc3,3,ok4
32
        fail
33
ok4:
34
        set_icc         0x8 0
35
        beq             icc0,0,bad
36
        set_icc         0x9 1
37
        beq             icc1,1,bad
38
        set_icc         0xa 2
39
        beq             icc2,2,bad
40
        set_icc         0xb 3
41
        beq             icc3,3,bad
42
        set_icc         0xc 0
43
        beq             icc0,0,ok5
44
        fail
45
ok5:
46
        set_icc         0xd 1
47
        beq             icc1,1,ok6
48
        fail
49
ok6:
50
        set_icc         0xe 2
51
        beq             icc2,2,ok7
52
        fail
53
ok7:
54
        set_icc         0xf 3
55
        beq             icc3,3,ok8
56
        fail
57
ok8:
58
 
59
        pass
60
bad:
61
        fail

powered by: WebSVN 2.1.0

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