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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sh/] [sh64/] [basic-1.s] - Blame information for rev 856

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

Line No. Rev Author Line
1 38 julius
! Various straightforward insn tests, one per insns basic insn format.
2
! No insns with strange relocs.  The insns are from the alphabetical list
3
! in SH-5/ST50-023-04.
4
 
5
        .text
6
start:
7
        add     r3,r25,r43
8
        add.l   r13,r2,r62
9
        addi    r44,500,r33
10
        addi.l  r21,-500,r43
11
        addz.l  r51,r42,r30
12
        alloco  r19,960
13
        and     r8,r57,r12
14
        andc    r48,r35,r18
15
        andi    r24,509,r38
16
        beq     r23,r37,tr2
17
        beq/l   r23,r27,tr4
18
        beq/u   r3,r47,tr6
19
        beqi    r4,30,tr5
20
        beqi/l  r4,-31,tr0
21
        beqi/u  r54,-23,tr2
22
        bge     r0,r63,tr7
23
        bge/l   r10,r6,tr4
24
        bge/u   r11,r36,tr1
25
        bgeu    r30,r43,tr3
26
        bgeu/l  r10,r26,tr5
27
        bgeu/u  r51,r36,tr2
28
        bgt     r33,r44,tr7
29
        bgt/l   r17,r62,tr4
30
        bgt/u   r15,r6,tr1
31
        bgtu    r34,r27,tr6
32
        bgtu/l  r28,r62,tr0
33
        bgtu/u  r18,r25,tr5
34
        blink   tr1,r38
35
        bne     r62,r47,tr0
36
        bne/l   r29,r22,tr1
37
        bne/u   r39,r47,tr6
38
        bnei    r14,-13,tr7
39
        bnei/l  r24,31,tr3
40
        bnei/u  r54,-22,tr2
41
        brk
42
        byterev r21,r12
43
        cmpeq   r10,r11,r21
44
        cmpgt   r30,r31,r51
45
        cmpgtu  r23,r33,r45
46
        cmveq   r32,r3,r44
47
        cmvne   r13,r60,r4
48
        fabs.d  dr22,dr62
49
        fabs.s  fr59,fr25
50
        fadd.d  dr40,dr60,dr20
51
        fadd.s  fr41,fr59,fr19
52
        fcmpeq.d        dr4,dr50,r57
53
        fcmpeq.s        fr47,fr30,r17
54
        fcmpge.d        dr44,dr52,r20
55
        fcmpge.s        fr37,fr23,r32
56
        fcmpgt.d        dr20,dr28,r51
57
        fcmpgt.s        fr47,fr21,r22
58
        fcmpun.d        dr32,dr58,r47
59
        fcmpun.s        fr21,fr42,r12
60
        fcnv.ds dr40,fr21
61
        fcnv.sd fr43,dr32
62
        fdiv.d  dr34,dr56,dr20
63
        fdiv.s  fr13,fr26,fr19
64
        fgetscr fr39
65
        fipr.s  fv0,fv8,fr39
66
        fld.d   r31,2000,dr48
67
        fld.p   r53,-3000,fp38
68
        fld.s   r53,2036,fr53
69
        fldx.d  r23,r42,dr2
70
        fldx.p  r2,r22,fp32
71
        fldx.s  r27,r58,fr12
72
        float.ld        fr5,dr28
73
        float.ls        fr55,fr36
74
        float.qd        dr44,dr16
75
        float.qs        dr30,fr11
76
        fmac.s  fr40,fr37,fr4
77
        fmov.d  dr8,dr40
78
        fmov.dq dr58,r34
79
        fmov.ls r25,fr52
80
        fmov.qd r45,dr50
81
        fmov.s  fr4,fr55
82
        fmov.sl fr14,r15
83
        fmul.d  dr24,dr58,dr42
84
        fmul.s  fr27,fr32,fr34
85
        fneg.d  dr2,dr0
86
        fneg.s  fr0,fr33
87
        fputscr fr44
88
        fsqrt.d dr30,dr44
89
        fsqrt.s fr3,fr23
90
        fst.d   r3,4000,dr2
91
        fst.p   r54,-4008,fp12
92
        fst.s   r18,-2012,fr23
93
        fstx.d  r18,r46,dr12
94
        fstx.p  r38,r26,fp52
95
        fstx.s  r7,r23,fr26
96
        fsub.d  dr0,dr44,dr32
97
        fsub.s  fr3,fr62,fr3
98
        ftrc.dl dr38,fr53
99
        ftrc.sl fr58,fr49
100
        ftrc.dq dr14,dr26
101
        ftrc.sq fr60,dr22
102
        ftrv.s  mtrx16,fv32,fv28
103
        getcfg  r5,-11,r62
104
        getcon  cr52,r16
105
        gettr   tr6,r26
106
        icbi    r48,-960
107
        ld.b    r50,3,r62
108
        ld.l    r5,-604,r22
109
        ld.q    r35,-1608,r42
110
        ld.ub   r53,-201,r2
111
        ld.uw   r23,-402,r42
112
        ld.w    r46,302,r11
113
        ldhi.l  r6,-30,r41
114
        ldhi.q  r36,31,r31
115
        ldlo.l  r19,20,r48
116
        ldlo.q  r9,-32,r29
117
        ldx.b   r5,r3,r47
118
        ldx.l   r25,r43,r14
119
        ldx.q   r12,r60,r41
120
        ldx.ub  r13,r0,r1
121
        ldx.uw  r13,r2,r17
122
        ldx.w   r10,r22,r60
123
        mabs.l  r7,r33
124
        mabs.w  r37,r34
125
        madd.l  r34,r32,r7
126
        madd.w  r23,r53,r17
127
        madds.l r24,r23,r9
128
        madds.ub        r34,r23,r49
129
        madds.w r4,r2,r59
130
        mcmpeq.b        r22,r56,r31
131
        mcmpeq.l        r21,r45,r61
132
        mcmpeq.w        r32,r54,r1
133
        mcmpgt.l        r3,r4,r19
134
        mcmpgt.ub       r34,r54,r13
135
        mcmpgt.w        r23,r5,r3
136
        mcmv    r62,r50,r30
137
        mcnvs.lw        r2,r5,r0
138
        mcnvs.wb        r21,r7,r10
139
        mcnvs.wub       r23,r47,r13
140
        mextr1  r4,r41,r7
141
        mextr2  r32,r4,r47
142
        mextr3  r25,r46,r27
143
        mextr4  r52,r6,r2
144
        mextr5  r21,r16,r21
145
        mextr6  r24,r62,r42
146
        mextr7  r57,r46,r23
147
        mmacfx.wl       r5,r4,r2
148
        mmacnfx.wl      r11,r44,r22
149
        mmul.l  r22,r33,r44
150
        mmul.w  r12,r35,r47
151
        mmulfx.l        r61,r37,r48
152
        mmulfx.w        r1,r7,r5
153
        mmulfxrp.w      r10,r37,r50
154
        mmulhi.wl       r0,r7,r55
155
        mmullo.wl       r10,r27,r35
156
        mmulsum.wq      r41,r32,r37
157
        movi    -123,r43
158
        mperm.w r57,r32,r4
159
        msad.ubq        r5,r23,r20
160
        mshalds.l       r35,r12,r20
161
        mshalds.w       r43,r52,r30
162
        mshard.l        r4,r23,r40
163
        mshard.w        r24,r62,r10
164
        mshards.q       r2,r16,r50
165
        mshfhi.b        r42,r6,r60
166
        mshfhi.l        r52,r18,r59
167
        mshfhi.w        r8,r31,r46
168
        mshflo.b        r28,r39,r41
169
        mshflo.l        r29,r38,r43
170
        mshflo.w        r30,r37,r44
171
        mshlld.l        r31,r36,r46
172
        mshlld.w        r32,r35,r47
173
        mshlrd.l        r33,r34,r49
174
        mshlrd.w        r34,r33,r50
175
        msub.l  r35,r32,r52
176
        msub.w  r36,r31,r53
177
        msubs.l r37,r30,r55
178
        msubs.ub        r38,r29,r56
179
        msubs.w r39,r28,r58
180
        mulu.l  r61,r41,r26
181
        nop
182
        nsb     r60,r42
183
        ocbi    r43,-992
184
        ocbp    r40,-1024
185
        ocbwb   r44,992
186
        or      r59,r3,r40
187
        ori     r58,313,r40
188
        prefi   r57,-32
189
! Note: pta, ptb are not here.
190
        ptabs   r56,tr6
191
        ptabs/l r63,tr6
192
        ptabs/u r60,tr6
193
        ptrel   r55,tr3
194
        ptrel/l r15,tr3
195
        ptrel/u r63,tr3
196
        putcfg  r41,-11,r62
197
        putcon  r40,cr30
198
        rte
199
        shard   r50,r42,r19
200
        shard.l r52,r41,r20
201
        shari   r53,40,r21
202
        shari.l r55,39,r22
203
        shlld   r56,r38,r23
204
        shlld.l r57,r37,r24
205
        shlli   r60,36,r25
206
        shlli.l r61,31,r26
207
        shlrd   r63,r34,r27
208
        shlrd.l r0,r33,r28
209
        shlri   r2,32,r29
210
        shlri.l r3,31,r30
211
        shori   65500,r13
212
        sleep
213
        st.b    r5,501,r29
214
        st.l    r6,1996,r31
215
        st.q    r7,4008,r32
216
        st.w    r9,1002,r33
217
        sthi.l  r10,-20,r43
218
        sthi.q  r12,23,r44
219
        stlo.l  r13,-27,r45
220
        stlo.q  r15,21,r46
221
        stx.b   r16,r29,r47
222
        stx.l   r17,r50,r48
223
        stx.q   r19,r49,r49
224
        stx.w   r20,r15,r50
225
        sub     r22,r29,r51
226
        sub.l   r23,r28,r52
227
        swap.q  r25,r27,r53
228
        synci
229
        synco
230
        trapa   r26
231
        xor     r28,r26,r54
232
        xori    r29,31,r55
233
        muls.l  r7,r53,r17

powered by: WebSVN 2.1.0

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