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

Subversion Repositories openrisc

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

powered by: WebSVN 2.1.0

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