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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh/] [bldnot.s] - Blame information for rev 840

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for bldnot
2
# mach:  all
3
# as(sh):       -defsym sim_cpu=0
4
# as(shdsp):    -defsym sim_cpu=1 -dsp
5
 
6
        .include "testutils.inc"
7
 
8
        .align 2
9
_x:     .long   0xa5a5a5a5
10
_y:     .long   0x55555555
11
 
12
        start
13
 
14
bldnot_b_imm_disp12_reg:
15
        set_grs_a5a5
16
        mov.l   x, r1
17
 
18
        bldnot.b        #0, @(0, r1)
19
        bt8k    mfail
20
        bldnot.b        #1, @(0, r1)
21
        bf8k    mfail
22
        bldnot.b        #2, @(0, r1)
23
        bt8k    mfail
24
        bldnot.b        #3, @(0, r1)
25
        bf8k    mfail
26
 
27
        bldnot.b        #4, @(0, r1)
28
        bf8k    mfail
29
        bldnot.b        #5, @(0, r1)
30
        bt8k    mfail
31
        bldnot.b        #6, @(0, r1)
32
        bf8k    mfail
33
        bldnot.b        #7, @(0, r1)
34
        bt8k    mfail
35
 
36
        bldnot.b        #0, @(1, r1)
37
        bt8k    mfail
38
        bldnot.b        #1, @(1, r1)
39
        bf8k    mfail
40
        bldnot.b        #2, @(1, r1)
41
        bt8k    mfail
42
        bldnot.b        #3, @(1, r1)
43
        bf8k    mfail
44
 
45
        bldnot.b        #4, @(1, r1)
46
        bf8k    mfail
47
        bldnot.b        #5, @(1, r1)
48
        bt8k    mfail
49
        bldnot.b        #6, @(1, r1)
50
        bf8k    mfail
51
        bldnot.b        #7, @(1, r1)
52
        bt8k    mfail
53
 
54
        bldnot.b        #0, @(2, r1)
55
        bt8k    mfail
56
        bldnot.b        #1, @(2, r1)
57
        bf8k    mfail
58
        bldnot.b        #2, @(2, r1)
59
        bt8k    mfail
60
        bldnot.b        #3, @(2, r1)
61
        bf8k    mfail
62
 
63
        bldnot.b        #4, @(2, r1)
64
        bf8k    mfail
65
        bldnot.b        #5, @(2, r1)
66
        bt8k    mfail
67
        bldnot.b        #6, @(2, r1)
68
        bf8k    mfail
69
        bldnot.b        #7, @(2, r1)
70
        bt8k    mfail
71
 
72
        bldnot.b        #0, @(3, r1)
73
        bt8k    mfail
74
        bldnot.b        #1, @(3, r1)
75
        bf8k    mfail
76
        bldnot.b        #2, @(3, r1)
77
        bt8k    mfail
78
        bldnot.b        #3, @(3, r1)
79
        bf8k    mfail
80
 
81
        bldnot.b        #4, @(3, r1)
82
        bf8k    mfail
83
        bldnot.b        #5, @(3, r1)
84
        bt8k    mfail
85
        bldnot.b        #6, @(3, r1)
86
        bf8k    mfail
87
        bldnot.b        #7, @(3, r1)
88
        bt8k    mfail
89
 
90
        assertreg _x, r1
91
        set_greg 0xa5a5a5a5, r1
92
 
93
        test_grs_a5a5
94
 
95
        pass
96
 
97
        exit 0
98
 
99
        .align 2
100
x:      .long   _x
101
y:      .long   _y
102
 

powered by: WebSVN 2.1.0

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