2 # HPPA instruction decode definitions.
4 # Copyright (c) 2018 Richard Henderson <rth@twiddle.net>
6 # This library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public
8 # License as published by the Free Software Foundation; either
9 # version 2 of the License, or (at your option) any later version.
11 # This library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this library; if not, see <http://www.gnu.org/licenses/>.
24 %assemble_sr3 13:1 14:2
25 %assemble_sr3x 13:1 14:2 !function=expand_sr3x
27 %assemble_11a 0:s1 4:10 !function=expand_shl3
28 %assemble_12 0:s1 2:1 3:10 !function=expand_shl2
29 %assemble_12a 0:s1 3:11 !function=expand_shl2
30 %assemble_17 0:s1 16:5 2:1 3:10 !function=expand_shl2
31 %assemble_22 0:s1 16:10 2:1 3:10 !function=expand_shl2
33 %assemble_21 0:s1 1:11 14:2 16:5 12:2 !function=expand_shl11
38 %sm_imm 16:10 !function=expand_sm_imm
49 %ma_to_m 5:1 13:1 !function=ma_to_m
50 %ma2_to_m 2:2 !function=ma_to_m
51 %pos_to_m 0:1 !function=pos_to_m
52 %neg_to_m 0:1 !function=neg_to_m
53 %a_to_m 2:1 !function=neg_to_m
56 # Argument set definitions
59 # All insns that need to form a virtual address should use this set.
60 &ldst t b x disp sp m scale size
64 &rrr_cf_sh t r1 r2 cf sh
67 &rrb_c_f disp n c f r1 r2
68 &rib_c_f disp n c f r i
74 @rr_cf ...... r:5 ..... cf:4 ....... t:5 &rr_cf
75 @rrr_cf ...... r2:5 r1:5 cf:4 ....... t:5 &rrr_cf
76 @rrr_cf_sh ...... r2:5 r1:5 cf:4 .... sh:2 . t:5 &rrr_cf_sh
77 @rrr_cf_sh0 ...... r2:5 r1:5 cf:4 ....... t:5 &rrr_cf_sh sh=0
78 @rri_cf ...... r:5 t:5 cf:4 . ........... &rri_cf i=%lowsign_11
80 @rrb_cf ...... r2:5 r1:5 c:3 ........... n:1 . \
81 &rrb_c_f disp=%assemble_12
82 @rib_cf ...... r:5 ..... c:3 ........... n:1 . \
83 &rib_c_f disp=%assemble_12 i=%im5_16
89 break 000000 ----- ----- --- 00000000 -----
91 mtsp 000000 ----- r:5 ... 11000001 00000 sp=%assemble_sr3
92 mtctl 000000 t:5 r:5 --- 11000010 00000
93 mtsarcm 000000 01011 r:5 --- 11000110 00000
94 mtsm 000000 00000 r:5 000 11000011 00000
96 mfia 000000 ----- 00000 --- 10100101 t:5
97 mfsp 000000 ----- 00000 ... 00100101 t:5 sp=%assemble_sr3
98 mfctl 000000 r:5 00000- e:1 -01000101 t:5
100 sync 000000 ----- ----- 000 00100000 00000 # sync, syncdma
102 ldsid 000000 b:5 ----- sp:2 0 10000101 t:5
104 rsm 000000 .......... 000 01110011 t:5 i=%sm_imm
105 ssm 000000 .......... 000 01101011 t:5 i=%sm_imm
107 rfi 000000 ----- ----- --- 01100000 00000
108 rfi_r 000000 ----- ----- --- 01100101 00000
110 # These are artificial instructions used by QEMU firmware.
111 # They are allocated from the unassigned instruction space.
112 halt 1111 1111 1111 1101 1110 1010 1101 0000
113 reset 1111 1111 1111 1101 1110 1010 1101 0001
119 @addrx ...... b:5 x:5 .. ........ m:1 ..... \
120 &ldst disp=0 scale=0 t=0 sp=0 size=0
122 nop 000001 ----- ----- -- 11001010 0 ----- # fdc, disp
123 nop_addrx 000001 ..... ..... -- 01001010 . ----- @addrx # fdc, index
124 nop_addrx 000001 ..... ..... -- 01001011 . ----- @addrx # fdce
125 nop_addrx 000001 ..... ..... --- 0001010 . ----- @addrx # fic 0x0a
126 nop_addrx 000001 ..... ..... -- 01001111 . 00000 @addrx # fic 0x4f
127 nop_addrx 000001 ..... ..... --- 0001011 . ----- @addrx # fice
128 nop_addrx 000001 ..... ..... -- 01001110 . 00000 @addrx # pdc
130 probe 000001 b:5 ri:5 sp:2 imm:1 100011 write:1 0 t:5
132 ixtlbx 000001 b:5 r:5 sp:2 0100000 addr:1 0 00000 data=1
133 ixtlbx 000001 b:5 r:5 ... 000000 addr:1 0 00000 \
134 sp=%assemble_sr3x data=0
136 pxtlbx 000001 b:5 x:5 sp:2 0100100 local:1 m:1 ----- data=1
137 pxtlbx 000001 b:5 x:5 ... 000100 local:1 m:1 ----- \
138 sp=%assemble_sr3x data=0
140 lpa 000001 b:5 x:5 sp:2 01001101 m:1 t:5 \
141 &ldst disp=0 scale=0 size=0
143 lci 000001 ----- ----- -- 01001100 0 t:5
149 andcm 000010 ..... ..... .... 000000 0 ..... @rrr_cf
150 and 000010 ..... ..... .... 001000 0 ..... @rrr_cf
151 or 000010 ..... ..... .... 001001 0 ..... @rrr_cf
152 xor 000010 ..... ..... .... 001010 0 ..... @rrr_cf
153 uxor 000010 ..... ..... .... 001110 0 ..... @rrr_cf
154 ds 000010 ..... ..... .... 010001 0 ..... @rrr_cf
155 cmpclr 000010 ..... ..... .... 100010 0 ..... @rrr_cf
156 uaddcm 000010 ..... ..... .... 100110 0 ..... @rrr_cf
157 uaddcm_tc 000010 ..... ..... .... 100111 0 ..... @rrr_cf
158 dcor 000010 ..... 00000 .... 101110 0 ..... @rr_cf
159 dcor_i 000010 ..... 00000 .... 101111 0 ..... @rr_cf
161 add 000010 ..... ..... .... 0110.. 0 ..... @rrr_cf_sh
162 add_l 000010 ..... ..... .... 1010.. 0 ..... @rrr_cf_sh
163 add_tsv 000010 ..... ..... .... 1110.. 0 ..... @rrr_cf_sh
164 add_c 000010 ..... ..... .... 011100 0 ..... @rrr_cf_sh0
165 add_c_tsv 000010 ..... ..... .... 111100 0 ..... @rrr_cf_sh0
167 sub 000010 ..... ..... .... 010000 0 ..... @rrr_cf
168 sub_tsv 000010 ..... ..... .... 110000 0 ..... @rrr_cf
169 sub_tc 000010 ..... ..... .... 010011 0 ..... @rrr_cf
170 sub_tsv_tc 000010 ..... ..... .... 110011 0 ..... @rrr_cf
171 sub_b 000010 ..... ..... .... 010100 0 ..... @rrr_cf
172 sub_b_tsv 000010 ..... ..... .... 110100 0 ..... @rrr_cf
174 ldil 001000 t:5 ..................... i=%assemble_21
175 addil 001010 r:5 ..................... i=%assemble_21
176 ldo 001101 b:5 t:5 -- .............. i=%lowsign_14
178 addi 101101 ..... ..... .... 0 ........... @rri_cf
179 addi_tsv 101101 ..... ..... .... 1 ........... @rri_cf
180 addi_tc 101100 ..... ..... .... 0 ........... @rri_cf
181 addi_tc_tsv 101100 ..... ..... .... 1 ........... @rri_cf
183 subi 100101 ..... ..... .... 0 ........... @rri_cf
184 subi_tsv 100101 ..... ..... .... 1 ........... @rri_cf
186 cmpiclr 100100 ..... ..... .... 0 ........... @rri_cf
192 @ldstx ...... b:5 x:5 sp:2 scale:1 ....... m:1 t:5 &ldst disp=0
193 @ldim5 ...... b:5 ..... sp:2 ......... t:5 \
194 &ldst disp=%im5_16 x=0 scale=0 m=%ma_to_m
195 @stim5 ...... b:5 t:5 sp:2 ......... ..... \
196 &ldst disp=%im5_0 x=0 scale=0 m=%ma_to_m
198 ld 000011 ..... ..... .. . 1 -- 00 size:2 ...... @ldim5
199 ld 000011 ..... ..... .. . 0 -- 00 size:2 ...... @ldstx
200 st 000011 ..... ..... .. . 1 -- 10 size:2 ...... @stim5
201 ldc 000011 ..... ..... .. . 1 -- 0111 ...... @ldim5 size=2
202 ldc 000011 ..... ..... .. . 0 -- 0111 ...... @ldstx size=2
203 lda 000011 ..... ..... .. . 1 -- 0110 ...... @ldim5 size=2
204 lda 000011 ..... ..... .. . 0 -- 0110 ...... @ldstx size=2
205 sta 000011 ..... ..... .. . 1 -- 1110 ...... @stim5 size=2
206 stby 000011 b:5 r:5 sp:2 a:1 1 -- 1100 m:1 ..... disp=%im5_0
208 @fldstwx ...... b:5 x:5 sp:2 scale:1 ....... m:1 ..... \
209 &ldst t=%rt64 disp=0 size=2
210 @fldstwi ...... b:5 ..... sp:2 . ....... . ..... \
211 &ldst t=%rt64 disp=%im5_16 m=%ma_to_m x=0 scale=0 size=2
213 fldw 001001 ..... ..... .. . 0 -- 000 . . ..... @fldstwx
214 fldw 001001 ..... ..... .. . 1 -- 000 . . ..... @fldstwi
215 fstw 001001 ..... ..... .. . 0 -- 100 . . ..... @fldstwx
216 fstw 001001 ..... ..... .. . 1 -- 100 . . ..... @fldstwi
218 @fldstdx ...... b:5 x:5 sp:2 scale:1 ....... m:1 t:5 \
220 @fldstdi ...... b:5 ..... sp:2 . ....... . t:5 \
221 &ldst disp=%im5_16 m=%ma_to_m x=0 scale=0 size=3
223 fldd 001011 ..... ..... .. . 0 -- 000 0 . ..... @fldstdx
224 fldd 001011 ..... ..... .. . 1 -- 000 0 . ..... @fldstdi
225 fstd 001011 ..... ..... .. . 0 -- 100 0 . ..... @fldstdx
226 fstd 001011 ..... ..... .. . 1 -- 100 0 . ..... @fldstdi
232 @ldstim14 ...... b:5 t:5 sp:2 .............. \
233 &ldst disp=%lowsign_14 x=0 scale=0 m=0
234 @ldstim14m ...... b:5 t:5 sp:2 .............. \
235 &ldst disp=%lowsign_14 x=0 scale=0 m=%neg_to_m
236 @ldstim12m ...... b:5 t:5 sp:2 .............. \
237 &ldst disp=%assemble_12a x=0 scale=0 m=%pos_to_m
239 # LDB, LDH, LDW, LDWM
240 ld 010000 ..... ..... .. .............. @ldstim14 size=0
241 ld 010001 ..... ..... .. .............. @ldstim14 size=1
242 ld 010010 ..... ..... .. .............. @ldstim14 size=2
243 ld 010011 ..... ..... .. .............. @ldstim14m size=2
244 ld 010111 ..... ..... .. ...........10. @ldstim12m size=2
246 # STB, STH, STW, STWM
247 st 011000 ..... ..... .. .............. @ldstim14 size=0
248 st 011001 ..... ..... .. .............. @ldstim14 size=1
249 st 011010 ..... ..... .. .............. @ldstim14 size=2
250 st 011011 ..... ..... .. .............. @ldstim14m size=2
251 st 011111 ..... ..... .. ...........10. @ldstim12m size=2
253 fldw 010110 b:5 ..... sp:2 .............. \
254 &ldst disp=%assemble_12a t=%rm64 m=%a_to_m x=0 scale=0 size=2
255 fldw 010111 b:5 ..... sp:2 ...........0.. \
256 &ldst disp=%assemble_12a t=%rm64 m=0 x=0 scale=0 size=2
258 fstw 011110 b:5 ..... sp:2 .............. \
259 &ldst disp=%assemble_12a t=%rm64 m=%a_to_m x=0 scale=0 size=2
260 fstw 011111 b:5 ..... sp:2 ...........0.. \
261 &ldst disp=%assemble_12a t=%rm64 m=0 x=0 scale=0 size=2
263 fldd 010100 b:5 t:5 sp:2 .......... .. 1 . \
264 &ldst disp=%assemble_11a m=%ma2_to_m x=0 scale=0 size=3
266 fstd 011100 b:5 t:5 sp:2 .......... .. 1 . \
267 &ldst disp=%assemble_11a m=%ma2_to_m x=0 scale=0 size=3
270 # Floating-point Multiply Add
273 &mpyadd rm1 rm2 ta ra tm
274 @mpyadd ...... rm1:5 rm2:5 ta:5 ra:5 . tm:5 &mpyadd
276 fmpyadd_f 000110 ..... ..... ..... ..... 0 ..... @mpyadd
277 fmpyadd_d 000110 ..... ..... ..... ..... 1 ..... @mpyadd
278 fmpysub_f 100110 ..... ..... ..... ..... 0 ..... @mpyadd
279 fmpysub_d 100110 ..... ..... ..... ..... 1 ..... @mpyadd
282 # Conditional Branches
285 bb_sar 110000 00000 r:5 c:1 10 ........... n:1 . disp=%assemble_12
286 bb_imm 110001 p:5 r:5 c:1 10 ........... n:1 . disp=%assemble_12
288 movb 110010 ..... ..... ... ........... . . @rrb_cf f=0
289 movbi 110011 ..... ..... ... ........... . . @rib_cf f=0
291 cmpb 100000 ..... ..... ... ........... . . @rrb_cf f=0
292 cmpb 100010 ..... ..... ... ........... . . @rrb_cf f=1
293 cmpbi 100001 ..... ..... ... ........... . . @rib_cf f=0
294 cmpbi 100011 ..... ..... ... ........... . . @rib_cf f=1
296 addb 101000 ..... ..... ... ........... . . @rrb_cf f=0
297 addb 101010 ..... ..... ... ........... . . @rrb_cf f=1
298 addbi 101001 ..... ..... ... ........... . . @rib_cf f=0
299 addbi 101011 ..... ..... ... ........... . . @rib_cf f=1
302 # Shift, Extract, Deposit
305 shrpw_sar 110100 r2:5 r1:5 c:3 00 0 00000 t:5
306 shrpw_imm 110100 r2:5 r1:5 c:3 01 0 cpos:5 t:5
308 extrw_sar 110100 r:5 t:5 c:3 10 se:1 00000 clen:5
309 extrw_imm 110100 r:5 t:5 c:3 11 se:1 pos:5 clen:5
311 depw_sar 110101 t:5 r:5 c:3 00 nz:1 00000 clen:5
312 depw_imm 110101 t:5 r:5 c:3 01 nz:1 cpos:5 clen:5
313 depwi_sar 110101 t:5 ..... c:3 10 nz:1 00000 clen:5 i=%im5_16
314 depwi_imm 110101 t:5 ..... c:3 11 nz:1 cpos:5 clen:5 i=%im5_16
321 @be ...... b:5 ..... ... ........... n:1 . \
322 &BE disp=%assemble_17 sp=%assemble_sr3
324 be 111000 ..... ..... ... ........... . . @be l=0
325 be 111001 ..... ..... ... ........... . . @be l=31
332 @bl ...... l:5 ..... ... ........... n:1 . &BL disp=%assemble_17
335 bl 111010 ..... ..... 000 ........... . . @bl
336 bl 111010 ..... ..... 100 ........... . . @bl
337 # B,L (long displacement)
338 bl 111010 ..... ..... 101 ........... n:1 . &BL l=2 \
340 b_gate 111010 ..... ..... 001 ........... . . @bl
341 blr 111010 l:5 x:5 010 00000000000 n:1 0
342 bv 111010 b:5 x:5 110 00000000000 n:1 0
343 bve 111010 b:5 00000 110 10000000000 n:1 - l=0
344 bve 111010 b:5 00000 111 10000000000 n:1 - l=2
347 # FP Fused Multiple-Add
350 fmpyfadd_f 101110 ..... ..... ... . 0 ... . . neg:1 ..... \
351 rm1=%ra64 rm2=%rb64 ra3=%rc64 t=%rt64
352 fmpyfadd_d 101110 rm1:5 rm2:5 ... 0 1 ..0 0 0 neg:1 t:5 ra3=%rc32
362 @f0c_0 ...... r:5 00000 ..... 00 000 0 t:5 &fclass01
363 @f0c_1 ...... r:5 000.. ..... 01 000 0 t:5 &fclass01
364 @f0c_2 ...... r1:5 r2:5 y:3 .. 10 000 . c:5 &fclass2
365 @f0c_3 ...... r1:5 r2:5 ..... 11 000 0 t:5 &fclass3
367 @f0e_f_0 ...... ..... 00000 ... 0 0 000 .. 0 ..... \
368 &fclass01 r=%ra64 t=%rt64
369 @f0e_d_0 ...... r:5 00000 ... 0 1 000 00 0 t:5 &fclass01
371 @f0e_ff_1 ...... ..... 000 ... 0000 010 .. 0 ..... \
372 &fclass01 r=%ra64 t=%rt64
373 @f0e_fd_1 ...... ..... 000 ... 0100 010 .0 0 t:5 &fclass01 r=%ra64
374 @f0e_df_1 ...... r:5 000 ... 0001 010 0. 0 ..... &fclass01 t=%rt64
375 @f0e_dd_1 ...... r:5 000 ... 0101 010 00 0 t:5 &fclass01
377 @f0e_f_2 ...... ..... ..... y:3 .0 100 .00 c:5 \
378 &fclass2 r1=%ra64 r2=%rb64
379 @f0e_d_2 ...... r1:5 r2:5 y:3 01 100 000 c:5 &fclass2
381 @f0e_f_3 ...... ..... ..... ... .0 110 ..0 ..... \
382 &fclass3 r1=%ra64 r2=%rb64 t=%rt64
383 @f0e_d_3 ...... r1:5 r2:5 ... 01 110 000 t:5
385 # Floating point class 0
387 # FID. With r = t = 0, which via fcpy puts 0 into fr0.
388 # This is machine/revision = 0, which is reserved for simulator.
389 fcpy_f 001100 00000 00000 00000 000000 00000 \
392 fcpy_f 001100 ..... ..... 010 00 ...... ..... @f0c_0
393 fabs_f 001100 ..... ..... 011 00 ...... ..... @f0c_0
394 fsqrt_f 001100 ..... ..... 100 00 ...... ..... @f0c_0
395 frnd_f 001100 ..... ..... 101 00 ...... ..... @f0c_0
396 fneg_f 001100 ..... ..... 110 00 ...... ..... @f0c_0
397 fnegabs_f 001100 ..... ..... 111 00 ...... ..... @f0c_0
399 fcpy_d 001100 ..... ..... 010 01 ...... ..... @f0c_0
400 fabs_d 001100 ..... ..... 011 01 ...... ..... @f0c_0
401 fsqrt_d 001100 ..... ..... 100 01 ...... ..... @f0c_0
402 frnd_d 001100 ..... ..... 101 01 ...... ..... @f0c_0
403 fneg_d 001100 ..... ..... 110 01 ...... ..... @f0c_0
404 fnegabs_d 001100 ..... ..... 111 01 ...... ..... @f0c_0
406 fcpy_f 001110 ..... ..... 010 ........ ..... @f0e_f_0
407 fabs_f 001110 ..... ..... 011 ........ ..... @f0e_f_0
408 fsqrt_f 001110 ..... ..... 100 ........ ..... @f0e_f_0
409 frnd_f 001110 ..... ..... 101 ........ ..... @f0e_f_0
410 fneg_f 001110 ..... ..... 110 ........ ..... @f0e_f_0
411 fnegabs_f 001110 ..... ..... 111 ........ ..... @f0e_f_0
413 fcpy_d 001110 ..... ..... 010 ........ ..... @f0e_d_0
414 fabs_d 001110 ..... ..... 011 ........ ..... @f0e_d_0
415 fsqrt_d 001110 ..... ..... 100 ........ ..... @f0e_d_0
416 frnd_d 001110 ..... ..... 101 ........ ..... @f0e_d_0
417 fneg_d 001110 ..... ..... 110 ........ ..... @f0e_d_0
418 fnegabs_d 001110 ..... ..... 111 ........ ..... @f0e_d_0
420 # Floating point class 1
423 fcnv_d_f 001100 ..... ... 000 00 01 ...... ..... @f0c_1
424 fcnv_f_d 001100 ..... ... 000 01 00 ...... ..... @f0c_1
426 fcnv_d_f 001110 ..... ... 000 .......... ..... @f0e_df_1
427 fcnv_f_d 001110 ..... ... 000 .......... ..... @f0e_fd_1
430 fcnv_w_f 001100 ..... ... 001 00 00 ...... ..... @f0c_1
431 fcnv_q_f 001100 ..... ... 001 00 01 ...... ..... @f0c_1
432 fcnv_w_d 001100 ..... ... 001 01 00 ...... ..... @f0c_1
433 fcnv_q_d 001100 ..... ... 001 01 01 ...... ..... @f0c_1
435 fcnv_w_f 001110 ..... ... 001 .......... ..... @f0e_ff_1
436 fcnv_q_f 001110 ..... ... 001 .......... ..... @f0e_df_1
437 fcnv_w_d 001110 ..... ... 001 .......... ..... @f0e_fd_1
438 fcnv_q_d 001110 ..... ... 001 .......... ..... @f0e_dd_1
441 fcnv_f_w 001100 ..... ... 010 00 00 ...... ..... @f0c_1
442 fcnv_d_w 001100 ..... ... 010 00 01 ...... ..... @f0c_1
443 fcnv_f_q 001100 ..... ... 010 01 00 ...... ..... @f0c_1
444 fcnv_d_q 001100 ..... ... 010 01 01 ...... ..... @f0c_1
446 fcnv_f_w 001110 ..... ... 010 .......... ..... @f0e_ff_1
447 fcnv_d_w 001110 ..... ... 010 .......... ..... @f0e_df_1
448 fcnv_f_q 001110 ..... ... 010 .......... ..... @f0e_fd_1
449 fcnv_d_q 001110 ..... ... 010 .......... ..... @f0e_dd_1
452 fcnv_t_f_w 001100 ..... ... 011 00 00 ...... ..... @f0c_1
453 fcnv_t_d_w 001100 ..... ... 011 00 01 ...... ..... @f0c_1
454 fcnv_t_f_q 001100 ..... ... 011 01 00 ...... ..... @f0c_1
455 fcnv_t_d_q 001100 ..... ... 011 01 01 ...... ..... @f0c_1
457 fcnv_t_f_w 001110 ..... ... 011 .......... ..... @f0e_ff_1
458 fcnv_t_d_w 001110 ..... ... 011 .......... ..... @f0e_df_1
459 fcnv_t_f_q 001110 ..... ... 011 .......... ..... @f0e_fd_1
460 fcnv_t_d_q 001110 ..... ... 011 .......... ..... @f0e_dd_1
463 fcnv_uw_f 001100 ..... ... 101 00 00 ...... ..... @f0c_1
464 fcnv_uq_f 001100 ..... ... 101 00 01 ...... ..... @f0c_1
465 fcnv_uw_d 001100 ..... ... 101 01 00 ...... ..... @f0c_1
466 fcnv_uq_d 001100 ..... ... 101 01 01 ...... ..... @f0c_1
468 fcnv_uw_f 001110 ..... ... 101 .......... ..... @f0e_ff_1
469 fcnv_uq_f 001110 ..... ... 101 .......... ..... @f0e_df_1
470 fcnv_uw_d 001110 ..... ... 101 .......... ..... @f0e_fd_1
471 fcnv_uq_d 001110 ..... ... 101 .......... ..... @f0e_dd_1
474 fcnv_f_uw 001100 ..... ... 110 00 00 ...... ..... @f0c_1
475 fcnv_d_uw 001100 ..... ... 110 00 01 ...... ..... @f0c_1
476 fcnv_f_uq 001100 ..... ... 110 01 00 ...... ..... @f0c_1
477 fcnv_d_uq 001100 ..... ... 110 01 01 ...... ..... @f0c_1
479 fcnv_f_uw 001110 ..... ... 110 .......... ..... @f0e_ff_1
480 fcnv_d_uw 001110 ..... ... 110 .......... ..... @f0e_df_1
481 fcnv_f_uq 001110 ..... ... 110 .......... ..... @f0e_fd_1
482 fcnv_d_uq 001110 ..... ... 110 .......... ..... @f0e_dd_1
485 fcnv_t_f_uw 001100 ..... ... 111 00 00 ...... ..... @f0c_1
486 fcnv_t_d_uw 001100 ..... ... 111 00 01 ...... ..... @f0c_1
487 fcnv_t_f_uq 001100 ..... ... 111 01 00 ...... ..... @f0c_1
488 fcnv_t_d_uq 001100 ..... ... 111 01 01 ...... ..... @f0c_1
490 fcnv_t_f_uw 001110 ..... ... 111 .......... ..... @f0e_ff_1
491 fcnv_t_d_uw 001110 ..... ... 111 .......... ..... @f0e_df_1
492 fcnv_t_f_uq 001110 ..... ... 111 .......... ..... @f0e_fd_1
493 fcnv_t_d_uq 001110 ..... ... 111 .......... ..... @f0e_dd_1
495 # Floating point class 2
497 ftest 001100 00000 00000 y:3 00 10000 1 c:5
499 fcmp_f 001100 ..... ..... ... 00 ..... 0 ..... @f0c_2
500 fcmp_d 001100 ..... ..... ... 01 ..... 0 ..... @f0c_2
502 fcmp_f 001110 ..... ..... ... ..... ... ..... @f0e_f_2
503 fcmp_d 001110 ..... ..... ... ..... ... ..... @f0e_d_2
505 # Floating point class 3
507 fadd_f 001100 ..... ..... 000 00 ...... ..... @f0c_3
508 fsub_f 001100 ..... ..... 001 00 ...... ..... @f0c_3
509 fmpy_f 001100 ..... ..... 010 00 ...... ..... @f0c_3
510 fdiv_f 001100 ..... ..... 011 00 ...... ..... @f0c_3
512 fadd_d 001100 ..... ..... 000 01 ...... ..... @f0c_3
513 fsub_d 001100 ..... ..... 001 01 ...... ..... @f0c_3
514 fmpy_d 001100 ..... ..... 010 01 ...... ..... @f0c_3
515 fdiv_d 001100 ..... ..... 011 01 ...... ..... @f0c_3
517 fadd_f 001110 ..... ..... 000 ..... ... ..... @f0e_f_3
518 fsub_f 001110 ..... ..... 001 ..... ... ..... @f0e_f_3
519 fmpy_f 001110 ..... ..... 010 ..... ... ..... @f0e_f_3
520 fdiv_f 001110 ..... ..... 011 ..... ... ..... @f0e_f_3
522 fadd_d 001110 ..... ..... 000 ..... ... ..... @f0e_d_3
523 fsub_d 001110 ..... ..... 001 ..... ... ..... @f0e_d_3
524 fmpy_d 001110 ..... ..... 010 ..... ... ..... @f0e_d_3
525 fdiv_d 001110 ..... ..... 011 ..... ... ..... @f0e_d_3
527 xmpyu 001110 ..... ..... 010 .0111 .00 t:5 r1=%ra64 r2=%rb64