1 2019-12-11 Alan Modra <amodra@gmail.com>
3 * tic4x-dis.c (tic4x_print_register): Formatting. Don't segfault
4 on NULL registertable entry.
5 (tic4x_hash_opcode): Use unsigned arithmetic.
7 2019-12-11 Alan Modra <amodra@gmail.com>
9 * s12z-opc.c (z_decode_signed_value): Avoid signed overflow.
11 2019-12-11 Alan Modra <amodra@gmail.com>
13 * ns32k-dis.c (bit_extract): Use unsigned arithmetic.
14 (bit_extract_simple, sign_extend): Likewise.
16 2019-12-11 Alan Modra <amodra@gmail.com>
18 * nios2-dis.c (nios2_print_insn_arg): Use 1u << 31.
20 2019-12-11 Alan Modra <amodra@gmail.com>
22 * moxie-dis.c (INST2OFFSET): Don't sign extend using shifts.
24 2019-12-11 Alan Modra <amodra@gmail.com>
26 * m68k-dis.c (COERCE32): Cast value first.
27 (NEXTLONG, NEXTULONG): Avoid signed overflow.
29 2019-12-11 Alan Modra <amodra@gmail.com>
31 * h8300-dis.c (extract_immediate): Avoid signed overflow.
32 (bfd_h8_disassemble): Likewise.
34 2019-12-11 Alan Modra <amodra@gmail.com>
36 * d30v-dis.c (print_insn): Make opind unsigned. Don't access
37 past end of operands array.
39 2019-12-11 Alan Modra <amodra@gmail.com>
41 * csky-dis.c (csky_chars_to_number): Rewrite. Avoid signed
42 overflow when collecting bytes of a number.
44 2019-12-11 Alan Modra <amodra@gmail.com>
46 * cris-dis.c (print_with_operands): Avoid signed integer
47 overflow when collecting bytes of a 32-bit integer.
49 2019-12-11 Alan Modra <amodra@gmail.com>
51 * cr16-dis.c (EXTRACT, SBM): Rewrite.
52 (cr16_match_opcode): Delete duplicate bcond test.
54 2019-12-11 Alan Modra <amodra@gmail.com>
56 * bfin-dis.c (HOST_LONG_WORD_SIZE, XFIELD): Delete.
58 (MASKBITS, SIGNEXTEND): Rewrite.
59 (fmtconst): Don't use ? expression now that SIGNEXTEND uses
60 unsigned arithmetic, instead assign result of SIGNEXTEND back
62 (fmtconst_val): Use 1u in shift expression.
64 2019-12-11 Alan Modra <amodra@gmail.com>
66 * arc-dis.c (find_format_from_table): Use ull constant when
69 2019-12-11 Alan Modra <amodra@gmail.com>
72 * aarch64-dis.c (aarch64_decode_variant_using_iclass): Return
73 false when field is zero for sve_size_tsz_bhs.
75 2019-12-11 Alan Modra <amodra@gmail.com>
77 * epiphany-ibld.c: Regenerate.
79 2019-12-10 Alan Modra <amodra@gmail.com>
82 * disassemble.c (disassemble_free_target): New function.
84 2019-12-10 Alan Modra <amodra@gmail.com>
86 * cgen-dis.in (print_insn_@arch@): Replace insn_sets with private_data.
87 * disassemble.c (disassemble_init_for_target): Likewise.
88 * bpf-dis.c: Regenerate.
89 * epiphany-dis.c: Regenerate.
90 * fr30-dis.c: Regenerate.
91 * frv-dis.c: Regenerate.
92 * ip2k-dis.c: Regenerate.
93 * iq2000-dis.c: Regenerate.
94 * lm32-dis.c: Regenerate.
95 * m32c-dis.c: Regenerate.
96 * m32r-dis.c: Regenerate.
97 * mep-dis.c: Regenerate.
98 * mt-dis.c: Regenerate.
99 * or1k-dis.c: Regenerate.
100 * xc16x-dis.c: Regenerate.
101 * xstormy16-dis.c: Regenerate.
103 2019-12-10 Alan Modra <amodra@gmail.com>
105 * ppc-dis.c (private): Delete variable.
106 (get_powerpc_dialect): Don't segfault on NULL info->private_data.
107 (powerpc_init_dialect): Don't use global private.
109 2019-12-10 Alan Modra <amodra@gmail.com>
111 * s12z-opc.c: Formatting.
113 2019-12-08 Alan Modra <amodra@gmail.com>
115 * s12z-opc.c (exg_sex_discrim): Don't leak memory on invalid
118 2019-12-05 Jan Beulich <jbeulich@suse.com>
120 * aarch64-tbl.h (aarch64_feature_crypto,
121 aarch64_feature_crypto_v8_2, CRYPTO, CRYPTO_V8_2, CRYP_INSN,
122 CRYPTO_V8_2_INSN): Delete.
124 2019-12-05 Alan Modra <amodra@gmail.com>
127 * microblaze-dis.c (NUM_STRBUFS, STRBUF_SIZE): Define.
128 (struct string_buf): New.
129 (strbuf): New function.
130 (get_field): Use strbuf rather than strdup of local temp.
131 (get_field_imm, get_field_imm5, get_field_imm5_mbar): Likewise.
132 (get_field_rfsl, get_field_imm15): Likewise.
133 (get_field_rd, get_field_r1, get_field_r2): Update macros.
134 (get_field_special): Likewise. Don't strcpy spr. Formatting.
135 (print_insn_microblaze): Formatting. Init and pass string_buf to
138 2019-12-04 Jan Beulich <jbeulich@suse.com>
140 * i386-opc.tbl (lfs, lgs, lss): Drop No_qSuf.
141 * i386-tbl.h: Re-generate.
143 2019-12-04 Jan Beulich <jbeulich@suse.com>
145 * i386-dis.c (mod_table): Use Ev instead of Em for movdiri.
147 2019-12-04 Jan Beulich <jbeulich@suse.com>
149 * i386-opc.tbl (push, pop): Drop DefaultSize from GPR-only
151 (xbegin): Drop DefaultSize.
152 * i386-tbl.h: Re-generate.
154 2019-11-22 Mihail Ionescu <mihail.ionescu@arm.com>
156 * opcodes/arm-dis.c (arm_opcodes, thumb32_opcodes):
157 Change the coproc CRC conditions to use the extension
158 feature set, second word, base on ARM_EXT2_CRC.
160 2019-11-14 Jan Beulich <jbeulich@suse.com>
162 * i386-opc.tbl (syscall, sysret): Drop Cpu64 forms.
163 * i386-tbl.h: Re-generate.
165 2019-11-14 Jan Beulich <jbeulich@suse.com>
167 * i386-gen.c (opcode_modifiers): Remove JumpDword, JumpByte,
168 JumpInterSegment, and JumpAbsolute entries.
169 * i386-opc.h (JUMP, JUMP_DWORD, JUMP_BYTE, JUMP_INTERSEGMENT,
170 JUMP_ABSOLUTE): Define.
171 (struct i386_opcode_modifier): Extend jump field to 3 bits.
172 Remove jumpdword, jumpbyte, jumpintersegment, and jumpabsolute
174 * i386-opc.tbl (JumpByte, JumpDword, JumpAbsolute,
175 JumpInterSegment): Define.
176 * i386-tbl.h: Re-generate.
178 2019-11-14 Jan Beulich <jbeulich@suse.com>
180 * i386-gen.c (operand_type_init): Remove
181 OPERAND_TYPE_JUMPABSOLUTE entry.
182 (opcode_modifiers): Add JumpAbsolute entry.
183 (operand_types): Remove JumpAbsolute entry.
184 * i386-opc.h (JumpAbsolute): Move between enums.
185 (struct i386_opcode_modifier): Add jumpabsolute field.
186 (union i386_operand_type): Remove jumpabsolute field.
187 * i386-opc.tbl (call, lcall, jmp, ljmp): Move JumpAbsolute.
188 * i386-init.h, i386-tbl.h: Re-generate.
190 2019-11-14 Jan Beulich <jbeulich@suse.com>
192 * i386-gen.c (opcode_modifiers): Add AnySize entry.
193 (operand_types): Remove AnySize entry.
194 * i386-opc.h (AnySize): Move between enums.
195 (struct i386_opcode_modifier): Add anysize field.
196 (OTUnused): Un-comment.
197 (union i386_operand_type): Remove anysize field.
198 * i386-opc.tbl (lea, invlpg, clflush, prefetchnta, prefetcht0,
199 prefetcht1, prefetcht2, prefetchtw, bndmk, bndcl, bndcu, bndcn,
200 bndstx, bndldx, prefetchwt1, clflushopt, clwb, cldemote): Move
202 * i386-tbl.h: Re-generate.
204 2019-11-12 Nelson Chu <nelson.chu@sifive.com>
206 * riscv-opc.c (riscv_insn_types): Replace the INSN_CLASS_I with
207 INSN_CLASS_F and the INSN_CLASS_C with INSN_CLASS_F_AND_C if we
208 use the floating point register (FPR).
210 2019-11-12 Mihail Ionescu <mihail.ionescu@arm.com>
212 * opcodes/arm-dis.c (mve_opcodes): Enable VMOV imm to vec with
214 (is_mve_encoding_conflict): Update cmode conflict checks for
217 2019-11-12 Jan Beulich <jbeulich@suse.com>
219 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_ESSEG
221 (operand_types): Remove EsSeg entry.
222 (main): Replace stale use of OTMax.
223 * i386-opc.h (IS_STRING_ES_OP0, IS_STRING_ES_OP1): Define.
224 (struct i386_opcode_modifier): Expand isstring field to 2 bits.
226 (OTUnused): Comment out.
227 (union i386_operand_type): Remove esseg field.
228 * i386-opc.tbl (IsStringEsOp0, IsStringEsOp1): Define.
229 (cmps, scmp, scas, ssca, cmpsd): Add IsStringEsOp0.
230 (ins, movs, smov, movsd): Add IsStringEsOpOp1.
231 (stos, ssto): Add IsStringEsOp0/IsStringEsOpOp1.
232 * i386-init.h, i386-tbl.h: Re-generate.
234 2019-11-12 Jan Beulich <jbeulich@suse.com>
236 * i386-gen.c (operand_instances): Add RegB entry.
237 * i386-opc.h (enum operand_instance): Add RegB.
238 * i386-opc.tbl (RegC, RegD, RegB): Define.
239 (Acc, ShiftCount, InOutPortReg): Adjust definitions.
240 (monitor, mwait, invlpga, skinit, vmload, vmrun, vmsave, clzero,
241 monitorx, mwaitx): Drop ImmExt and convert encodings
243 * i386-reg.tbl (ecx, rcx): Add Instance=RegC.
244 (edx, rdx): Add Instance=RegD.
245 (ebx, rbx): Add Instance=RegB.
246 * i386-tbl.h: Re-generate.
248 2019-11-12 Jan Beulich <jbeulich@suse.com>
250 * i386-gen.c (operand_type_init): Adjust
251 OPERAND_TYPE_INOUTPORTREG, OPERAND_TYPE_SHIFTCOUNT,
252 OPERAND_TYPE_FLOATACC, OPERAND_TYPE_ACC8, OPERAND_TYPE_ACC16,
253 OPERAND_TYPE_ACC32, and OPERAND_TYPE_ACC64 entries.
254 (operand_instances): New.
255 (operand_types): Drop InOutPortReg, ShiftCount, and Acc entries.
256 (output_operand_type): New parameter "instance". Process it.
257 (process_i386_operand_type): New local variable "instance".
258 (main): Adjust static assertions.
259 * i386-opc.h (INSTANCE_WIDTH): Define.
260 (enum operand_instance): New.
261 (Acc, InOutPortReg, ShiftCount): Replace by ClassInstance.
262 (union i386_operand_type): Replace acc, inoutportreg, and
263 shiftcount by instance.
264 * i386-opc.tbl (Acc, InOutPortReg, ShiftCount): Define.
265 * i386-reg.tbl (st, al, cl, ax, dx, eax, rax, xmm0, st(0)):
267 * i386-init.h, i386-tbl.h: Re-generate.
269 2019-11-11 Jan Beulich <jbeulich@suse.com>
271 * aarch64-tbl.h (aarch64_opcode_table): Switch SVE2's
272 smaxp/sminp entries' "tied_operand" field to 2.
274 2019-11-11 Jan Beulich <jbeulich@suse.com>
276 * aarch64-opc.c (operand_general_constraint_met_p): Replace
277 "index" local variable by that of the already existing "num".
279 2019-11-08 H.J. Lu <hongjiu.lu@intel.com>
282 * i386-opc.tbl: Remove IgnoreSize from cmpsd and movsd.
283 * i386-tbl.h: Regenerated.
285 2019-11-08 Jan Beulich <jbeulich@suse.com>
287 * i386-gen.c (operand_type_init): Add Class= to
288 OPERAND_TYPE_REGMASK and OPERAND_TYPE_REGBND entries. Move up
289 OPERAND_TYPE_REGBND entry.
290 (operand_classes): Add RegMask and RegBND entries.
291 (operand_types): Drop RegMask and RegBND entry.
292 * i386-opc.h (enum operand_class): Add RegMask and RegBND.
293 (RegMask, RegBND): Delete.
294 (union i386_operand_type): Remove regmask and regbnd fields.
295 * i386-opc.tbl (RegMask, RegBND): Define.
296 * i386-reg.tbl: Replace RegMask by Class=RegMask and RegBND by
298 * i386-init.h, i386-tbl.h: Re-generate.
300 2019-11-08 Jan Beulich <jbeulich@suse.com>
302 * i386-gen.c (operand_type_init): Add Class= to
303 OPERAND_TYPE_REGMMX, OPERAND_TYPE_REGXMM, OPERAND_TYPE_REGYMM, and
304 OPERAND_TYPE_REGZMM entries.
305 (operand_classes): Add RegMMX and RegSIMD entries.
306 (operand_types): Drop RegMMX and RegSIMD entries.
307 * i386-opc.h (enum operand_class): Add RegMMX and RegSIMD.
308 (RegMMX, RegSIMD): Delete.
309 (union i386_operand_type): Remove regmmx and regsimd fields.
310 * i386-opc.tbl (RegMMX): Define.
311 (RegXMM, RegYMM, RegZMM): Add Class=.
312 * i386-reg.tbl: Replace RegMMX by Class=RegMMX and RegSIMD by
314 * i386-init.h, i386-tbl.h: Re-generate.
316 2019-11-08 Jan Beulich <jbeulich@suse.com>
318 * i386-gen.c (operand_type_init): Add Class= to
319 OPERAND_TYPE_CONTROL, OPERAND_TYPE_TEST, and OPERAND_TYPE_DEBUG
321 (operand_classes): Add RegCR, RegDR, and RegTR entries.
322 (operand_types): Drop Control, Debug, and Test entries.
323 * i386-opc.h (enum operand_class): Add RegCR, RegDR, and RegTR.
324 (Control, Debug, Test): Delete.
325 (union i386_operand_type): Remove control, debug, and test
327 * i386-opc.tbl (Control, Debug, Test): Define.
328 * i386-reg.tbl: Replace Control by Class=RegCR, Debug by
329 Class=RegDR, and Test by Class=RegTR.
330 * i386-init.h, i386-tbl.h: Re-generate.
332 2019-11-08 Jan Beulich <jbeulich@suse.com>
334 * i386-gen.c (operand_type_init): Add Class= to
335 OPERAND_TYPE_SREG entry.
336 (operand_classes): Add SReg entry.
337 (operand_types): Drop SReg entry.
338 * i386-opc.h (enum operand_class): Add SReg.
340 (union i386_operand_type): Remove sreg field.
341 * i386-opc.tbl (SReg): Define.
342 * i386-reg.tbl: Replace SReg by Class=SReg.
343 * i386-init.h, i386-tbl.h: Re-generate.
345 2019-11-08 Jan Beulich <jbeulich@suse.com>
347 * i386-gen.c (operand_type_init): Add Class=. New
348 OPERAND_TYPE_ANYIMM entry.
349 (operand_classes): New.
350 (operand_types): Drop Reg entry.
351 (output_operand_type): New parameter "class". Process it.
352 (process_i386_operand_type): New local variable "class".
353 (main): Adjust static assertions.
354 * i386-opc.h (CLASS_WIDTH): Define.
355 (enum operand_class): New.
356 (Reg): Replace by Class. Adjust comment.
357 (union i386_operand_type): Replace reg by class.
358 * i386-opc.tbl (Reg8, Reg16, Reg32, Reg64, FloatReg): Add
360 * i386-reg.tbl: Replace Reg by Class=Reg.
361 * i386-init.h: Re-generate.
363 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
365 * opcodes/aarch64-tbl.h (V8_6_INSN): New macro for v8.6 instructions.
366 (aarch64_opcode_table): Add data gathering hint mnemonic.
367 * opcodes/aarch64-dis-2.c: Account for new instruction.
369 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
371 * arm-dis.c (neon_opcodes): Add i8mm SIMD instructions.
374 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
376 * aarch64-tbl.h (aarch64_feature_i8mm_sve, aarch64_feature_f32mm_sve,
377 aarch64_feature_f64mm_sve, aarch64_feature_i8mm, aarch64_feature_f32mm,
378 aarch64_feature_f64mm): New feature sets.
379 (INT8MATMUL_INSN, F64MATMUL_SVE_INSN, F64MATMUL_INSN,
380 F32MATMUL_SVE_INSN, F32MATMUL_INSN): New macros to define matrix multiply
382 (I8MM_SVE, F32MM_SVE, F64MM_SVE, I8MM, F32MM, F64MM): New feature set
384 (QL_MMLA64, OP_SVE_SBB): New qualifiers.
385 (OP_SVE_QQQ): New qualifier.
386 (INT8MATMUL_SVE_INSNC, F64MATMUL_SVE_INSNC,
387 F32MATMUL_SVE_INSNC): New feature set for bfloat16 instructions to support
388 the movprfx constraint.
389 (aarch64_opcode_table): Support for SVE_ADDR_RI_S4x32.
390 (aarch64_opcode_table): Define new instructions smmla,
391 ummla, usmmla, usdot, sudot, fmmla, ld1rob, ld1roh, ld1row, ld1rod,
393 * aarch64-opc.c (operand_general_constraint_met_p): Handle
394 AARCH64_OPND_SVE_ADDR_RI_S4x32.
395 (aarch64_print_operand): Handle AARCH64_OPND_SVE_ADDR_RI_S4x32.
396 * aarch64-dis-2.c (aarch64_opcode_lookup_1, aarch64_find_next_opcode):
397 Account for new instructions.
398 * opcodes/aarch64-asm-2.c (aarch64_insert_operand): Support the new
400 * aarch64-opc-2.c (aarch64_operands): Support the new S4x32 operand.
402 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
403 2019-11-07 Matthew Malcomson <matthew.malcomson@arm.com>
405 * arm-dis.c (select_arm_features): Update bfd_march_arm_8 with
407 (coprocessor_opcodes): Add bfloat16 vcvt{t,b}.
408 (neon_opcodes): Add bfloat SIMD instructions.
409 (print_insn_coprocessor): Add new control character %b to print
410 condition code without checking cp_num.
411 (print_insn_neon): Account for BFloat16 instructions that have no
412 special top-byte handling.
414 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
415 2019-11-07 Matthew Malcomson <matthew.malcomson@arm.com>
417 * arm-dis.c (print_insn_coprocessor,
418 print_insn_generic_coprocessor): Create wrapper functions around
419 the implementation of the print_insn_coprocessor control codes.
420 (print_insn_coprocessor_1): Original print_insn_coprocessor
421 function that now takes which array to look at as an argument.
422 (print_insn_arm): Use both print_insn_coprocessor and
423 print_insn_generic_coprocessor.
424 (print_insn_thumb32): As above.
426 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
427 2019-11-07 Matthew Malcomson <matthew.malcomson@arm.com>
429 * aarch64-asm.c (aarch64_ins_reglane): Use AARCH64_OPND_QLF_S_2H
430 in reglane special case.
431 * aarch64-dis-2.c (aarch64_opcode_lookup_1,
432 aarch64_find_next_opcode): Account for new instructions.
433 * aarch64-dis.c (aarch64_ext_reglane): Use AARCH64_OPND_QLF_S_2H
434 in reglane special case.
435 * aarch64-opc.c (struct operand_qualifier_data): Add data for
436 new AARCH64_OPND_QLF_S_2H qualifier.
437 * aarch64-tbl.h (QL_BFDOT QL_BFDOT64, QL_BFDOT64I, QL_BFMMLA2,
438 QL_BFCVT64, QL_BFCVTN64, QL_BFCVTN2_64): New qualifiers.
439 (aarch64_feature_bfloat16, aarch64_feature_bfloat16_sve): New feature
441 (BFLOAT_SVE, BFLOAT): New feature set macros.
442 (BFLOAT_SVE_INSN, BFLOAT_INSN): New macros to define BFloat16
444 (aarch64_opcode_table): Define new instructions bfdot,
445 bfmmla, bfcvt, bfcvtnt, bfdot, bfdot, bfcvtn, bfmlal[b/t]
448 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
449 2019-11-07 Matthew Malcomson <matthew.malcomson@arm.com>
451 * aarch64-tbl.h (ARMV8_6): New macro.
453 2019-11-07 Jan Beulich <jbeulich@suse.com>
455 * i386-dis.c (prefix_table): Add mcommit.
456 (rm_table): Add rdpru.
457 * i386-gen.c (cpu_flag_init): Adjust CPU_ZNVER2_FLAGS entry. Add
458 CPU_RDPRU_FLAGS and CPU_MCOMMIT_FLAGS entries.
459 (cpu_flags): Add CpuRDPRU and CpuMCOMMIT entries.
460 * i386-opc.h (CpuRDPRU, CpuMCOMMIT): New.
461 (union i386_cpu_flags): Add cpurdpru and cpumcommit fields.
462 * i386-opc.tbl (mcommit, rdpru): New.
463 * i386-init.h, i386-tbl.h: Re-generate.
465 2019-11-07 Jan Beulich <jbeulich@suse.com>
467 * i386-dis.c (OP_Mwait): Drop local variable "names", use
469 (OP_Monitor): Drop local variable "op1_names", re-purpose
470 "names" for it instead, and replace former "names" uses by
473 2019-11-07 Jan Beulich <jbeulich@suse.com>
476 * opcodes/i386-opc.tbl (movsd, cmpsd): Drop IgnoreSize from
478 * opcodes/i386-tbl.h: Re-generate.
480 2019-11-05 Jan Beulich <jbeulich@suse.com>
482 * i386-dis.c (OP_Mwaitx): Delete.
483 (prefix_table): Use OP_Mwait for mwaitx entry.
484 (OP_Mwait): Also handle mwaitx.
486 2019-11-05 Jan Beulich <jbeulich@suse.com>
488 * i386-dis.c (PREFIX_0F01_REG_7_MOD_3_RM_2,
489 PREFIX_0F01_REG_7_MOD_3_RM_3): New.
490 (prefix_table): Add respective entries.
491 (rm_table): Link to those entries.
493 2019-11-05 Jan Beulich <jbeulich@suse.com>
495 * i386-dis.c (REG_0F1C_MOD_0): Rename to ...
496 (REG_0F1C_P_0_MOD_0): ... this.
497 (REG_0F1E_MOD_3): Rename to ...
498 (REG_0F1E_P_1_MOD_3): ... this.
499 (RM_0F01_REG_5): Rename to ...
500 (RM_0F01_REG_5_MOD_3): ... this.
501 (RM_0F01_REG_7): Rename to ...
502 (RM_0F01_REG_7_MOD_3): ... this.
503 (RM_0F1E_MOD_3_REG_7): Rename to ...
504 (RM_0F1E_P_1_MOD_3_REG_7): ... this.
505 (RM_0FAE_REG_6): Rename to ...
506 (RM_0FAE_REG_6_MOD_3_P_0): ... this.
507 (RM_0FAE_REG_7): Rename to ...
508 (RM_0FAE_REG_7_MOD_3): ... this.
509 (PREFIX_MOD_0_0F01_REG_5): Rename to ...
510 (PREFIX_0F01_REG_5_MOD_0): ... this.
511 (PREFIX_MOD_3_0F01_REG_5_RM_0): Rename to ...
512 (PREFIX_0F01_REG_5_MOD_3_RM_0): ... this.
513 (PREFIX_MOD_3_0F01_REG_5_RM_2): Rename to ...
514 (PREFIX_0F01_REG_5_MOD_3_RM_2): ... this.
515 (PREFIX_0FAE_REG_0): Rename to ...
516 (PREFIX_0FAE_REG_0_MOD_3): ... this.
517 (PREFIX_0FAE_REG_1): Rename to ...
518 (PREFIX_0FAE_REG_1_MOD_3): ... this.
519 (PREFIX_0FAE_REG_2): Rename to ...
520 (PREFIX_0FAE_REG_2_MOD_3): ... this.
521 (PREFIX_0FAE_REG_3): Rename to ...
522 (PREFIX_0FAE_REG_3_MOD_3): ... this.
523 (PREFIX_MOD_0_0FAE_REG_4): Rename to ...
524 (PREFIX_0FAE_REG_4_MOD_0): ... this.
525 (PREFIX_MOD_3_0FAE_REG_4): Rename to ...
526 (PREFIX_0FAE_REG_4_MOD_3): ... this.
527 (PREFIX_MOD_0_0FAE_REG_5): Rename to ...
528 (PREFIX_0FAE_REG_5_MOD_0): ... this.
529 (PREFIX_MOD_3_0FAE_REG_5): Rename to ...
530 (PREFIX_0FAE_REG_5_MOD_3): ... this.
531 (PREFIX_MOD_0_0FAE_REG_6): Rename to ...
532 (PREFIX_0FAE_REG_6_MOD_0): ... this.
533 (PREFIX_MOD_1_0FAE_REG_6): Rename to ...
534 (PREFIX_0FAE_REG_6_MOD_3): ... this.
535 (PREFIX_0FAE_REG_7): Rename to ...
536 (PREFIX_0FAE_REG_7_MOD_0): ... this.
537 (PREFIX_MOD_0_0FC3): Rename to ...
538 (PREFIX_0FC3_MOD_0): ... this.
539 (PREFIX_MOD_0_0FC7_REG_6): Rename to ...
540 (PREFIX_0FC7_REG_6_MOD_0): ... this.
541 (PREFIX_MOD_3_0FC7_REG_6): Rename to ...
542 (PREFIX_0FC7_REG_6_MOD_3): ... this.
543 (PREFIX_MOD_3_0FC7_REG_7): Rename to ...
544 (PREFIX_0FC7_REG_7_MOD_3): ... this.
545 (reg_table, prefix_table, mod_table, rm_table): Adjust
548 2019-11-04 Nick Clifton <nickc@redhat.com>
550 * v850-dis.c (get_v850_sreg_name): New function. Returns the name
551 of a v850 system register. Move the v850_sreg_names array into
553 (get_v850_reg_name): Likewise for ordinary register names.
554 (get_v850_vreg_name): Likewise for vector register names.
555 (get_v850_cc_name): Likewise for condition codes.
556 * get_v850_float_cc_name): Likewise for floating point condition
558 (get_v850_cacheop_name): Likewise for cache-ops.
559 (get_v850_prefop_name): Likewise for pref-ops.
560 (disassemble): Use the new accessor functions.
562 2019-10-30 Delia Burduv <delia.burduv@arm.com>
564 * aarch64-opc.c (print_immediate_offset_address): Don't print the
565 immediate for the writeback form of ldraa/ldrab if it is 0.
566 * aarch64-tbl.h: Updated the documentation for ADDR_SIMM10.
567 * aarch64-opc-2.c: Regenerated.
569 2019-10-30 Jan Beulich <jbeulich@suse.com>
571 * i386-gen.c (operand_type_shorthands): Delete.
572 (operand_type_init): Expand previous shorthands.
573 (set_bitfield_from_shorthand): Rename back to ...
574 (set_bitfield_from_cpu_flag_init): ... this. Drop processing
575 of operand_type_init[].
576 (set_bitfield): Adjust call to the above function.
577 * i386-opc.tbl (Reg8, Reg16, Reg32, Reg64, FloatAcc, FloatReg,
578 RegXMM, RegYMM, RegZMM): Define.
579 * i386-reg.tbl: Expand prior shorthands.
581 2019-10-30 Jan Beulich <jbeulich@suse.com>
583 * i386-gen.c (output_i386_opcode): Change order of fields
585 * i386-opc.h (struct insn_template): Move operands field.
586 Convert extension_opcode field to unsigned short.
587 * i386-tbl.h: Re-generate.
589 2019-10-30 Jan Beulich <jbeulich@suse.com>
591 * i386-gen.c (process_i386_opcode_modifier): Report bogus uses
593 * i386-opc.h (W): Extend comment.
594 * i386-opc.tbl (mov, movabs, movq): Drop W and adjust opcodes of
595 general purpose variants not allowing for byte operands.
596 * i386-tbl.h: Re-generate.
598 2019-10-29 Nick Clifton <nickc@redhat.com>
600 * tic30-dis.c (print_branch): Correct size of operand array.
602 2019-10-29 Nick Clifton <nickc@redhat.com>
604 * d30v-dis.c (print_insn): Check that operand index is valid
605 before attempting to access the operands array.
607 2019-10-29 Nick Clifton <nickc@redhat.com>
609 * ia64-opc.c (locate_opcode_ent): Prevent a negative shift when
610 locating the bit to be tested.
612 2019-10-29 Nick Clifton <nickc@redhat.com>
614 * s12z-dis.c (opr_emit_disassembly): Check for illegal register
616 (shift_size_table): Use a fixed size defined as S12Z_N_SIZES.
617 (print_insn_s12z): Check for illegal size values.
619 2019-10-28 Nick Clifton <nickc@redhat.com>
621 * csky-dis.c (csky_chars_to_number): Check for a negative
622 count. Use an unsigned integer to construct the return value.
624 2019-10-28 Nick Clifton <nickc@redhat.com>
626 * tic30-dis.c (OPERAND_BUFFER_LEN): Define. Use as length of
627 operand buffer. Set value to 15 not 13.
628 (get_register_operand): Use OPERAND_BUFFER_LEN.
629 (get_indirect_operand): Likewise.
630 (print_two_operand): Likewise.
631 (print_three_operand): Likewise.
632 (print_oar_insn): Likewise.
634 2019-10-28 Nick Clifton <nickc@redhat.com>
636 * ns32k-dis.c (bit_extract): Add sanitiy check of parameters.
637 (bit_extract_simple): Likewise.
638 (bit_copy): Likewise.
639 (pirnt_insn_ns32k): Ensure that uninitialised elements in the
640 index_offset array are not accessed.
642 2019-10-28 Nick Clifton <nickc@redhat.com>
644 * xgate-dis.c (print_insn): Fix decoding of the XGATE_OP_DYA
647 2019-10-25 Nick Clifton <nickc@redhat.com>
649 * rx-dis.c (print_insn_rx): Use parenthesis to ensure correct
650 access to opcodes.op array element.
652 2019-10-23 Nick Clifton <nickc@redhat.com>
654 * rx-dis.c (get_register_name): Fix spelling typo in error
656 (get_condition_name, get_flag_name, get_double_register_name)
657 (get_double_register_high_name, get_double_register_low_name)
658 (get_double_control_register_name, get_double_condition_name)
659 (get_opsize_name, get_size_name): Likewise.
661 2019-10-22 Nick Clifton <nickc@redhat.com>
663 * rx-dis.c (get_size_name): New function. Provides safe
664 access to name array.
665 (get_opsize_name): Likewise.
666 (print_insn_rx): Use the accessor functions.
668 2019-10-16 Nick Clifton <nickc@redhat.com>
670 * rx-dis.c (get_register_name): New function. Provides safe
671 access to name array.
672 (get_condition_name, get_flag_name, get_double_register_name)
673 (get_double_register_high_name, get_double_register_low_name)
674 (get_double_control_register_name, get_double_condition_name):
676 (print_insn_rx): Use the accessor functions.
678 2019-10-09 Nick Clifton <nickc@redhat.com>
681 * avr-dis.c (avr_operand): Fix construction of address for lds/sts
684 2019-10-07 Jan Beulich <jbeulich@suse.com>
686 * opcodes/i386-opc.tbl (movsd): Add Dword and IgnoreSize.
687 (cmpsd): Likewise. Move EsSeg to other operand.
688 * opcodes/i386-tbl.h: Re-generate.
690 2019-09-23 Alan Modra <amodra@gmail.com>
692 * m68k-dis.c: Include cpu-m68k.h
694 2019-09-23 Alan Modra <amodra@gmail.com>
696 * mips-dis.c: Include elfxx-mips.h. Move "elf-bfd.h" and
697 "elf/mips.h" earlier.
699 2018-09-20 Jan Beulich <jbeulich@suse.com>
702 * i386-opc.tbl (push, pop): Re-instate distinct Cpu64 templates
704 * i386-tbl.h: Re-generate.
706 2019-09-18 Alan Modra <amodra@gmail.com>
708 * arc-ext.c: Update throughout for bfd section macro changes.
710 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca>
712 * Makefile.in: Re-generate.
713 * configure: Re-generate.
715 2019-09-17 Maxim Blinov <maxim.blinov@embecosm.com>
717 * riscv-opc.c (riscv_opcodes): Change subset field
718 to insn_class field for all instructions.
719 (riscv_insn_types): Likewise.
721 2019-09-16 Phil Blundell <pb@pbcl.net>
723 * configure: Regenerated.
725 2019-09-10 Miod Vallat <miod@online.fr>
728 * m68k-opc.c: Correct aliases for tdivsl and tdivul.
730 2019-09-09 Phil Blundell <pb@pbcl.net>
732 binutils 2.33 branch created.
734 2019-09-03 Nick Clifton <nickc@redhat.com>
737 * tic30-dis.c (get_indirect_operand): Check for bufcnt being
738 greater than zero before indexing via (bufcnt -1).
740 2019-09-03 Nick Clifton <nickc@redhat.com>
743 * mmix-dis.c (MAX_REG_NAME_LEN): Define.
744 (MAX_SPEC_REG_NAME_LEN): Define.
745 (struct mmix_dis_info): Use defined constants for array lengths.
746 (get_reg_name): New function.
747 (get_sprec_reg_name): New function.
748 (print_insn_mmix): Use new functions.
750 2019-08-27 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
752 * arm-dis.c (mve_opcodes): Add entry for MVE_VMOV_VEC_TO_VEC.
753 (is_mve_undefined): Add case for MVE_VMOV_VEC_TO_VEC.
754 (print_insn_mve): Add condition to check Qm==Qn of VORR instruction.
756 2019-08-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
758 * aarch64-opc.c (aarch64_sys_regs): Update encoding of tfsre0_el1,
759 tfsr_el1, tfsr_el2, tfsr_el3, tfsr_el12.
760 (aarch64_sys_reg_supported_p): Update checks for the above.
762 2019-08-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
764 * arm-dis.c (struct mopcode32 mve_opcodes): Modify the mask for
765 cases MVE_SQRSHRL and MVE_UQRSHLL.
766 (print_insn_mve): Add case for specifier 'k' to check
767 specific bit of the instruction.
769 2019-08-07 Phillipe Antoine <p.antoine@catenacyber.fr>
772 * arc-dis.c (arc_insn_length): Return 0 rather than aborting when
773 encountering an unknown machine type.
774 (print_insn_arc): Handle arc_insn_length returning 0. In error
775 cases return -1 rather than calling abort.
777 2019-08-07 Jan Beulich <jbeulich@suse.com>
779 * i386-opc.tbl (fld, fstp): Drop FloatMF from extended forms.
780 (fldcw, fnstcw, fstcw, fnstsw, fstsw): Replace FloatMF by
782 * i386-tbl.h: Re-generate.
784 2019-08-05 Barnaby Wilks <barnaby.wilks@arm.com>
786 * arm-dis.c: Only accept signed variants of VQ(R)DMLAH and VQ(R)DMLASH
789 2019-07-30 Mel Chen <mel.chen@sifive.com>
791 * riscv-opc.c (riscv_opcodes): Set frsr, fssr, frcsr, fscsr, frrm,
792 fsrm, fsrmi, frflags, fsflags, fsflagsi to alias instructions.
794 * riscv-opc.c (riscv_opcodes): Adjust order of frsr, frcsr, fssr,
797 2019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
799 * arc-dis.c (skip_this_opcode): Check also for 0x07 major opcodes,
800 and MPY class instructions.
801 (parse_option): Add nps400 option.
802 (print_arc_disassembler_options): Add nps400 info.
804 2019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
806 * arc-ext-tbl.h (bspeek): Remove it, added to main table.
809 * arc-opc.c (RAD_CHK): Add.
810 * arc-tbl.h: Regenerate.
812 2019-07-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
814 * aarch64-opc.c (aarch64_sys_regs): Add gmid_el1 entry.
815 (aarch64_sys_reg_supported_p): Handle gmid_el1 encoding.
817 2019-07-22 Barnaby Wilks <barnaby.wilks@arm.com>
819 * arm-dis.c (is_mve_unpredictable): Stop marking some MVE
820 instructions as UNPREDICTABLE.
822 2019-07-19 Jose E. Marchesi <jose.marchesi@oracle.com>
824 * bpf-desc.c: Regenerated.
826 2019-07-17 Jan Beulich <jbeulich@suse.com>
828 * i386-gen.c (static_assert): Define.
830 * i386-opc.h (Opcode_Modifier_Max): Rename to ...
831 (Opcode_Modifier_Num): ... this.
834 2019-07-16 Jan Beulich <jbeulich@suse.com>
836 * i386-gen.c (operand_types): Move RegMem ...
837 (opcode_modifiers): ... here.
838 * i386-opc.h (RegMem): Move to opcode modifer enum.
839 (union i386_operand_type): Move regmem field ...
840 (struct i386_opcode_modifier): ... here.
841 * i386-opc.tbl (RegMem): Define.
842 (mov, movq): Move RegMem on segment, control, debug, and test
844 (pextrb): Move RegMem on register only flavors. Add IgnoreSize
845 to non-SSE2AVX flavor.
846 (extractps, pextrw, vcvtps2ph, vextractps, vpextrb, vpextrw):
847 Move RegMem on register only flavors. Drop IgnoreSize from
848 legacy encoding flavors.
849 (movss, movsd, vmovss, vmovsd): Drop RegMem from register only
851 (vpinsrb, vpinsrw): Drop IgnoreSize where still present on
852 register only flavors.
853 (vmovd): Move RegMem and drop IgnoreSize on register only
854 flavor. Change opcode and operand order to store form.
855 * opcodes/i386-init.h, i386-tbl.h: Re-generate.
857 2019-07-16 Jan Beulich <jbeulich@suse.com>
859 * i386-gen.c (operand_type_init, operand_types): Replace SReg
861 * i386-opc.h (SReg2, SReg3): Replace by ...
863 (union i386_operand_type): Replace sreg fields.
864 * i386-opc.tbl (mov, ): Use SReg.
865 (push, pop): Likewies. Drop i386 and x86-64 specific segment
867 * i386-reg.tbl (cs, ds, es, fs, gs, ss, flat): Use SReg.
868 * opcodes/i386-init.h, i386-tbl.h: Re-generate.
870 2019-07-15 Jose E. Marchesi <jose.marchesi@oracle.com>
872 * bpf-desc.c: Regenerate.
873 * bpf-opc.c: Likewise.
874 * bpf-opc.h: Likewise.
876 2019-07-14 Jose E. Marchesi <jose.marchesi@oracle.com>
878 * bpf-desc.c: Regenerate.
879 * bpf-opc.c: Likewise.
881 2019-07-10 Hans-Peter Nilsson <hp@bitrange.com>
883 * arm-dis.c (print_insn_coprocessor): Rename index to
886 2019-07-05 Kito Cheng <kito.cheng@sifive.com>
888 * riscv-opc.c (riscv_insn_types): Add r4 type.
890 * riscv-opc.c (riscv_insn_types): Add b and j type.
892 * opcodes/riscv-opc.c (riscv_insn_types): Remove incorrect
893 format for sb type and correct s type.
895 2019-07-02 Richard Sandiford <richard.sandiford@arm.com>
897 * aarch64-tbl.h (aarch64_opcode): Set C_SCAN_MOVPRFX for the
898 SVE FMOV alias of FCPY.
900 2019-07-02 Richard Sandiford <richard.sandiford@arm.com>
902 * aarch64-tbl.h (aarch64_opcode_table): Add C_MAX_ELEM flags
903 to SVE fcvtzs, fcvtzu, scvtf and ucvtf entries.
905 2019-07-02 Richard Sandiford <richard.sandiford@arm.com>
907 * aarch64-opc.c (verify_constraints): Skip GPRs when scanning the
908 registers in an instruction prefixed by MOVPRFX.
910 2019-07-01 Matthew Malcomson <matthew.malcomson@arm.com>
912 * aarch64-asm.c (aarch64_encode_variant_using_iclass): Use new
913 sve_size_13 icode to account for variant behaviour of
915 * aarch64-dis-2.c: Regenerate.
916 * aarch64-dis.c (aarch64_decode_variant_using_iclass): Use new
917 sve_size_13 icode to account for variant behaviour of
919 * aarch64-tbl.h (OP_SVE_VVV_HD_BS): Add new qualifier.
920 (OP_SVE_VVV_Q_D): Add new qualifier.
921 (OP_SVE_VVV_QHD_DBS): Remove now unused qualifier.
922 (struct aarch64_opcode): Split pmull{t,b} into those requiring
925 2019-07-01 Jan Beulich <jbeulich@suse.com>
927 * opcodes/i386-gen.c (operand_type_init): Remove
928 OPERAND_TYPE_VEC_IMM4 entry.
929 (operand_types): Remove Vec_Imm4.
930 * opcodes/i386-opc.h (Vec_Imm4): Delete.
931 (union i386_operand_type): Remove vec_imm4.
932 * i386-opc.tbl (vpermil2pd, vpermil2ps): Remove Vec_Imm4.
933 * opcodes/i386-init.h, i386-tbl.h: Re-generate.
935 2019-07-01 Jan Beulich <jbeulich@suse.com>
937 * i386-opc.tbl (lfence, mfence, sfence, monitor, mwait, vmcall,
938 vmlaunch, vmresume, vmxoff, vmfunc, xgetbv, xsetbv, swapgs,
939 rdtscp, clgi, invlpga, skinit, stgi, vmload, vmmcall, vmrun,
940 vmsave, montmul, xsha1, xsha256, xstorerng, xcryptecb,
941 xcryptcbc, xcryptctr, xcryptcfb, xcryptofb, xstore, clac, stac,
942 monitorx, mwaitx): Drop ImmExt from operand-less forms.
943 * i386-tbl.h: Re-generate.
945 2019-07-01 Jan Beulich <jbeulich@suse.com>
947 * i386-opc.tbl (and, or): Add Optimize to forms allowing two
949 * i386-tbl.h: Re-generate.
951 2019-07-01 Jan Beulich <jbeulich@suse.com>
953 * i386-opc.tbl (C): New.
954 (paddb, paddw, paddd, paddq, paddsb, paddsw, paddusb, paddusw,
955 pand, pcmpeqb, pcmpeqw, pcmpeqd, pmaddwd, pmulhw, pmullw,
956 por, pxor, andps, cmpeqps, cmpeqss, cmpneqps, cmpneqss,
957 cmpordps, cmpordss, cmpunordps, cmpunordss, orps, pavgb, pavgw,
958 pmaxsw, pmaxub, pminsw, pminub, pmulhuw, xorps, andpd, cmpeqpd,
959 cmpeqsd, cmpneqpd, cmpneqsd, cmpordpd, cmpordsd, cmpunordpd,
960 cmpunordsd, orpd, xorpd, pmuludq, vandpd, vandps, vcmpeq_ospd,
961 vcmpeq_osps, vcmpeq_ossd, vcmpeq_osss, vcmpeqpd, vcmpeqps,
962 vcmpeqsd, vcmpeqss, vcmpeq_uqpd, vcmpeq_uqps, vcmpeq_uqsd,
963 vcmpeq_uqss, vcmpeq_uspd, vcmpeq_usps, vcmpeq_ussd,
964 vcmpeq_usss, vcmpfalse_ospd, vcmpfalse_osps, vcmpfalse_ossd,
965 vcmpfalse_osss, vcmpfalsepd, vcmpfalseps, vcmpfalsesd,
966 vcmpfalsess, vcmpneq_oqpd, vcmpneq_oqps, vcmpneq_oqsd,
967 vcmpneq_oqss, vcmpneq_ospd, vcmpneq_osps, vcmpneq_ossd,
968 vcmpneq_osss, vcmpneqpd, vcmpneqps, vcmpneqsd, vcmpneqss,
969 vcmpneq_uspd, vcmpneq_usps, vcmpneq_ussd, vcmpneq_usss,
970 vcmpordpd, vcmpordps, vcmpordsd, vcmpord_spd, vcmpord_sps,
971 vcmpordss, vcmpord_ssd, vcmpord_sss, vcmptruepd, vcmptrueps,
972 vcmptruesd, vcmptruess, vcmptrue_uspd, vcmptrue_usps,
973 vcmptrue_ussd, vcmptrue_usss, vcmpunordpd, vcmpunordps,
974 vcmpunordsd, vcmpunord_spd, vcmpunord_sps, vcmpunordss,
975 vcmpunord_ssd, vcmpunord_sss, vorpd, vorps, vpaddsb, vpaddsw,
976 vpaddb, vpaddd, vpaddq, vpaddw, vpaddusb, vpaddusw, vpand,
977 vpavgb, vpavgw, vpcmpeqb, vpcmpeqd, vpcmpeqw, vpmaddwd,
978 vpmaxsw, vpmaxub, vpminsw, vpminub, vpmulhuw, vpmulhw, vpmullw,
979 vpmuludq, vpor, vpxor, vxorpd, vxorps): Add C to VEX-encoded
981 * i386-tbl.h: Re-generate.
983 2019-07-01 Jan Beulich <jbeulich@suse.com>
985 * i386-opc.tbl (and, or): Add Optimize to forms allowing two
987 * i386-tbl.h: Re-generate.
989 2019-07-01 Jan Beulich <jbeulich@suse.com>
991 * i386-dis-evex-prefix.h: Use PCLMUL for vpclmulqdq.
992 * i386-opc.tbl (vpclmullqlqdq, vpclmulhqlqdq, vpclmullqhqdq,
993 vpclmulhqhqdq): Add CpuVPCLMULQDQ flavors.
994 * i386-tbl.h: Re-generate.
996 2019-07-01 Jan Beulich <jbeulich@suse.com>
998 * i386-opc.tbl (vextractps, vpextrw, vpinsrw): Remove
999 Disp8MemShift from register only templates.
1000 * i386-tbl.h: Re-generate.
1002 2019-07-01 Jan Beulich <jbeulich@suse.com>
1004 * i386-dis.c (EXdScalarS, MOD_EVEX_0F10_PREFIX_1,
1005 MOD_EVEX_0F10_PREFIX_3, MOD_EVEX_0F11_PREFIX_1,
1006 MOD_EVEX_0F11_PREFIX_3, EVEX_W_0F10_P_1_M_0,
1007 EVEX_W_0F10_P_1_M_1, EVEX_W_0F10_P_3_M_0, EVEX_W_0F10_P_3_M_1,
1008 EVEX_W_0F11_P_1_M_0, EVEX_W_0F11_P_1_M_1, EVEX_W_0F11_P_3_M_0,
1009 EVEX_W_0F11_P_3_M_1): Delete.
1010 (EVEX_W_0F10_P_1, EVEX_W_0F10_P_3, EVEX_W_0F11_P_1,
1011 EVEX_W_0F11_P_3): New.
1012 * i386-dis-evex-mod.h: Remove MOD_EVEX_0F10_PREFIX_1,
1013 MOD_EVEX_0F10_PREFIX_3, MOD_EVEX_0F11_PREFIX_1, and
1014 MOD_EVEX_0F11_PREFIX_3 table entries.
1015 * i386-dis-evex-prefix.h: Adjust PREFIX_EVEX_0F10 and
1016 PREFIX_EVEX_0F11 table entries.
1017 * i386-dis-evex-w.h: Replace EVEX_W_0F10_P_1_M_{0,1},
1018 EVEX_W_0F10_P_3_M_{0,1}, EVEX_W_0F11_P_1_M_{0,1}, and
1019 EVEX_W_0F11_P_3_M_{0,1} table entries.
1021 2019-07-01 Jan Beulich <jbeulich@suse.com>
1023 * i386-dis.c (EXdVex, EXdVexS, EXqVex, EXqVexS, XMVex):
1026 2019-06-27 H.J. Lu <hongjiu.lu@intel.com>
1029 * i386-dis-evex-len.h: Add EVEX_LEN_0F38C6_REG_1_PREFIX_2,
1030 EVEX_LEN_0F38C6_REG_2_PREFIX_2, EVEX_LEN_0F38C6_REG_5_PREFIX_2,
1031 EVEX_LEN_0F38C6_REG_6_PREFIX_2, EVEX_LEN_0F38C7_R_1_P_2_W_0,
1032 EVEX_LEN_0F38C7_R_1_P_2_W_1, EVEX_LEN_0F38C7_R_2_P_2_W_0,
1033 EVEX_LEN_0F38C7_R_2_P_2_W_1, EVEX_LEN_0F38C7_R_5_P_2_W_0,
1034 EVEX_LEN_0F38C7_R_5_P_2_W_1, EVEX_LEN_0F38C7_R_6_P_2_W_0 and
1035 EVEX_LEN_0F38C7_R_6_P_2_W_1.
1036 * i386-dis-evex-prefix.h: Update PREFIX_EVEX_0F38C6_REG_1,
1037 PREFIX_EVEX_0F38C6_REG_2, PREFIX_EVEX_0F38C6_REG_5 and
1038 PREFIX_EVEX_0F38C6_REG_6 entries.
1039 * i386-dis-evex-w.h: Update EVEX_W_0F38C7_R_1_P_2,
1040 EVEX_W_0F38C7_R_2_P_2, EVEX_W_0F38C7_R_5_P_2 and
1041 EVEX_W_0F38C7_R_6_P_2 entries.
1042 * i386-dis.c: Add EVEX_LEN_0F38C6_REG_1_PREFIX_2,
1043 EVEX_LEN_0F38C6_REG_2_PREFIX_2, EVEX_LEN_0F38C6_REG_5_PREFIX_2,
1044 EVEX_LEN_0F38C6_REG_6_PREFIX_2, EVEX_LEN_0F38C7_R_1_P_2_W_0,
1045 EVEX_LEN_0F38C7_R_1_P_2_W_1, EVEX_LEN_0F38C7_R_2_P_2_W_0,
1046 EVEX_LEN_0F38C7_R_2_P_2_W_1, EVEX_LEN_0F38C7_R_5_P_2_W_0,
1047 EVEX_LEN_0F38C7_R_5_P_2_W_1, EVEX_LEN_0F38C7_R_6_P_2_W_0 and
1048 EVEX_LEN_0F38C7_R_6_P_2_W_1 enums.
1050 2019-06-27 Jan Beulich <jbeulich@suse.com>
1052 * i386-dis.c (VEX_LEN_0F2A_P_1, VEX_LEN_0F2A_P_3,
1053 VEX_LEN_0F2C_P_1, VEX_LEN_0F2C_P_3, VEX_LEN_0F2D_P_1,
1054 VEX_LEN_0F2D_P_3): Delete.
1055 (vex_len_table): Move vcvtsi2ss, vcvtsi2sd, vcvttss2si,
1056 vcvttsd2si, vcvtss2si, and vcvtsd2si leaf entries ...
1057 (prefix_table): ... here.
1059 2019-06-27 Jan Beulich <jbeulich@suse.com>
1061 * i386-dis.c (Iq): Delete.
1063 (reg_table): Use it for lwpins, lwpval, and bextr. Use Edq for
1065 (vex_len_table): Use Edq for vcvtsi2ss, vcvtsi2sd. Use Gdq for
1066 vcvttss2si, vcvttsd2si, vcvtss2si, and vcvtsd2si.
1067 (OP_E_memory): Also honor needindex when deciding whether an
1068 address size prefix needs printing.
1069 (OP_I): Remove handling of q_mode. Add handling of d_mode.
1071 2019-06-26 Jim Wilson <jimw@sifive.com>
1074 * riscv-dis.c (riscv_disasemble_insn): Set info->endian_code.
1075 Set info->display_endian to info->endian_code.
1077 2019-06-25 Jan Beulich <jbeulich@suse.com>
1079 * i386-gen.c (operand_type_init): Correct OPERAND_TYPE_DEBUG
1080 entry. Drop OPERAND_TYPE_ACC entry. Add OPERAND_TYPE_ACC8 and
1081 OPERAND_TYPE_ACC16 entries. Adjust OPERAND_TYPE_ACC32 and
1082 OPERAND_TYPE_ACC64 entries.
1083 * i386-init.h: Re-generate.
1085 2019-06-25 Jan Beulich <jbeulich@suse.com>
1087 * i386-dis.c (Edqa, dqa_mode, EVEX_W_0F2A_P_1, EVEX_W_0F7B_P_1):
1089 (intel_operand_size, OP_E_register, OP_E_memory): Drop handling
1091 * i386-dis-evex-prefix.h: Move vcvtsi2ss and vcvtusi2ss leaf
1093 * i386-dis-evex-w.h: Drop EVEX_W_0F2A_P_1 and EVEX_W_0F7B_P_1
1094 entries. Use Edq for vcvtsi2sd and vcvtusi2sd.
1096 2019-06-25 Jan Beulich <jbeulich@suse.com>
1098 * i386-dis.c (OP_I64): Forword more cases to OP_I(). Drop local
1101 2019-06-25 Jan Beulich <jbeulich@suse.com>
1103 * i386-dis.c (prefix_table): Use Edq for cvtsi2ss and cvtsi2sd.
1104 Use Gdq for cvttss2si, cvttsd2si, cvtss2si, and cvtsd2si, and
1106 * i386-opc.tbl (movnti): Add IgnoreSize.
1107 * i386-tbl.h: Re-generate.
1109 2019-06-25 Jan Beulich <jbeulich@suse.com>
1111 * i386-opc.tbl (and): Mark Imm8S form for optimization.
1112 * i386-tbl.h: Re-generate.
1114 2019-06-21 H.J. Lu <hongjiu.lu@intel.com>
1116 * i386-dis-evex.h: Break into ...
1117 * i386-dis-evex-len.h: New file.
1118 * i386-dis-evex-mod.h: Likewise.
1119 * i386-dis-evex-prefix.h: Likewise.
1120 * i386-dis-evex-reg.h: Likewise.
1121 * i386-dis-evex-w.h: Likewise.
1122 * i386-dis.c: Include i386-dis-evex-reg.h, i386-dis-evex-prefix.h,
1123 i386-dis-evex.h, i386-dis-evex-len.h, i386-dis-evex-w.h and
1124 i386-dis-evex-mod.h.
1126 2019-06-19 H.J. Lu <hongjiu.lu@intel.com>
1129 * i386-dis-evex.h (evex_table): Update EVEX_W_0F3819_P_2,
1130 EVEX_W_0F381A_P_2, EVEX_W_0F381B_P_2, EVEX_W_0F385A_P_2 and
1132 (evex_len_table): Add EVEX_LEN_0F3819_P_2_W_0,
1133 EVEX_LEN_0F3819_P_2_W_1, EVEX_LEN_0F381A_P_2_W_0,
1134 EVEX_LEN_0F381A_P_2_W_1, EVEX_LEN_0F381B_P_2_W_0,
1135 EVEX_LEN_0F381B_P_2_W_1, EVEX_LEN_0F385A_P_2_W_0,
1136 EVEX_LEN_0F385A_P_2_W_1, EVEX_LEN_0F385B_P_2_W_0 and
1137 EVEX_LEN_0F385B_P_2_W_1.
1138 * i386-dis.c (EVEX_LEN_0F3819_P_2_W_0): New enum.
1139 (EVEX_LEN_0F3819_P_2_W_1): Likewise.
1140 (EVEX_LEN_0F381A_P_2_W_0): Likewise.
1141 (EVEX_LEN_0F381A_P_2_W_1): Likewise.
1142 (EVEX_LEN_0F381B_P_2_W_0): Likewise.
1143 (EVEX_LEN_0F381B_P_2_W_1): Likewise.
1144 (EVEX_LEN_0F385A_P_2_W_0): Likewise.
1145 (EVEX_LEN_0F385A_P_2_W_1): Likewise.
1146 (EVEX_LEN_0F385B_P_2_W_0): Likewise.
1147 (EVEX_LEN_0F385B_P_2_W_1): Likewise.
1149 2019-06-17 H.J. Lu <hongjiu.lu@intel.com>
1152 * i386-dis-evex.h (evex_table): Update EVEX_W_0F3A23_P_2,
1153 EVEX_W_0F3A38_P_2, EVEX_W_0F3A39_P_2, EVEX_W_0F3A3A_P_2,
1154 EVEX_W_0F3A3B_P_2 and EVEX_W_0F3A43_P_2.
1155 (evex_len_table): Add EVEX_LEN_0F3A23_P_2_W_0,
1156 EVEX_LEN_0F3A23_P_2_W_1, EVEX_LEN_0F3A38_P_2_W_0,
1157 EVEX_LEN_0F3A38_P_2_W_1, EVEX_LEN_0F3A39_P_2_W_0,
1158 EVEX_LEN_0F3A39_P_2_W_1, EVEX_LEN_0F3A3A_P_2_W_0,
1159 EVEX_LEN_0F3A3A_P_2_W_1, EVEX_LEN_0F3A3B_P_2_W_0,
1160 EVEX_LEN_0F3A3B_P_2_W_1, EVEX_LEN_0F3A43_P_2_W_0 and
1161 EVEX_LEN_0F3A43_P_2_W_1.
1162 * i386-dis.c (EVEX_LEN_0F3A23_P_2_W_0): New enum.
1163 (EVEX_LEN_0F3A23_P_2_W_1): Likewise.
1164 (EVEX_LEN_0F3A38_P_2_W_0): Likewise.
1165 (EVEX_LEN_0F3A38_P_2_W_1): Likewise.
1166 (EVEX_LEN_0F3A39_P_2_W_0): Likewise.
1167 (EVEX_LEN_0F3A39_P_2_W_1): Likewise.
1168 (EVEX_LEN_0F3A3A_P_2_W_0): Likewise.
1169 (EVEX_LEN_0F3A3A_P_2_W_1): Likewise.
1170 (EVEX_LEN_0F3A3B_P_2_W_0): Likewise.
1171 (EVEX_LEN_0F3A3B_P_2_W_1): Likewise.
1172 (EVEX_LEN_0F3A43_P_2_W_0): Likewise.
1173 (EVEX_LEN_0F3A43_P_2_W_1): Likewise.
1175 2019-06-14 Nick Clifton <nickc@redhat.com>
1177 * po/fr.po; Updated French translation.
1179 2019-06-13 Stafford Horne <shorne@gmail.com>
1181 * or1k-asm.c: Regenerated.
1182 * or1k-desc.c: Regenerated.
1183 * or1k-desc.h: Regenerated.
1184 * or1k-dis.c: Regenerated.
1185 * or1k-ibld.c: Regenerated.
1186 * or1k-opc.c: Regenerated.
1187 * or1k-opc.h: Regenerated.
1188 * or1k-opinst.c: Regenerated.
1190 2019-06-12 Peter Bergner <bergner@linux.ibm.com>
1192 * ppc-opc.c (powerpc_opcodes) <ldmx>: Delete mnemonic.
1194 2019-06-05 H.J. Lu <hongjiu.lu@intel.com>
1197 * i386-dis-evex.h (evex_table): Update EVEX_W_0F3A18_P_2,
1198 EVEX_W_0F3A19_P_2, EVEX_W_0F3A1A_P_2 and EVEX_W_0F3A1B_P_2.
1199 (evex_len_table): EVEX_LEN_0F3A18_P_2_W_0,
1200 EVEX_LEN_0F3A18_P_2_W_1, EVEX_LEN_0F3A19_P_2_W_0,
1201 EVEX_LEN_0F3A19_P_2_W_1, EVEX_LEN_0F3A1A_P_2_W_0,
1202 EVEX_LEN_0F3A1A_P_2_W_1, EVEX_LEN_0F3A1B_P_2_W_0,
1203 EVEX_LEN_0F3A1B_P_2_W_1.
1204 * i386-dis.c (EVEX_LEN_0F3A18_P_2_W_0): New enum.
1205 (EVEX_LEN_0F3A18_P_2_W_1): Likewise.
1206 (EVEX_LEN_0F3A19_P_2_W_0): Likewise.
1207 (EVEX_LEN_0F3A19_P_2_W_1): Likewise.
1208 (EVEX_LEN_0F3A1A_P_2_W_0): Likewise.
1209 (EVEX_LEN_0F3A1A_P_2_W_1): Likewise.
1210 (EVEX_LEN_0F3A1B_P_2_W_0): Likewise.
1211 (EVEX_LEN_0F3A1B_P_2_W_1): Likewise.
1213 2019-06-04 H.J. Lu <hongjiu.lu@intel.com>
1216 * i386-dis.c (print_insn): Check for unused VEX.vvvv and
1217 EVEX.vvvv when disassembling VEX and EVEX instructions.
1218 (OP_VEX): Set vex.register_specifier to 0 after readding
1219 vex.register_specifier.
1220 (OP_Vex_2src_1): Likewise.
1221 (OP_Vex_2src_2): Likewise.
1222 (OP_LWP_E): Likewise.
1223 (OP_EX_Vex): Don't check vex.register_specifier.
1224 (OP_XMM_Vex): Likewise.
1226 2019-06-04 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1227 Lili Cui <lili.cui@intel.com>
1229 * i386-dis.c (enum): Add PREFIX_EVEX_0F3868, EVEX_W_0F3868_P_3.
1230 * i386-dis-evex.h (evex_table): Add AVX512_VP2INTERSECT
1232 * i386-gen.c (cpu_flag_init): Add CPU_AVX512_VP2INTERSECT_FLAGS,
1233 CPU_ANY_AVX512_VP2INTERSECT_FLAGS.
1234 (cpu_flags): Add CpuAVX512_VP2INTERSECT.
1235 * i386-opc.h (enum): Add CpuAVX512_VP2INTERSECT.
1236 (i386_cpu_flags): Add cpuavx512_vp2intersect.
1237 * i386-opc.tbl: Add AVX512_VP2INTERSECT insns.
1238 * i386-init.h: Regenerated.
1239 * i386-tbl.h: Likewise.
1241 2019-06-04 Xuepeng Guo <xuepeng.guo@intel.com>
1242 Lili Cui <lili.cui@intel.com>
1244 * doc/c-i386.texi: Document enqcmd.
1245 * testsuite/gas/i386/enqcmd-intel.d: New file.
1246 * testsuite/gas/i386/enqcmd-inval.l: Likewise.
1247 * testsuite/gas/i386/enqcmd-inval.s: Likewise.
1248 * testsuite/gas/i386/enqcmd.d: Likewise.
1249 * testsuite/gas/i386/enqcmd.s: Likewise.
1250 * testsuite/gas/i386/x86-64-enqcmd-intel.d: Likewise.
1251 * testsuite/gas/i386/x86-64-enqcmd-inval.l: Likewise.
1252 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Likewise.
1253 * testsuite/gas/i386/x86-64-enqcmd.d: Likewise.
1254 * testsuite/gas/i386/x86-64-enqcmd.s: Likewise.
1255 * testsuite/gas/i386/i386.exp: Run enqcmd-intel, enqcmd-inval,
1256 enqcmd, x86-64-enqcmd-intel, x86-64-enqcmd-inval,
1259 2019-06-04 Alan Hayward <alan.hayward@arm.com>
1261 * arm-dis.c (is_mve_unpredictable): Remove spurious paranthesis.
1263 2019-06-03 Alan Modra <amodra@gmail.com>
1265 * ppc-dis.c (prefix_opcd_indices): Correct size.
1267 2019-05-28 H.J. Lu <hongjiu.lu@intel.com>
1270 * i386-opc.tbl: Add CheckRegSize to AVX512_BF16 instructions with
1272 * i386-tbl.h: Regenerated.
1274 2019-05-24 Alan Modra <amodra@gmail.com>
1276 * po/POTFILES.in: Regenerate.
1278 2019-05-24 Peter Bergner <bergner@linux.ibm.com>
1279 Alan Modra <amodra@gmail.com>
1281 * ppc-opc.c (insert_d34, extract_d34, insert_nsi34, extract_nsi34),
1282 (insert_pcrel, extract_pcrel, extract_pcrel0): New functions.
1283 (extract_esync, extract_raq, extract_tbr, extract_sxl): Comment.
1284 (powerpc_operands <D34, SI34, NSI34, PRA0, PRAQ, PCREL, PCREL0,
1285 XTOP>): Define and add entries.
1286 (P8LS, PMLS, P_D_MASK, P_DRAPCREL_MASK): Define.
1287 (prefix_opcodes): Add pli, paddi, pla, psubi, plwz, plbz, pstw,
1288 pstb, plhz, plha, psth, plfs, plfd, pstfs, pstfd, plq, plxsd,
1289 plxssp, pld, plwa, pstxsd, pstxssp, pstxv, pstd, and pstq.
1291 2019-05-24 Peter Bergner <bergner@linux.ibm.com>
1292 Alan Modra <amodra@gmail.com>
1294 * ppc-dis.c (ppc_opts): Add "future" entry.
1295 (PREFIX_OPCD_SEGS): Define.
1296 (prefix_opcd_indices): New array.
1297 (disassemble_init_powerpc): Initialize prefix_opcd_indices.
1298 (lookup_prefix): New function.
1299 (print_insn_powerpc): Handle 64-bit prefix instructions.
1300 * ppc-opc.c (PREFIX_OP, PREFIX_FORM, SUFFIX_MASK, PREFIX_MASK),
1301 (PMRR, POWERXX): Define.
1302 (prefix_opcodes): New instruction table.
1303 (prefix_num_opcodes): New constant.
1305 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
1307 * configure.ac (SHARED_DEPENDENCIES): Add case for bfd_bpf_arch.
1308 * configure: Regenerated.
1309 * Makefile.am: Add rules for the files generated from cpu/bpf.cpu
1311 (HFILES): Add bpf-desc.h and bpf-opc.h.
1312 (TARGET_LIBOPCODES_CFILES): Add bpf-asm.c, bpf-desc.c, bpf-dis.c,
1313 bpf-ibld.c and bpf-opc.c.
1315 * Makefile.in: Regenerated.
1316 * disassemble.c (ARCH_bpf): Define.
1317 (disassembler): Add case for bfd_arch_bpf.
1318 (disassemble_init_for_target): Likewise.
1319 (enum epbf_isa_attr): Define.
1320 * disassemble.h: extern print_insn_bpf.
1321 * bpf-asm.c: Generated.
1322 * bpf-opc.h: Likewise.
1323 * bpf-opc.c: Likewise.
1324 * bpf-ibld.c: Likewise.
1325 * bpf-dis.c: Likewise.
1326 * bpf-desc.h: Likewise.
1327 * bpf-desc.c: Likewise.
1329 2019-05-21 Sudakshina Das <sudi.das@arm.com>
1331 * arm-dis.c (coprocessor_opcodes): New instructions for VMRS
1332 and VMSR with the new operands.
1334 2019-05-21 Sudakshina Das <sudi.das@arm.com>
1336 * arm-dis.c (enum mve_instructions): New enum
1337 for csinc, csinv, csneg, csel, cset, csetm, cinv, cinv
1339 (mve_opcodes): New instructions as above.
1340 (is_mve_encoding_conflict): Add cases for csinc, csinv,
1342 (print_insn_mve): Accept new %<bitfield>c and %<bitfield>C.
1344 2019-05-21 Sudakshina Das <sudi.das@arm.com>
1346 * arm-dis.c (emun mve_instructions): Updated for new instructions.
1347 (mve_opcodes): New instructions for asrl, lsll, lsrl, sqrshrl,
1348 sqrshr, sqshl, sqshll, srshr, srshrl, uqrshll, uqrshl, uqshll,
1349 uqshl, urshrl and urshr.
1350 (is_mve_okay_in_it): Add new instructions to TRUE list.
1351 (is_mve_unpredictable): Add cases for UNPRED_R13 and UNPRED_R15.
1352 (print_insn_mve): Updated to accept new %j,
1353 %<bitfield>m and %<bitfield>n patterns.
1355 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
1357 * mips-opc.c (mips_builtin_opcodes): Change source register
1358 constraint for DAUI.
1360 2019-05-20 Nick Clifton <nickc@redhat.com>
1362 * po/fr.po: Updated French translation.
1364 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1365 Michael Collison <michael.collison@arm.com>
1367 * arm-dis.c (thumb32_opcodes): Add new instructions.
1368 (enum mve_instructions): Likewise.
1369 (enum mve_undefined): Add new reasons.
1370 (is_mve_encoding_conflict): Handle new instructions.
1371 (is_mve_undefined): Likewise.
1372 (is_mve_unpredictable): Likewise.
1373 (print_mve_undefined): Likewise.
1374 (print_mve_size): Likewise.
1376 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1377 Michael Collison <michael.collison@arm.com>
1379 * arm-dis.c (thumb32_opcodes): Add new instructions.
1380 (enum mve_instructions): Likewise.
1381 (is_mve_encoding_conflict): Handle new instructions.
1382 (is_mve_undefined): Likewise.
1383 (is_mve_unpredictable): Likewise.
1384 (print_mve_size): Likewise.
1386 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1387 Michael Collison <michael.collison@arm.com>
1389 * arm-dis.c (thumb32_opcodes): Add new instructions.
1390 (enum mve_instructions): Likewise.
1391 (is_mve_encoding_conflict): Likewise.
1392 (is_mve_unpredictable): Likewise.
1393 (print_mve_size): Likewise.
1395 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1396 Michael Collison <michael.collison@arm.com>
1398 * arm-dis.c (thumb32_opcodes): Add new instructions.
1399 (enum mve_instructions): Likewise.
1400 (is_mve_encoding_conflict): Handle new instructions.
1401 (is_mve_undefined): Likewise.
1402 (is_mve_unpredictable): Likewise.
1403 (print_mve_size): Likewise.
1405 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1406 Michael Collison <michael.collison@arm.com>
1408 * arm-dis.c (thumb32_opcodes): Add new instructions.
1409 (enum mve_instructions): Likewise.
1410 (is_mve_encoding_conflict): Handle new instructions.
1411 (is_mve_undefined): Likewise.
1412 (is_mve_unpredictable): Likewise.
1413 (print_mve_size): Likewise.
1414 (print_insn_mve): Likewise.
1416 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1417 Michael Collison <michael.collison@arm.com>
1419 * arm-dis.c (thumb32_opcodes): Add new instructions.
1420 (print_insn_thumb32): Handle new instructions.
1422 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1423 Michael Collison <michael.collison@arm.com>
1425 * arm-dis.c (enum mve_instructions): Add new instructions.
1426 (enum mve_undefined): Add new reasons.
1427 (is_mve_encoding_conflict): Handle new instructions.
1428 (is_mve_undefined): Likewise.
1429 (is_mve_unpredictable): Likewise.
1430 (print_mve_undefined): Likewise.
1431 (print_mve_size): Likewise.
1432 (print_mve_shift_n): Likewise.
1433 (print_insn_mve): Likewise.
1435 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1436 Michael Collison <michael.collison@arm.com>
1438 * arm-dis.c (enum mve_instructions): Add new instructions.
1439 (is_mve_encoding_conflict): Handle new instructions.
1440 (is_mve_unpredictable): Likewise.
1441 (print_mve_rotate): Likewise.
1442 (print_mve_size): Likewise.
1443 (print_insn_mve): Likewise.
1445 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1446 Michael Collison <michael.collison@arm.com>
1448 * arm-dis.c (enum mve_instructions): Add new instructions.
1449 (is_mve_encoding_conflict): Handle new instructions.
1450 (is_mve_unpredictable): Likewise.
1451 (print_mve_size): Likewise.
1452 (print_insn_mve): Likewise.
1454 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1455 Michael Collison <michael.collison@arm.com>
1457 * arm-dis.c (enum mve_instructions): Add new instructions.
1458 (enum mve_undefined): Add new reasons.
1459 (is_mve_encoding_conflict): Handle new instructions.
1460 (is_mve_undefined): Likewise.
1461 (is_mve_unpredictable): Likewise.
1462 (print_mve_undefined): Likewise.
1463 (print_mve_size): Likewise.
1464 (print_insn_mve): Likewise.
1466 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1467 Michael Collison <michael.collison@arm.com>
1469 * arm-dis.c (enum mve_instructions): Add new instructions.
1470 (is_mve_encoding_conflict): Handle new instructions.
1471 (is_mve_undefined): Likewise.
1472 (is_mve_unpredictable): Likewise.
1473 (print_mve_size): Likewise.
1474 (print_insn_mve): Likewise.
1476 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1477 Michael Collison <michael.collison@arm.com>
1479 * arm-dis.c (enum mve_instructions): Add new instructions.
1480 (enum mve_unpredictable): Add new reasons.
1481 (enum mve_undefined): Likewise.
1482 (is_mve_okay_in_it): Handle new isntructions.
1483 (is_mve_encoding_conflict): Likewise.
1484 (is_mve_undefined): Likewise.
1485 (is_mve_unpredictable): Likewise.
1486 (print_mve_vmov_index): Likewise.
1487 (print_simd_imm8): Likewise.
1488 (print_mve_undefined): Likewise.
1489 (print_mve_unpredictable): Likewise.
1490 (print_mve_size): Likewise.
1491 (print_insn_mve): Likewise.
1493 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1494 Michael Collison <michael.collison@arm.com>
1496 * arm-dis.c (enum mve_instructions): Add new instructions.
1497 (enum mve_unpredictable): Add new reasons.
1498 (enum mve_undefined): Likewise.
1499 (is_mve_encoding_conflict): Handle new instructions.
1500 (is_mve_undefined): Likewise.
1501 (is_mve_unpredictable): Likewise.
1502 (print_mve_undefined): Likewise.
1503 (print_mve_unpredictable): Likewise.
1504 (print_mve_rounding_mode): Likewise.
1505 (print_mve_vcvt_size): Likewise.
1506 (print_mve_size): Likewise.
1507 (print_insn_mve): Likewise.
1509 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1510 Michael Collison <michael.collison@arm.com>
1512 * arm-dis.c (enum mve_instructions): Add new instructions.
1513 (enum mve_unpredictable): Add new reasons.
1514 (enum mve_undefined): Likewise.
1515 (is_mve_undefined): Handle new instructions.
1516 (is_mve_unpredictable): Likewise.
1517 (print_mve_undefined): Likewise.
1518 (print_mve_unpredictable): Likewise.
1519 (print_mve_size): Likewise.
1520 (print_insn_mve): Likewise.
1522 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1523 Michael Collison <michael.collison@arm.com>
1525 * arm-dis.c (enum mve_instructions): Add new instructions.
1526 (enum mve_undefined): Add new reasons.
1527 (insns): Add new instructions.
1528 (is_mve_encoding_conflict):
1529 (print_mve_vld_str_addr): New print function.
1530 (is_mve_undefined): Handle new instructions.
1531 (is_mve_unpredictable): Likewise.
1532 (print_mve_undefined): Likewise.
1533 (print_mve_size): Likewise.
1534 (print_insn_coprocessor_1): Handle MVE VLDR, VSTR instructions.
1535 (print_insn_mve): Handle new operands.
1537 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1538 Michael Collison <michael.collison@arm.com>
1540 * arm-dis.c (enum mve_instructions): Add new instructions.
1541 (enum mve_unpredictable): Add new reasons.
1542 (is_mve_encoding_conflict): Handle new instructions.
1543 (is_mve_unpredictable): Likewise.
1544 (mve_opcodes): Add new instructions.
1545 (print_mve_unpredictable): Handle new reasons.
1546 (print_mve_register_blocks): New print function.
1547 (print_mve_size): Handle new instructions.
1548 (print_insn_mve): Likewise.
1550 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1551 Michael Collison <michael.collison@arm.com>
1553 * arm-dis.c (enum mve_instructions): Add new instructions.
1554 (enum mve_unpredictable): Add new reasons.
1555 (enum mve_undefined): Likewise.
1556 (is_mve_encoding_conflict): Handle new instructions.
1557 (is_mve_undefined): Likewise.
1558 (is_mve_unpredictable): Likewise.
1559 (coprocessor_opcodes): Move NEON VDUP from here...
1560 (neon_opcodes): ... to here.
1561 (mve_opcodes): Add new instructions.
1562 (print_mve_undefined): Handle new reasons.
1563 (print_mve_unpredictable): Likewise.
1564 (print_mve_size): Handle new instructions.
1565 (print_insn_neon): Handle vdup.
1566 (print_insn_mve): Handle new operands.
1568 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1569 Michael Collison <michael.collison@arm.com>
1571 * arm-dis.c (enum mve_instructions): Add new instructions.
1572 (enum mve_unpredictable): Add new values.
1573 (mve_opcodes): Add new instructions.
1574 (vec_condnames): New array with vector conditions.
1575 (mve_predicatenames): New array with predicate suffixes.
1576 (mve_vec_sizename): New array with vector sizes.
1577 (enum vpt_pred_state): New enum with vector predication states.
1578 (struct vpt_block): New struct type for vpt blocks.
1579 (vpt_block_state): Global struct to keep track of state.
1580 (mve_extract_pred_mask): New helper function.
1581 (num_instructions_vpt_block): Likewise.
1582 (mark_outside_vpt_block): Likewise.
1583 (mark_inside_vpt_block): Likewise.
1584 (invert_next_predicate_state): Likewise.
1585 (update_next_predicate_state): Likewise.
1586 (update_vpt_block_state): Likewise.
1587 (is_vpt_instruction): Likewise.
1588 (is_mve_encoding_conflict): Add entries for new instructions.
1589 (is_mve_unpredictable): Likewise.
1590 (print_mve_unpredictable): Handle new cases.
1591 (print_instruction_predicate): Likewise.
1592 (print_mve_size): New function.
1593 (print_vec_condition): New function.
1594 (print_insn_mve): Handle vpt blocks and new print operands.
1596 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1598 * arm-dis.c (print_insn_coprocessor_1): Disable the use of coprocessors
1599 8, 14 and 15 for Armv8.1-M Mainline.
1601 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1602 Michael Collison <michael.collison@arm.com>
1604 * arm-dis.c (enum mve_instructions): New enum.
1605 (enum mve_unpredictable): Likewise.
1606 (enum mve_undefined): Likewise.
1607 (struct mopcode32): New struct.
1608 (is_mve_okay_in_it): New function.
1609 (is_mve_architecture): Likewise.
1610 (arm_decode_field): Likewise.
1611 (arm_decode_field_multiple): Likewise.
1612 (is_mve_encoding_conflict): Likewise.
1613 (is_mve_undefined): Likewise.
1614 (is_mve_unpredictable): Likewise.
1615 (print_mve_undefined): Likewise.
1616 (print_mve_unpredictable): Likewise.
1617 (print_insn_coprocessor_1): Use arm_decode_field_multiple.
1618 (print_insn_mve): New function.
1619 (print_insn_thumb32): Handle MVE architecture.
1620 (select_arm_features): Force thumb for Armv8.1-m Mainline.
1622 2019-05-10 Nick Clifton <nickc@redhat.com>
1625 * ia64-opc.c (ia64_find_matching_opcode): Check for reaching the
1626 end of the table prematurely.
1628 2019-05-10 Faraz Shahbazker <fshahbazker@wavecomp.com>
1630 * mips-opc.c (mips_opcodes): Enable ADD, SUB, DADD and DSUB
1633 2019-05-11 Alan Modra <amodra@gmail.com>
1635 * ppc-dis.c (print_insn_powerpc) Don't skip optional operands
1636 when -Mraw is in effect.
1638 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1640 * aarch64-dis-2.c: Regenerate.
1641 * aarch64-tbl.h (OP_SVE_BBU): New variant set.
1642 (OP_SVE_BBB): New variant set.
1643 (OP_SVE_DDDD): New variant set.
1644 (OP_SVE_HHH): New variant set.
1645 (OP_SVE_HHHU): New variant set.
1646 (OP_SVE_SSS): New variant set.
1647 (OP_SVE_SSSU): New variant set.
1648 (OP_SVE_SHH): New variant set.
1649 (OP_SVE_SBBU): New variant set.
1650 (OP_SVE_DSS): New variant set.
1651 (OP_SVE_DHHU): New variant set.
1652 (OP_SVE_VMV_HSD_BHS): New variant set.
1653 (OP_SVE_VVU_HSD_BHS): New variant set.
1654 (OP_SVE_VVVU_SD_BH): New variant set.
1655 (OP_SVE_VVVU_BHSD): New variant set.
1656 (OP_SVE_VVV_QHD_DBS): New variant set.
1657 (OP_SVE_VVV_HSD_BHS): New variant set.
1658 (OP_SVE_VVV_HSD_BHS2): New variant set.
1659 (OP_SVE_VVV_BHS_HSD): New variant set.
1660 (OP_SVE_VV_BHS_HSD): New variant set.
1661 (OP_SVE_VVV_SD): New variant set.
1662 (OP_SVE_VVU_BHS_HSD): New variant set.
1663 (OP_SVE_VZVV_SD): New variant set.
1664 (OP_SVE_VZVV_BH): New variant set.
1665 (OP_SVE_VZV_SD): New variant set.
1666 (aarch64_opcode_table): Add sve2 instructions.
1668 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1670 * aarch64-asm-2.c: Regenerated.
1671 * aarch64-dis-2.c: Regenerated.
1672 * aarch64-opc-2.c: Regenerated.
1673 * aarch64-opc.c (operand_general_constraint_met_p): Constraint checking
1674 for SVE_SHLIMM_UNPRED_22.
1675 (aarch64_print_operand): Add printing for SVE_SHLIMM_UNPRED_22.
1676 * aarch64-tbl.h (AARCH64_OPERANDS): Use new SVE_SHLIMM_UNPRED_22
1679 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1681 * aarch64-asm.c (aarch64_encode_variant_using_iclass): Handle
1682 sve_size_tsz_bhs iclass encode.
1683 * aarch64-dis.c (aarch64_decode_variant_using_iclass): Handle
1684 sve_size_tsz_bhs iclass decode.
1686 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1688 * aarch64-asm-2.c: Regenerated.
1689 * aarch64-dis-2.c: Regenerated.
1690 * aarch64-opc-2.c: Regenerated.
1691 * aarch64-opc.c (operand_general_constraint_met_p): Constraint checking
1692 for SVE_Zm4_11_INDEX.
1693 (aarch64_print_operand): Add printing for SVE_Zm4_11_INDEX.
1694 (fields): Handle SVE_i2h field.
1695 * aarch64-opc.h (enum aarch64_field_kind): New SVE_i2h field.
1696 * aarch64-tbl.h (AARCH64_OPERANDS): Use new SVE_Zm4_11_INDEX operand.
1698 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1700 * aarch64-asm.c (aarch64_encode_variant_using_iclass): Handle
1701 sve_shift_tsz_bhsd iclass encode.
1702 * aarch64-dis.c (aarch64_decode_variant_using_iclass): Handle
1703 sve_shift_tsz_bhsd iclass decode.
1705 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1707 * aarch64-asm-2.c: Regenerated.
1708 * aarch64-dis-2.c: Regenerated.
1709 * aarch64-opc-2.c: Regenerated.
1710 * aarch64-asm.c (aarch64_ins_sve_shrimm):
1711 (aarch64_encode_variant_using_iclass): Handle
1712 sve_shift_tsz_hsd iclass encode.
1713 * aarch64-dis.c (aarch64_decode_variant_using_iclass): Handle
1714 sve_shift_tsz_hsd iclass decode.
1715 * aarch64-opc.c (operand_general_constraint_met_p): Constraint checking
1716 for SVE_SHRIMM_UNPRED_22.
1717 (aarch64_print_operand): Add printing for SVE_SHRIMM_UNPRED_22.
1718 * aarch64-tbl.h (AARCH64_OPERANDS): Use new SVE_SHRIMM_UNPRED_22
1721 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1723 * aarch64-asm.c (aarch64_encode_variant_using_iclass): Handle
1724 sve_size_013 iclass encode.
1725 * aarch64-dis.c (aarch64_decode_variant_using_iclass): Handle
1726 sve_size_013 iclass decode.
1728 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1730 * aarch64-asm.c (aarch64_encode_variant_using_iclass): Handle
1731 sve_size_bh iclass encode.
1732 * aarch64-dis.c (aarch64_decode_variant_using_iclass): Handle
1733 sve_size_bh iclass decode.
1735 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1737 * aarch64-asm.c (aarch64_encode_variant_using_iclass): Handle
1738 sve_size_sd2 iclass encode.
1739 * aarch64-dis.c (aarch64_decode_variant_using_iclass): Handle
1740 sve_size_sd2 iclass decode.
1741 * aarch64-opc.c (fields): Handle SVE_sz2 field.
1742 * aarch64-opc.h (enum aarch64_field_kind): New SVE_sz2 field.
1744 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1746 * aarch64-asm-2.c: Regenerated.
1747 * aarch64-dis-2.c: Regenerated.
1748 * aarch64-opc-2.c: Regenerated.
1749 * aarch64-opc.c (operand_general_constraint_met_p): Constraint checking
1751 (aarch64_print_operand): Add printing for SVE_ADDR_ZX.
1752 * aarch64-tbl.h (AARCH64_OPERANDS): Use new SVE_ADDR_ZX operand.
1754 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1756 * aarch64-asm-2.c: Regenerated.
1757 * aarch64-dis-2.c: Regenerated.
1758 * aarch64-opc-2.c: Regenerated.
1759 * aarch64-opc.c (operand_general_constraint_met_p): Constraint checking
1760 for SVE_Zm3_11_INDEX.
1761 (aarch64_print_operand): Add printing for SVE_Zm3_11_INDEX.
1762 (fields): Handle SVE_i3l and SVE_i3h2 fields.
1763 * aarch64-opc.h (enum aarch64_field_kind): New SVE_i3l and SVE_i3h2
1765 * aarch64-tbl.h (AARCH64_OPERANDS): Use new SVE_Zm3_11_INDEX operand.
1767 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1769 * aarch64-asm.c (aarch64_encode_variant_using_iclass): Handle
1770 sve_size_hsd2 iclass encode.
1771 * aarch64-dis.c (aarch64_decode_variant_using_iclass): Handle
1772 sve_size_hsd2 iclass decode.
1773 * aarch64-opc.c (fields): Handle SVE_size field.
1774 * aarch64-opc.h (enum aarch64_field_kind): New SVE_size field.
1776 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1778 * aarch64-asm-2.c: Regenerated.
1779 * aarch64-dis-2.c: Regenerated.
1780 * aarch64-opc-2.c: Regenerated.
1781 * aarch64-opc.c (operand_general_constraint_met_p): Constraint checking
1783 (aarch64_print_operand): Add printing for SVE_IMM_ROT3.
1784 (fields): Handle SVE_rot3 field.
1785 * aarch64-opc.h (enum aarch64_field_kind): New SVE_rot3 field.
1786 * aarch64-tbl.h (AARCH64_OPERANDS): Use new SVE_IMM_ROT3 operand.
1788 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1790 * aarch64-opc.c (verify_constraints): Check for movprfx for sve2
1793 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1796 (aarch64_feature_sve2, aarch64_feature_sve2aes,
1797 aarch64_feature_sve2sha3, aarch64_feature_sve2sm4,
1798 aarch64_feature_sve2bitperm): New feature sets.
1799 (SVE2, SVE2_AES, SVE2_SHA3, SVE2_SM4, SVE2_BITPERM): New macros
1800 for feature set addresses.
1801 (SVE2_INSN, SVE2_INSNC, SVE2AES_INSN, SVE2SHA3_INSN,
1802 SVE2SM4_INSN, SVE2SM4_INSNC, SVE2BITPERM_INSN): New macros.
1804 2019-05-06 Andrew Bennett <andrew.bennett@imgtec.com>
1805 Faraz Shahbazker <fshahbazker@wavecomp.com>
1807 * mips-dis.c (mips_calculate_combination_ases): Add ISA
1808 argument and set ASE_EVA_R6 appropriately.
1809 (set_default_mips_dis_options): Pass ISA to above.
1810 (parse_mips_dis_option): Likewise.
1811 * mips-opc.c (EVAR6): New macro.
1812 (mips_builtin_opcodes): Add llwpe, scwpe.
1814 2019-05-01 Sudakshina Das <sudi.das@arm.com>
1816 * aarch64-asm-2.c: Regenerated.
1817 * aarch64-dis-2.c: Regenerated.
1818 * aarch64-opc-2.c: Regenerated.
1819 * aarch64-opc.c (operand_general_constraint_met_p): Add case for
1820 AARCH64_OPND_TME_UIMM16.
1821 (aarch64_print_operand): Likewise.
1822 * aarch64-tbl.h (QL_IMM_NIL): New.
1825 (struct aarch64_opcode): Add tstart, tcommit, ttest and tcancel.
1827 2019-04-29 John Darrington <john@darrington.wattle.id.au>
1829 * s12z-opc.c (shift_discrim): Return OP_INVALID when reading fails.
1831 2019-04-26 Andrew Bennett <andrew.bennett@imgtec.com>
1832 Faraz Shahbazker <fshahbazker@wavecomp.com>
1834 * mips-opc.c (mips_builtin_opcodes): Add llwp, lldp, scwp, scdp.
1836 2019-04-24 John Darrington <john@darrington.wattle.id.au>
1838 * s12z-opc.h: Add extern "C" bracketing to help
1839 users who wish to use this interface in c++ code.
1841 2019-04-24 John Darrington <john@darrington.wattle.id.au>
1843 * s12z-opc.c (bm_decode): Handle bit map operations with the
1846 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1848 * arm-dis.c (coprocessor_opcodes): Document new %J and %K format
1849 specifier. Add entries for VLDR and VSTR of system registers.
1850 (print_insn_coprocessor): Forbid coprocessor numbers 8, 14 and 15 in
1851 coprocessor instructions on Armv8.1-M Mainline targets. Add handling
1852 of %J and %K format specifier.
1854 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1856 * arm-dis.c (coprocessor_opcodes): Document new %C format control code.
1857 Add new entries for VSCCLRM instruction.
1858 (print_insn_coprocessor): Handle new %C format control code.
1860 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1862 * arm-dis.c (enum isa): New enum.
1863 (struct sopcode32): New structure.
1864 (coprocessor_opcodes): change type of entries to struct sopcode32 and
1865 set isa field of all current entries to ANY.
1866 (print_insn_coprocessor): Change type of insn to struct sopcode32.
1867 Only match an entry if its isa field allows the current mode.
1869 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1871 * arm-dis.c (thumb_opcodes): Document %n control code. Add entry for
1873 (print_insn_thumb32): Add logic to print %n CLRM register list.
1875 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1877 * arm-dis.c (print_insn_thumb32): Updated to accept new %P
1880 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1882 * arm-dis.c (thumb32_opcodes): New instruction bfcsel.
1883 (print_insn_thumb32): Edit the switch case for %Z.
1885 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1887 * arm-dis.c (print_insn_thumb32): Updated to accept new %Z pattern.
1889 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1891 * arm-dis.c (thumb32_opcodes): New instruction bfl.
1893 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1895 * arm-dis.c (print_insn_thumb32): Updated to accept new %Y pattern.
1897 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1899 * arm-dis.c (print_insn_thumb32): Add '%<bitfield>S' to print an
1900 Arm register with r13 and r15 unpredictable.
1901 (thumb32_opcodes): New instructions for bfx and bflx.
1903 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1905 * arm-dis.c (thumb32_opcodes): New instructions for bf.
1907 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1909 * arm-dis.c (print_insn_thumb32): Updated to accept new %W pattern.
1911 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1913 * arm-dis.c (print_insn_thumb32): Updated to accept new %G pattern.
1915 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1917 * arm-dis.c (select_arm_features): Add logic for Armv8.1-M Mainline.
1919 2019-04-12 John Darrington <john@darrington.wattle.id.au>
1921 s12z-dis.c, s12z-opc.c, s12z-opc.h: Replace "operator" with
1922 "optr". ("operator" is a reserved word in c++).
1924 2019-04-11 Sudakshina Das <sudi.das@arm.com>
1926 * aarch64-opc.c (aarch64_print_operand): Add case for
1928 (verify_constraints): Likewise.
1929 * aarch64-tbl.h (QL_LDST_AT): Update to add SP qualifier.
1930 (struct aarch64_opcode): Update stg, stzg, st2g, stz2g instructions
1931 to accept Rt|SP as first operand.
1932 (AARCH64_OPERANDS): Add new Rt_SP.
1933 * aarch64-asm-2.c: Regenerated.
1934 * aarch64-dis-2.c: Regenerated.
1935 * aarch64-opc-2.c: Regenerated.
1937 2019-04-11 Sudakshina Das <sudi.das@arm.com>
1939 * aarch64-asm-2.c: Regenerated.
1940 * aarch64-dis-2.c: Likewise.
1941 * aarch64-opc-2.c: Likewise.
1942 * aarch64-tbl.h (aarch64_opcode): Add new ldgm and stgm.
1944 2019-04-09 Robert Suchanek <robert.suchanek@mips.com>
1946 * mips-opc.c (mips_builtin_opcodes): Add RDHWR rt rd sel.
1948 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1950 * i386-opc.tbl: Consolidate AVX512 BF16 entries.
1951 * i386-init.h: Regenerated.
1953 2019-04-07 Alan Modra <amodra@gmail.com>
1955 * ppc-dis.c (print_insn_powerpc): Use a tiny state machine
1956 op_separator to control printing of spaces, comma and parens
1957 rather than need_comma, need_paren and spaces vars.
1959 2019-04-07 Alan Modra <amodra@gmail.com>
1962 * arm-dis.c (print_insn_coprocessor): Correct bracket placement.
1963 (print_insn_neon, print_insn_arm): Likewise.
1965 2019-04-05 Xuepeng Guo <xuepeng.guo@intel.com>
1967 * i386-dis-evex.h (evex_table): Updated to support BF16
1969 * i386-dis.c (enum): Add EVEX_W_0F3852_P_1, EVEX_W_0F3872_P_1
1970 and EVEX_W_0F3872_P_3.
1971 * i386-gen.c (cpu_flag_init): Add CPU_AVX512_BF16_FLAGS.
1972 (cpu_flags): Add bitfield for CpuAVX512_BF16.
1973 * i386-opc.h (enum): Add CpuAVX512_BF16.
1974 (i386_cpu_flags): Add bitfield for cpuavx512_bf16.
1975 * i386-opc.tbl: Add AVX512 BF16 instructions.
1976 * i386-init.h: Regenerated.
1977 * i386-tbl.h: Likewise.
1979 2019-04-05 Alan Modra <amodra@gmail.com>
1981 * ppc-opc.c (XLBH_MASK): Subtract off BH field from BB_MASK.
1982 (powerpc_opcodes): Reorder bcctr and bclr extended mnemonics
1983 to favour printing of "-" branch hint when using the "y" bit.
1984 Allow BH field on bc{ctr,lr,tar}{,l}{-,+}.
1986 2019-04-05 Alan Modra <amodra@gmail.com>
1988 * ppc-dis.c (print_insn_powerpc): Delay printing spaces after
1989 opcode until first operand is output.
1991 2019-04-04 Peter Bergner <bergner@linux.ibm.com>
1994 * ppc-opc.c (valid_bo_pre_v2): Add comments.
1995 (valid_bo_post_v2): Add support for 'at' branch hints.
1996 (insert_bo): Only error on branch on ctr.
1997 (get_bo_hint_mask): New function.
1998 (insert_boe): Add new 'branch_taken' formal argument. Add support
1999 for inserting 'at' branch hints.
2000 (extract_boe): Add new 'branch_taken' formal argument. Add support
2001 for extracting 'at' branch hints.
2002 (insert_bom, extract_bom, insert_bop, extract_bop): New functions.
2003 (BOE): Delete operand.
2004 (BOM, BOP): New operands.
2006 (XLYLK, XLYLK_MASK, XLYBB_MASK): Delete.
2007 (powerpc_opcodes) <bc-, bcl-, bca-, bcla-, bclr-, bclrl-, bcctr-,
2008 bcctrl-, bctar-, bctarl->: Replace BOE with BOM.
2009 (powerpc_opcodes) <bc+, bcl+, bca+, bcla+, bclr+, bclrl+, bcctr+,
2010 bcctrl+, bctar+, bctarl+>: Replace BOE with BOP.
2011 <bdnztar, bdnztarl, bdztar, bdztarl, btar, btarl, bdnztar-, bdnztarl-,
2012 bdnztar+, bdnztarl+, bdztar-, bdztarl-, bdztar+, bdztarl+, bgetar,
2013 bnltar, bgetarl, bnltarl, bletar, bngtar, bletarl, bngtarl, bnetar,
2014 bnetarl, bnstar, bnutar, bnstarl, bnutarl, bgetar-, bnltar-, bgetarl-,
2015 bnltarl-, bletar-, bngtar-, bletarl-, bngtarl-, bnetar-, bnetarl-,
2016 bnstar-, bnutar-, bnstarl-, bnutarl-, bgetar+, bnltar+, bgetarl+,
2017 bnltarl+, bletar+, bngtar+, bletarl+, bngtarl+, bnetar+, bnetarl+,
2018 bnstar+, bnutar+, bnstarl+, bnutarl+, blttar, blttarl, bgttar, bgttarl,
2019 beqtar, beqtarl, bsotar, buntar, bsotarl, buntarl, blttar-, blttarl-,
2020 bgttar-, bgttarl-, beqtar-, beqtarl-, bsotar-, buntar-, bsotarl-,
2021 buntarl-, blttar+, blttarl+, bgttar+, bgttarl+, beqtar+, beqtarl+,
2022 bsotar+, buntar+, bsotarl+, buntarl+, bdnzftar, bdnzftarl, bdzftar,
2023 bdzftarl, bftar, bftarl, bftar-, bftarl-, bftar+, bftarl+, bdnzttar,
2024 bdnzttarl, bdzttar, bdzttarl, bttar, bttarl, bttar-, bttarl-, bttar+,
2025 bttarl+>: New extended mnemonics.
2027 2019-03-28 Alan Modra <amodra@gmail.com>
2030 * ppc-opc.c (BTF): Define.
2031 (powerpc_opcodes): Use for mtfsb*.
2032 * ppc-dis.c (print_insn_powerpc): Print fields with both
2033 PPC_OPERAND_CR_REG and PPC_OPERAND_CR_BIT as a plain number.
2035 2019-03-25 Tamar Christina <tamar.christina@arm.com>
2037 * arm-dis.c (struct arm_private_data): Remove has_mapping_symbols.
2038 (mapping_symbol_for_insn): Implement new algorithm.
2039 (print_insn): Remove duplicate code.
2041 2019-03-25 Tamar Christina <tamar.christina@arm.com>
2043 * aarch64-dis.c (print_insn_aarch64):
2046 2019-03-25 Tamar Christina <tamar.christina@arm.com>
2048 * aarch64-dis.c (print_insn_aarch64): Update the mapping symbol search
2051 2019-03-25 Tamar Christina <tamar.christina@arm.com>
2053 * aarch64-dis.c (last_stop_offset): New.
2054 (print_insn_aarch64): Use stop_offset.
2056 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
2059 * i386-gen.c (cpu_flag_init): Add CPU_ANY_AVX512F_FLAGS to
2061 * i386-init.h: Regenerated.
2063 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
2066 * i386-opc.tbl: Add Optimize to vmovdqa32, vmovdqa64, vmovdqu8,
2067 vmovdqu16, vmovdqu32 and vmovdqu64.
2068 * i386-tbl.h: Regenerated.
2070 2019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
2072 * s390-opc.txt: Rename selhhhr to selfhr. Remove optional operand
2073 from vstrszb, vstrszh, and vstrszf.
2075 2019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
2077 * s390-opc.txt: Add instruction descriptions.
2079 2019-02-08 Jim Wilson <jimw@sifive.com>
2081 * riscv-opc.c (riscv_opcodes) <beq>: Use Cz to compress 3 operand form.
2084 2019-02-07 Tamar Christina <tamar.christina@arm.com>
2086 * arm-dis.c (arm_opcodes): Redefine hlt to armv1.
2088 2019-02-07 Tamar Christina <tamar.christina@arm.com>
2091 * aarch64-opc.h (enum aarch64_field_kind): Add FLD_sz.
2092 * aarch64-opc.c (verify_elem_sd): New.
2093 (fields): Add FLD_sz entr.
2094 * aarch64-tbl.h (_SIMD_INSN): New.
2095 (aarch64_opcode_table): Add elem_sd verifier to fmla, fmls, fmul and
2096 fmulx scalar and vector by element isns.
2098 2019-02-07 Nick Clifton <nickc@redhat.com>
2100 * po/sv.po: Updated Swedish translation.
2102 2019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
2104 * s390-mkopc.c (main): Accept arch13 as cpu string.
2105 * s390-opc.c: Add new instruction formats and instruction opcode
2107 * s390-opc.txt: Add new arch13 instructions.
2109 2019-01-25 Sudakshina Das <sudi.das@arm.com>
2111 * aarch64-tbl.h (QL_LDST_AT): Update macro.
2112 (aarch64_opcode): Change encoding for stg, stzg
2114 * aarch64-asm-2.c: Regenerated.
2115 * aarch64-dis-2.c: Regenerated.
2116 * aarch64-opc-2.c: Regenerated.
2118 2019-01-25 Sudakshina Das <sudi.das@arm.com>
2120 * aarch64-asm-2.c: Regenerated.
2121 * aarch64-dis-2.c: Likewise.
2122 * aarch64-opc-2.c: Likewise.
2123 * aarch64-tbl.h (aarch64_opcode): Add new stzgm.
2125 2019-01-25 Sudakshina Das <sudi.das@arm.com>
2126 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2128 * aarch64-asm.c (aarch64_ins_addr_simple_2): Remove.
2129 * aarch64-asm.h (ins_addr_simple_2): Likeiwse.
2130 * aarch64-dis.c (aarch64_ext_addr_simple_2): Likewise.
2131 * aarch64-dis.h (ext_addr_simple_2): Likewise.
2132 * aarch64-opc.c (operand_general_constraint_met_p): Remove
2133 case for ldstgv_indexed.
2134 (aarch64_print_operand): Remove case for AARCH64_OPND_ADDR_SIMPLE_2.
2135 * aarch64-tbl.h (struct aarch64_opcode): Remove ldgv and stgv.
2136 (AARCH64_OPERANDS): Remove ADDR_SIMPLE_2.
2137 * aarch64-asm-2.c: Regenerated.
2138 * aarch64-dis-2.c: Regenerated.
2139 * aarch64-opc-2.c: Regenerated.
2141 2019-01-23 Nick Clifton <nickc@redhat.com>
2143 * po/pt_BR.po: Updated Brazilian Portuguese translation.
2145 2019-01-21 Nick Clifton <nickc@redhat.com>
2147 * po/de.po: Updated German translation.
2148 * po/uk.po: Updated Ukranian translation.
2150 2019-01-20 Chenghua Xu <paul.hua.gm@gmail.com>
2151 * mips-dis.c (mips_arch_choices): Fix typo in
2152 gs464, gs464e and gs264e descriptors.
2154 2019-01-19 Nick Clifton <nickc@redhat.com>
2156 * configure: Regenerate.
2157 * po/opcodes.pot: Regenerate.
2159 2018-06-24 Nick Clifton <nickc@redhat.com>
2161 2.32 branch created.
2163 2019-01-09 John Darrington <john@darrington.wattle.id.au>
2165 * s12z-dis.c (print_insn_s12z): Do not dereference an operand
2167 -dis.c (opr_emit_disassembly): Do not omit an index if it is
2170 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
2172 * configure: Regenerate.
2174 2019-01-07 Alan Modra <amodra@gmail.com>
2176 * configure: Regenerate.
2177 * po/POTFILES.in: Regenerate.
2179 2019-01-03 John Darrington <john@darrington.wattle.id.au>
2181 * s12z-opc.c: New file.
2182 * s12z-opc.h: New file.
2183 * s12z-dis.c: Removed all code not directly related to display
2184 of instructions. Used the interface provided by the new files
2186 * Makefile.am (TARGET_LIBOPCODES_CFILES) Add s12z-opc.c.
2187 * Makefile.in: Regenerate.
2188 * configure.ac (bfd_s12z_arch): Correct the dependencies.
2189 * configure: Regenerate.
2191 2019-01-01 Alan Modra <amodra@gmail.com>
2193 Update year range in copyright notice of all files.
2195 For older changes see ChangeLog-2018
2197 Copyright (C) 2019 Free Software Foundation, Inc.
2199 Copying and distribution of this file, with or without modification,
2200 are permitted in any medium without royalty provided the copyright
2201 notice and this notice are preserved.
2207 version-control: never