picojava assembler and disassembler fixes
[deliverable/binutils-gdb.git] / gas / testsuite / gas / pj / ops.d
CommitLineData
2ef5e2a1
ILT
1#objdump: -dr
2#name: pj
3#as
4
5# test all the instructions
6
6040cc9d 7.*: +file format elf32-pj
2ef5e2a1
ILT
8
9Disassembly of section .text:
10
1100000000 <foo0-0x1>:
12 ...
13
1400000001 <foo0>:
15 ...
16
1700000002 <foo1>:
18 ...
19
2000000003 <foo2>:
21 ...
22
2300000004 <foo3>:
24 ...
25
2600000005 <foo4>:
27 ...
28
2900000006 <foo5>:
30 ...
31
3200000007 <foo6>:
33 ...
34
3500000008 <foo7>:
36 ...
37
3800000009 <foo8>:
39 ...
40
410000000a <foo9>:
42 ...
43
440000000b <foo10>:
45 ...
46
470000000c <foo11>:
48 ...
49
500000000d <foo12>:
51 ...
52
530000000e <foo13>:
54 ...
55
560000000f <foo14>:
57 ...
58
5900000010 <foo15>:
60 ...
61
6200000011 <foo16>:
63 ...
64
6500000012 <foo17>:
66 ...
67
6800000013 <foo18>:
69 ...
70
7100000014 <foo19>:
72 14: 00 nop
73 15: 01 aconst_null
74 16: 02 iconst_m1
75 17: 03 iconst_0
76 18: 04 iconst_1
77 19: 05 iconst_2
78 1a: 06 iconst_3
79 1b: 07 iconst_4
80 1c: 08 iconst_5
81 1d: 09 lconst_0
82 1e: 0a lconst_1
83 1f: 0b fconst_0
84 20: 0c fconst_1
85 21: 0d fconst_2
86 22: 0e dconst_0
87 23: 0f dconst_1
88 24: 10 e7 bipush -25
89 26: 11 a3 c6 sipush -23610
90 29: 12 00 ldc
91 2b: 13 00 00 ldc_w
92 2e: 14 00 00 ldc2_w
93 31: 15 69 iload 105
94 33: 16 73 lload 115
95 35: 17 51 fload 81
96 37: 18 ff dload 255
97 39: 19 4a aload 74
98 3b: 1a iload_0
99 3c: 1b iload_1
100 3d: 1c iload_2
101 3e: 1d iload_3
102 3f: 1e lload_0
103 40: 1f lload_1
104 41: 20 lload_2
105 42: 21 lload_3
106 43: 22 fload_0
107 44: 23 fload_1
108 45: 24 fload_2
109 46: 25 fload_3
110 47: 26 dload_0
111 48: 27 dload_1
112 49: 28 dload_2
113 4a: 29 dload_3
114 4b: 2a aload_0
115 4c: 2b aload_1
116 4d: 2c aload_2
117 4e: 2d aload_3
118 4f: 2e iaload
119 50: 2f laload
120 51: 30 faload
121 52: 31 daload
122 53: 32 aaload
123 54: 33 baload
124 55: 34 caload
125 56: 35 saload
126 57: 36 ec istore 236
127 59: 37 29 lstore 41
128 5b: 38 cd fstore 205
129 5d: 39 ba dstore 186
130 5f: 3a ab astore 171
131 61: 3b istore_0
132 62: 3c istore_1
133 63: 3d istore_2
134 64: 3e istore_3
135 65: 3f lstore_0
136 66: 40 lstore_1
137 67: 41 lstore_2
138 68: 42 lstore_3
139 69: 43 fstore_0
140 6a: 44 fstore_1
141 6b: 45 fstore_2
142 6c: 46 fstore_3
143 6d: 47 dstore_0
144 6e: 48 dstore_1
145 6f: 49 dstore_2
146 70: 4a dstore_3
147 71: 4b astore_0
148 72: 4c astore_1
149 73: 4d astore_2
150 74: 4e astore_3
151 75: 4f iastore
152 76: 50 lastore
153 77: 51 fastore
154 78: 52 dastore
155 79: 53 aastore
156 7a: 54 bastore
157 7b: 55 castore
158 7c: 56 sastore
159 7d: 57 pop
160 7e: 58 pop2
161 7f: 59 dup
162 80: 5a dup_x1
163 81: 5b dup_x2
164 82: 5c dup2
165 83: 5d dup2_x1
166 84: 5e dup2_x2
167 85: 5f swap
168 86: 60 iadd
169 87: 61 ladd
170 88: 62 fadd
171 89: 63 dadd
172 8a: 64 isub
173 8b: 65 lsub
174 8c: 66 fsub
175 8d: 67 dsub
176 8e: 68 imul
177 8f: 69 lmul
178 90: 6a fmul
179 91: 6b dmul
180 92: 6c idiv
181 93: 6d ldiv
182 94: 6e fdiv
183 95: 6f ddiv
184 96: 70 irem
185 97: 71 lrem
186 98: 72 frem
187 99: 73 drem
188 9a: 74 ineg
189 9b: 75 lneg
190 9c: 76 fneg
191 9d: 77 dneg
192 9e: 78 ishl
193 9f: 79 lshl
194 a0: 7a ishr
195 a1: 7b lshr
196 a2: 7c iushr
197 a3: 7d lushr
198 a4: 7e iand
199 a5: 7f land
200 a6: 80 ior
201 a7: 81 lor
202 a8: 82 ixor
203 a9: 83 lxor
204 aa: 84 f2 7b iinc 242,123
205 ad: 85 i2l
206 ae: 86 i2f
207 af: 87 i2d
208 b0: 88 l2i
209 b1: 89 l2f
210 b2: 8a l2d
211 b3: 8b f2i
212 b4: 8c f2l
213 b5: 8d f2d
214 b6: 8e d2i
215 b7: 8f d2l
216 b8: 90 d2f
217 b9: 91 i2b
218 ba: 92 i2c
219 bb: 93 i2s
220 bc: 94 lcmp
221 bd: 95 fcmpl
222 be: 96 fcmpg
223 bf: 97 dcmpl
224 c0: 98 dcmpg
ded5cb94
AM
225 c1: 99 ff 41 ifeq 2 <foo1>
226 c4: 9a ff 47 ifne b <foo10>
227 c7: 9b ff 41 iflt 8 <foo7>
228 ca: 9c ff 48 ifge 12 <foo17>
229 cd: 9d ff 39 ifgt 6 <foo5>
230 d0: 9e ff 3a ifle a <foo9>
231 d3: 9f ff 38 if_icmpeq b <foo10>
232 d6: a0 ff 3a if_icmpne 10 <foo15>
233 d9: a1 ff 30 if_icmplt 9 <foo8>
234 dc: a2 ff 31 if_icmpge d <foo12>
235 df: a3 ff 29 if_icmpgt 8 <foo7>
236 e2: a4 ff 2b if_icmple d <foo12>
237 e5: a5 ff 22 if_acmpeq 7 <foo6>
238 e8: a6 ff 20 if_acmpne 8 <foo7>
239 eb: a7 ff 1b goto 6 <foo5>
240 ee: a8 ff 13 jsr 1 <foo0>
241 f1: a9 00 ret 0
2ef5e2a1
ILT
242 f3: aa ff ff ff tableswitch default: .*
243 f7: 0f 00 00 00
244 fb: 01 00 00 00
245 ff: 05 ff ff ff
246 103: 14 ff ff ff
247 107: 12 ff ff ff
248 10b: 1f ff ff ff
249 10f: 14 ff ff ff
250 113: 12
251 114: ab 00 00 00 lookupswitch default: .*
252 118: ff ff fe f2
253 11c: 00 00 00 02
254 120: 00 00 00 07
255 124: ff ff fe fb
256 128: 00 00 00 25
257 12c: ff ff fe fc
258 130: ac ireturn
259 131: ad lreturn
260 132: ae freturn
261 133: af dreturn
262 134: b0 areturn
263 135: b1 return
ded5cb94
AM
264 136: b2 12 34 getstatic 4660
265 139: b3 12 34 putstatic 4660
266 13c: b4 12 34 getfield 4660
267 13f: b5 12 34 putfield 4660
268 142: b6 12 34 invokevirtual 4660
269 145: b7 12 34 invokespecial 4660
270 148: b8 12 34 invokestatic 4660
271 14b: b9 12 34 01 invokeinterface 4660,1
2ef5e2a1
ILT
272 14f: 00
273 150: bb 00 00 new
274 153: bc 00 newarray
275 155: bd 00 00 anewarray
276 158: be arraylength
277 159: bf athrow
278 15a: c0 00 00 checkcast
279 15d: c1 00 00 instanceof
280 160: c2 monitorenter
281 161: c3 monitorexit
282 162: c4 wide
283 163: c5 00 00 00 multianewarray
284 167: c6 00 00 ifnull
285 16a: c7 00 00 ifnonnull
ded5cb94
AM
286 16d: c8 ff ff fe goto_w 2 <foo1>
287 171: 95
288 172: c9 ff ff fe jsr_w 2 <foo1>
289 176: 90
290 177: ca 00 00 breakpoint
291 17a: ed b0 a3 sethi -20317
292 17d: ee 5a a5 load_word_index 90,165
293 180: ef 5d 85 load_short_index 93,133
294 183: f0 17 d8 load_char_index 23,216
295 186: f1 e9 de load_byte_index 233,222
296 189: f2 d4 2b load_ubyte_index 212,43
297 18c: f3 b2 4d store_word_index 178,77
298 18f: f4 c6 1b na_store_word_index 198,27
299 192: f5 b4 d4 store_short_index 180,212
300 195: f6 11 8e store_byte_index 17,142
301 198: ff 00 load_ubyte
302 19a: ff 01 load_byte
303 19c: ff 02 load_char
304 19e: ff 03 load_short
305 1a0: ff 04 load_word
306 1a2: ff 05 priv_ret_from_trap
307 1a4: ff 06 priv_read_dcache_tag
308 1a6: ff 07 priv_read_dcache_data
309 1a8: ff 0a load_char_oe
310 1aa: ff 0b load_short_oe
311 1ac: ff 0c load_word_oe
312 1ae: ff 0d return0
313 1b0: ff 0e priv_read_icache_tag
314 1b2: ff 0f priv_read_icache_data
315 1b4: ff 10 ncload_ubyte
316 1b6: ff 11 ncload_byte
317 1b8: ff 12 ncload_char
318 1ba: ff 13 ncload_short
319 1bc: ff 14 ncload_word
320 1be: ff 15 iucmp
321 1c0: ff 16 priv_powerdown
322 1c2: ff 17 cache_invalidate
323 1c4: ff 1a ncload_char_oe
324 1c6: ff 1b ncload_short_oe
325 1c8: ff 1c ncload_word_oe
326 1ca: ff 1d return1
327 1cc: ff 1e cache_flush
328 1ce: ff 1f cache_index_flush
329 1d0: ff 20 store_byte
330 1d2: ff 22 store_short
331 1d4: ff 24 store_word
332 1d6: ff 25 soft_trap
333 1d8: ff 26 priv_write_dcache_tag
334 1da: ff 27 priv_write_dcache_data
335 1dc: ff 2a store_short_oe
336 1de: ff 2c store_word_oe
337 1e0: ff 2d return2
338 1e2: ff 2e priv_write_icache_tag
339 1e4: ff 2f priv_write_icache_data
340 1e6: ff 30 ncstore_byte
341 1e8: ff 32 ncstore_short
342 1ea: ff 34 ncstore_word
343 1ec: ff 36 priv_reset
344 1ee: ff 37 get_current_class
345 1f0: ff 3a ncstore_short_oe
346 1f2: ff 3c ncstore_word_oe
347 1f4: ff 3d call
348 1f6: ff 3e zero_line
349 1f8: ff 3f priv_update_optop
350 1fa: ff 40 read_pc
351 1fc: ff 41 read_vars
352 1fe: ff 42 read_frame
353 200: ff 43 read_optop
354 202: ff 44 priv_read_oplim
355 204: ff 45 read_const_pool
356 206: ff 46 priv_read_psr
357 208: ff 47 priv_read_trapbase
358 20a: ff 48 priv_read_lockcount0
359 20c: ff 49 priv_read_lockcount1
360 20e: ff 4c priv_read_lockaddr0
361 210: ff 4d priv_read_lockaddr1
362 212: ff 50 priv_read_userrange1
363 214: ff 51 priv_read_gc_config
364 216: ff 52 priv_read_brk1a
365 218: ff 53 priv_read_brk2a
366 21a: ff 54 priv_read_brk12c
367 21c: ff 55 priv_read_userrange2
368 21e: ff 57 priv_read_versionid
369 220: ff 58 priv_read_hcr
370 222: ff 59 priv_read_sc_bottom
371 224: ff 5a read_global0
372 226: ff 5b read_global1
373 228: ff 5c read_global2
374 22a: ff 5d read_global3
375 22c: ff 60 write_pc
376 22e: ff 61 write_vars
377 230: ff 62 write_frame
378 232: ff 63 write_optop
379 234: ff 64 priv_write_oplim
380 236: ff 65 write_const_pool
381 238: ff 66 priv_write_psr
382 23a: ff 67 priv_write_trapbase
383 23c: ff 68 priv_write_lockcount0
384 23e: ff 69 priv_write_lockcount1
385 240: ff 6c priv_write_lockaddr0
386 242: ff 6d priv_write_lockaddr1
387 244: ff 70 priv_write_userrange1
388 246: ff 71 priv_write_gc_config
389 248: ff 72 priv_write_brk1a
390 24a: ff 73 priv_write_brk2a
391 24c: ff 74 priv_write_brk12c
392 24e: ff 75 priv_write_userrange2
393 250: ff 79 priv_write_sc_bottom
394 252: ff 7a write_global0
395 254: ff 7b write_global1
396 256: ff 7c write_global2
397 258: ff 7d write_global3
This page took 1.305303 seconds and 4 git commands to generate.