Add support for disassembling WebAssembly opcodes.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / wasm32 / allinsn.d
1 #as:
2 #objdump: -d
3 #name: allinsn
4
5 .*: +file format .*
6
7
8 Disassembly of section .text:
9
10 00000000 <.text>:
11 0: 02 40 block\[\]
12 2: 0c 00 br 0
13 4: 0d 00 br_if 0
14 6: 0e 01 01 01 br_table 1 1 1
15 a: 10 00 call 0x0
16 c: 11 00 00 call_indirect 0 0
17 f: 1a drop
18 10: 05 else
19 11: 0b end
20 12: 8b f32.abs
21 13: 92 f32.add
22 14: 8d f32.ceil
23 15: 43 d0 0f 49 f32.const 3.141590118408203125
24 19: 40
25 1a: b2 f32.convert_s/i32
26 1b: b4 f32.convert_s/i64
27 1c: b3 f32.convert_u/i32
28 1d: b5 f32.convert_u/i64
29 1e: 98 f32.copysign
30 1f: b6 f32.demote/f64
31 20: 95 f32.div
32 21: 5b f32.eq
33 22: 8e f32.floor
34 23: 60 f32.ge
35 24: 5e f32.gt
36 25: 5f f32.le
37 26: 2a 00 00 f32.load a=0 0
38 29: 5d f32.lt
39 2a: 97 f32.max
40 2b: 96 f32.min
41 2c: 94 f32.mul
42 2d: 5c f32.ne
43 2e: 90 f32.nearest
44 2f: 8c f32.neg
45 30: be f32.reinterpret/i32
46 31: 91 f32.sqrt
47 32: 38 00 00 f32.store a=0 0
48 35: 93 f32.sub
49 36: 8f f32.trunc
50 37: 99 f64.abs
51 38: a0 f64.add
52 39: 9b f64.ceil
53 3a: 44 97 5f 4f f64.const 3.14158999999999976088e\+200
54 3e: fd bc 6a 90
55 42: 69
56 43: b7 f64.convert_s/i32
57 44: b9 f64.convert_s/i64
58 45: b8 f64.convert_u/i32
59 46: ba f64.convert_u/i64
60 47: a6 f64.copysign
61 48: a3 f64.div
62 49: 61 f64.eq
63 4a: 9c f64.floor
64 4b: 66 f64.ge
65 4c: 64 f64.gt
66 4d: 65 f64.le
67 4e: 2b 00 00 f64.load a=0 0
68 51: 63 f64.lt
69 52: a5 f64.max
70 53: a4 f64.min
71 54: a2 f64.mul
72 55: 62 f64.ne
73 56: 9e f64.nearest
74 57: 9a f64.neg
75 58: bb f64.promote/f32
76 59: bf f64.reinterpret/i64
77 5a: 9f f64.sqrt
78 5b: 39 00 00 f64.store a=0 0
79 5e: a1 f64.sub
80 5f: 9d f64.trunc
81 60: 23 00 get_global 0
82 62: 20 00 get_local 0
83 64: 6a i32.add
84 65: 71 i32.and
85 66: 67 i32.clz
86 67: 41 ef fd b6 i32.const 3735928559
87 6b: f5 0d
88 6d: 68 i32.ctz
89 6e: 6d i32.div_s
90 6f: 6e i32.div_u
91 70: 46 i32.eq
92 71: 45 i32.eqz
93 72: 4e i32.ge_s
94 73: 4f i32.ge_u
95 74: 4a i32.gt_s
96 75: 4b i32.gt_u
97 76: 4c i32.le_s
98 77: 4d i32.le_u
99 78: 28 00 00 i32.load a=0 0
100 7b: 2e 00 00 i32.load16_s a=0 0
101 7e: 2f 00 00 i32.load16_u a=0 0
102 81: 2c 00 00 i32.load8_s a=0 0
103 84: 2d 00 00 i32.load8_u a=0 0
104 87: 48 i32.lt_s
105 88: 49 i32.lt_u
106 89: 6c i32.mul
107 8a: 47 i32.ne
108 8b: 72 i32.or
109 8c: 69 i32.popcnt
110 8d: bc i32.reinterpret/f32
111 8e: 6f i32.rem_s
112 8f: 70 i32.rem_u
113 90: 77 i32.rotl
114 91: 78 i32.rotr
115 92: 74 i32.shl
116 93: 75 i32.shr_s
117 94: 76 i32.shr_u
118 95: 36 00 00 i32.store a=0 0
119 98: 3b 00 00 i32.store16 a=0 0
120 9b: 3a 00 00 i32.store8 a=0 0
121 9e: 6b i32.sub
122 9f: a8 i32.trunc_s/f32
123 a0: aa i32.trunc_s/f64
124 a1: a9 i32.trunc_u/f32
125 a2: ab i32.trunc_u/f64
126 a3: a7 i32.wrap/i64
127 a4: 73 i32.xor
128 a5: 7c i64.add
129 a6: 83 i64.and
130 a7: 79 i64.clz
131 a8: 42 ef fd b6 i64.const -2401053088876216593
132 ac: f5 fd dd ef
133 b0: d6 5e
134 b2: 7a i64.ctz
135 b3: 7f i64.div_s
136 b4: 80 i64.div_u
137 b5: 51 i64.eq
138 b6: 50 i64.eqz
139 b7: ac i64.extend_s/i32
140 b8: ad i64.extend_u/i32
141 b9: 59 i64.ge_s
142 ba: 5a i64.ge_u
143 bb: 55 i64.gt_s
144 bc: 56 i64.gt_u
145 bd: 57 i64.le_s
146 be: 58 i64.le_u
147 bf: 29 00 00 i64.load a=0 0
148 c2: 32 00 00 i64.load16_s a=0 0
149 c5: 33 00 00 i64.load16_u a=0 0
150 c8: 34 00 00 i64.load32_s a=0 0
151 cb: 35 00 00 i64.load32_u a=0 0
152 ce: 30 00 00 i64.load8_s a=0 0
153 d1: 31 00 00 i64.load8_u a=0 0
154 d4: 53 i64.lt_s
155 d5: 54 i64.lt_u
156 d6: 7e i64.mul
157 d7: 52 i64.ne
158 d8: 84 i64.or
159 d9: 7b i64.popcnt
160 da: bd i64.reinterpret/f64
161 db: 81 i64.rem_s
162 dc: 82 i64.rem_u
163 dd: 89 i64.rotl
164 de: 8a i64.rotr
165 df: 86 i64.shl
166 e0: 87 i64.shr_s
167 e1: 88 i64.shr_u
168 e2: 37 00 00 i64.store a=0 0
169 e5: 3d 00 00 i64.store16 a=0 0
170 e8: 3e 00 00 i64.store32 a=0 0
171 eb: 3c 00 00 i64.store8 a=0 0
172 ee: 7d i64.sub
173 ef: ae i64.trunc_s/f32
174 f0: b0 i64.trunc_s/f64
175 f1: af i64.trunc_u/f32
176 f2: b1 i64.trunc_u/f64
177 f3: 85 i64.xor
178 f4: 04 7f if\[i\]
179 f6: 03 7e loop\[l\]
180 f8: 01 nop
181 f9: 0f return
182 fa: 1b select
183 fb: 24 00 set_global 0
184 fd: 21 00 set_local 0
185 ff: 60 f32.ge
186 100: 08 .byte 0x08
187
188 101: 7f i64.div_s
189 102: 7e i64.mul
190 103: 7c i64.add
191 104: 7d i64.sub
192 105: 7d i64.sub
193 106: 7c i64.add
194 107: 7e i64.mul
195 108: 7f i64.div_s
196 109: 00 unreachable
197 10a: 22 00 tee_local 0
198 ...
This page took 0.117948 seconds and 4 git commands to generate.