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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [fbeq.cgs] - Blame information for rev 840

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for fbeq $FCCi,$hint,$label16
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global fbeq
9
fbeq:
10
        set_fcc         0x0 0
11
        fbeq            fcc0,0,bad
12
        set_fcc         0x1 1
13
        fbeq            fcc1,1,bad
14
        set_fcc         0x2 2
15
        fbeq            fcc2,2,bad
16
        set_fcc         0x3 3
17
        fbeq            fcc3,3,bad
18
        set_fcc         0x4 0
19
        fbeq            fcc0,0,bad
20
        set_fcc         0x5 1
21
        fbeq            fcc1,1,bad
22
        set_fcc         0x6 2
23
        fbeq            fcc2,2,bad
24
        set_fcc         0x7 3
25
        fbeq            fcc3,3,bad
26
        set_fcc         0x8 0
27
        fbeq            fcc0,0,ok9
28
        fail
29
ok9:
30
        set_fcc         0x9 1
31
        fbeq            fcc1,1,oka
32
        fail
33
oka:
34
        set_fcc         0xa 2
35
        fbeq            fcc2,2,okb
36
        fail
37
okb:
38
        set_fcc         0xb 3
39
        fbeq            fcc3,3,okc
40
        fail
41
okc:
42
        set_fcc         0xc 0
43
        fbeq            fcc0,0,okd
44
        fail
45
okd:
46
        set_fcc         0xd 1
47
        fbeq            fcc1,1,oke
48
        fail
49
oke:
50
        set_fcc         0xe 2
51
        fbeq            fcc2,2,okf
52
        fail
53
okf:
54
        set_fcc         0xf 3
55
        fbeq            fcc3,3,okg
56
        fail
57
okg:
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.