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

Subversion Repositories openrisc

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

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

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