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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [frv/] [bhi.cgs] - Blame information for rev 847

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

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

powered by: WebSVN 2.1.0

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