1 2020-03-03 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-gen.c (opcode_modifiers): Replace IgnoreSize/DefaultSize
5 * i386-opc.h (IGNORESIZE): New.
6 (DEFAULTSIZE): Likewise.
8 (DefaultSize): Likewise.
10 (i386_opcode_modifier): Replace ignoresize/defaultsize with
12 * i386-opc.tbl (IgnoreSize): New.
13 (DefaultSize): Likewise.
14 * i386-tbl.h: Regenerated.
16 2020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
19 * z80-dis.c: Fix disassembly of LD IY,(HL) and D (HL),IX
22 2020-03-03 H.J. Lu <hongjiu.lu@intel.com>
25 * i386-opc.tbl: Add IgnoreSize to cvtsi2sd, cvtsi2ss, vcvtsi2sd,
26 vcvtsi2ss, vcvtusi2sd and vcvtusi2ss for AT&T syntax.
27 * i386-tbl.h: Regenerated.
29 2020-02-26 Alan Modra <amodra@gmail.com>
31 * aarch64-asm.c: Indent labels correctly.
32 * aarch64-dis.c: Likewise.
33 * aarch64-gen.c: Likewise.
34 * aarch64-opc.c: Likewise.
35 * alpha-dis.c: Likewise.
36 * i386-dis.c: Likewise.
37 * nds32-asm.c: Likewise.
38 * nfp-dis.c: Likewise.
39 * visium-dis.c: Likewise.
41 2020-02-25 Claudiu Zissulescu <claziss@gmail.com>
43 * arc-regs.h (int_vector_base): Make it available for all ARC
46 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
48 * riscv-dis.c (print_insn_args): Updated since the DECLARE_CSR is
51 2020-02-19 Nelson Chu <nelson.chu@sifive.com>
53 * riscv-opc.c (riscv_opcodes): Convert add/addi to the compressed
54 c.mv/c.li if rs1 is zero.
56 2020-02-17 H.J. Lu <hongjiu.lu@intel.com>
58 * i386-gen.c (cpu_flag_init): Replace CpuABM with
59 CpuLZCNT|CpuPOPCNT. Add CpuPOPCNT to CPU_SSE4_2_FLAGS. Add
61 (cpu_flags): Remove CpuABM. Add CpuPOPCNT.
62 * i386-opc.h (CpuABM): Removed.
64 (i386_cpu_flags): Remove cpuabm. Add cpupopcnt.
65 * i386-opc.tbl: Replace CpuABM|CpuSSE4_2 with CpuPOPCNT on
66 popcnt. Remove CpuABM from lzcnt.
67 * i386-init.h: Regenerated.
68 * i386-tbl.h: Likewise.
70 2020-02-17 Jan Beulich <jbeulich@suse.com>
72 * i386-opc.tbl (vcvtsi2sd, vcvtsi2ss, vcvtusi2sd, vcvtusi2ss):
73 Fold CpuNo64 and Cpu64 templates. Use VexLIG/EVexLIG and VexW0/
74 VexW1 instead of open-coding them.
75 * i386-tbl.h: Re-generate.
77 2020-02-17 Jan Beulich <jbeulich@suse.com>
79 * i386-opc.tbl (AddrPrefixOpReg): Define.
80 (monitor, invlpga, vmload, vmrun, vmsave, clzero, monitorx,
81 umonitor, movdir64b, enqcmd, enqcmds): Fold Cpu64 and CpuNo64
82 templates. Drop NoRex64.
83 * i386-tbl.h: Re-generate.
85 2020-02-17 Jan Beulich <jbeulich@suse.com>
88 * i386-opc.tbl (vcvtpd2dq, vcvtpd2ps, vcvttpd2dq, vcvtpd2udq,
89 vcvttpd2udq, vcvtqq2ps, vcvtuqq2ps): Split XMM/YMM source forms
90 into Intel syntax instance (with Unpsecified) and AT&T one
92 (vcvtneps2bf16): Likewise, along with folding the two so far
94 * i386-tbl.h: Re-generate.
96 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
98 * i386-gen.c (cpu_flag_init): Remove CPU_ANY_SSE3_FLAGS from
101 2020-02-17 Alan Modra <amodra@gmail.com>
103 * i386-gen.c (cpu_flag_init): Correct last change.
105 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
107 * i386-gen.c (cpu_flag_init): Add CPU_ANY_SSE4A_FLAGS. Remove
110 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
112 * i386-opc.tbl (movsx): Remove Intel syntax comments.
115 2020-02-14 Jan Beulich <jbeulich@suse.com>
118 * i386-opc.tbl (movsx): Fold patterns. Also allow Reg32 as
119 destination for Cpu64-only variant.
120 (movzx): Fold patterns.
121 * i386-tbl.h: Re-generate.
123 2020-02-13 Jan Beulich <jbeulich@suse.com>
125 * i386-gen.c (cpu_flag_init): Move CpuSSE4a from
126 CPU_ANY_SSE_FLAGS entry to CPU_ANY_SSE3_FLAGS one. Add
127 CPU_ANY_SSE4_FLAGS entry.
128 * i386-init.h: Re-generate.
130 2020-02-12 Jan Beulich <jbeulich@suse.com>
132 * i386-opc.tbl (vfpclasspd, vfpclassps): Add Intel sytax form
133 with Unspecified, making the present one AT&T syntax only.
134 * i386-tbl.h: Re-generate.
136 2020-02-12 Jan Beulich <jbeulich@suse.com>
138 * i386-opc.tbl (jmp): Fold CpuNo64 and Amd64 direct variants.
139 * i386-tbl.h: Re-generate.
141 2020-02-12 Jan Beulich <jbeulich@suse.com>
144 * i386-dis.c (putop): Handle REX.W in '^' case for Intel64 mode.
145 * i386-opc.tbl (lfs, lgs, lss, lcall, ljmp): Split into
146 Amd64 and Intel64 templates.
147 (call, jmp): Likewise for far indirect variants. Dro
149 * i386-tbl.h: Re-generate.
151 2020-02-11 Jan Beulich <jbeulich@suse.com>
153 * i386-gen.c (opcode_modifiers): Remove ShortForm entry.
154 * i386-opc.h (ShortForm): Delete.
155 (struct i386_opcode_modifier): Remove shortform field.
156 * i386-opc.tbl (mov, movabs, push, pop, xchg, inc, dec, fld,
157 fst, fstp, fxch, fcom, fcomp, fucom, fucomp, fadd, faddp, fsub,
158 fsubp, fsubr, fsubrp, fmul, fmulp, fdiv, fdivp, fdivr, fdivrp,
159 ffreep, bswap, fcmov*, fcomi, fcomip, fucomi, fucomip, movq):
161 * i386-tbl.h: Re-generate.
163 2020-02-11 Jan Beulich <jbeulich@suse.com>
165 * i386-opc.tbl (fcomi, fucomi, fcomip, fcompi, fucomip,
166 fucompi): Drop ShortForm from operand-less templates.
167 * i386-tbl.h: Re-generate.
169 2020-02-11 Alan Modra <amodra@gmail.com>
171 * cgen-ibld.in (extract_normal): Set *valuep on all return paths.
172 * bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
173 * ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
174 * m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
175 * xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
177 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
179 * arm-dis.c (print_insn_cde): Define 'V' parse character.
180 (cde_opcodes): Add VCX* instructions.
182 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
183 Matthew Malcomson <matthew.malcomson@arm.com>
185 * arm-dis.c (struct cdeopcode32): New.
186 (CDE_OPCODE): New macro.
187 (cde_opcodes): New disassembly table.
188 (regnames): New option to table.
189 (cde_coprocs): New global variable.
190 (print_insn_cde): New
191 (print_insn_thumb32): Use print_insn_cde.
192 (parse_arm_disassembler_options): Parse coprocN args.
194 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
197 * i386-gen.c (opcode_modifiers): Replace AMD64 and Intel64
199 * i386-opc.h (AMD64): Removed.
203 (INTEL64ONLY): Likewise.
204 (i386_opcode_modifier): Replace amd64 and intel64 with isa64.
205 * i386-opc.tbl (Amd64): New.
207 (Intel64Only): Likewise.
208 Replace AMD64 with Amd64. Update sysenter/sysenter with
209 Cpu64 and Intel64Only. Remove AMD64 from sysenter/sysenter.
210 * i386-tbl.h: Regenerated.
212 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
215 * z80-dis.c: Add support for GBZ80 opcodes.
217 2020-02-04 Alan Modra <amodra@gmail.com>
219 * d30v-dis.c (print_insn): Make "val" and "opnum" unsigned.
221 2020-02-03 Alan Modra <amodra@gmail.com>
223 * m32c-ibld.c: Regenerate.
225 2020-02-01 Alan Modra <amodra@gmail.com>
227 * frv-ibld.c: Regenerate.
229 2020-01-31 Jan Beulich <jbeulich@suse.com>
231 * i386-dis.c (EXxmm_mdq, xmm_mdq_mode): Delete.
232 (intel_operand_size, OP_EX): Drop xmm_mdq_mode case label.
233 (OP_E_memory): Replace xmm_mdq_mode case label by
234 vex_scalar_w_dq_mode one.
235 * i386-dis-evex-prefix.h: Replace EXxmm_mdq by EXVexWdqScalar.
237 2020-01-31 Jan Beulich <jbeulich@suse.com>
239 * i386-dis.c (EXVexWdq, vex_w_dq_mode): Delete.
240 (vex_vsib_d_w_dq_mode, vex_vsib_q_w_dq_mode,
241 vex_scalar_w_dq_mode): Don't refer to vex_w_dq_mode in comments.
242 (intel_operand_size): Drop vex_w_dq_mode case label.
244 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
246 * aarch64-tbl.h (aarch64_opcode): Set C_MAX_ELEM for SVE bfcvt.
247 Remove C_SCAN_MOVPRFX for SVE bfcvtnt.
249 2020-01-30 Alan Modra <amodra@gmail.com>
251 * m32c-ibld.c: Regenerate.
253 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
255 * bpf-opc.c: Regenerate.
257 2020-01-30 Jan Beulich <jbeulich@suse.com>
259 * i386-dis.c (X86_64_C2, X86_64_C3): New enumerators.
260 (dis386): Use them to replace C2/C3 table entries.
261 (x86_64_table): Add X86_64_C2 and X86_64_C3 entries.
262 * i386-opc.tbl (ret): Split Cpu64 entries into AMD64 and Intel64
263 ones. Use Size64 instead of DefaultSize on Intel64 ones.
264 * i386-tbl.h: Re-generate.
266 2020-01-30 Jan Beulich <jbeulich@suse.com>
268 * i386-opc.tbl (call): Drop DefaultSize from Intel64 JumpDword
270 (fldenv, fnstenv, fstenv, fnsave, fsave, frstor): Drop
272 * i386-tbl.h: Re-generate.
274 2020-01-30 Alan Modra <amodra@gmail.com>
276 * tic4x-dis.c (tic4x_dp): Make unsigned.
278 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
279 Jan Beulich <jbeulich@suse.com>
282 * i386-dis.c (MOVSXD_Fixup): New function.
283 (movsxd_mode): New enum.
284 (x86_64_table): Use MOVSXD_Fixup and movsxd_mode on movsxd.
285 (intel_operand_size): Handle movsxd_mode.
286 (OP_E_register): Likewise.
288 * i386-opc.tbl: Remove Rex64 and allow 32-bit destination
289 register on movsxd. Add movsxd with 16-bit destination register
290 for AMD64 and Intel64 ISAs.
291 * i386-tbl.h: Regenerated.
293 2020-01-27 Tamar Christina <tamar.christina@arm.com>
296 * aarch64-tbl.h (struct aarch64_opcode): Re-order cfinv.
297 * aarch64-asm-2.c: Regenerate
298 * aarch64-dis-2.c: Likewise.
299 * aarch64-opc-2.c: Likewise.
301 2020-01-21 Jan Beulich <jbeulich@suse.com>
303 * i386-opc.tbl (sysret): Drop DefaultSize.
304 * i386-tbl.h: Re-generate.
306 2020-01-21 Jan Beulich <jbeulich@suse.com>
308 * i386-opc.tbl (vcvtneps2bf16x): Add Broadcast, Xmmword, and
310 (vcvtneps2bf16y): Add Broadcast, Ymmword, and Dword.
311 * i386-tbl.h: Re-generate.
313 2020-01-20 Nick Clifton <nickc@redhat.com>
315 * po/de.po: Updated German translation.
316 * po/pt_BR.po: Updated Brazilian Portuguese translation.
317 * po/uk.po: Updated Ukranian translation.
319 2020-01-20 Alan Modra <amodra@gmail.com>
321 * hppa-dis.c (fput_const): Remove useless cast.
323 2020-01-20 Alan Modra <amodra@gmail.com>
325 * arm-dis.c (print_insn_arm): Wrap 'T' value.
327 2020-01-18 Nick Clifton <nickc@redhat.com>
329 * configure: Regenerate.
330 * po/opcodes.pot: Regenerate.
332 2020-01-18 Nick Clifton <nickc@redhat.com>
334 Binutils 2.34 branch created.
336 2020-01-17 Christian Biesinger <cbiesinger@google.com>
338 * opintl.h: Fix spelling error (seperate).
340 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
342 * i386-opc.tbl: Add {vex} pseudo prefix.
343 * i386-tbl.h: Regenerated.
345 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
348 * opcodes/arm-dis.c (coprocessor_opcodes): Use CORE_HIGH for MVE bits.
349 (neon_opcodes): Likewise.
350 (select_arm_features): Make sure we enable MVE bits when selecting
351 armv8.1-m.main. Make sure we do not enable MVE bits when not selecting
354 2020-01-16 Jan Beulich <jbeulich@suse.com>
356 * i386-opc.tbl: Drop stale comment from XOP section.
358 2020-01-16 Jan Beulich <jbeulich@suse.com>
360 * i386-opc.tbl (movq): Add VexWIG to SSE2AVX XMM->XMM forms.
361 (extractps): Add VexWIG to SSE2AVX forms.
362 * i386-tbl.h: Re-generate.
364 2020-01-16 Jan Beulich <jbeulich@suse.com>
366 * i386-opc.tbl (pextrq, pinsrq): Drop IgnoreSize and Qword. Drop
367 Size64 from and use VexW1 on SSE2AVX forms.
368 (vpextrq, vpinsrq): Drop IgnoreSize and Qword. Drop Size64 from
369 VEX-encoded forms. Add Cpu64 to EVEX-encoded forms. Use VexW1.
370 * i386-tbl.h: Re-generate.
372 2020-01-15 Alan Modra <amodra@gmail.com>
374 * tic4x-dis.c (tic4x_version): Make unsigned long.
375 (optab, optab_special, registernames): New file scope vars.
376 (tic4x_print_register): Set up registernames rather than
377 malloc'd registertable.
378 (tic4x_disassemble): Delete optable and optable_special. Use
379 optab and optab_special instead. Throw away old optab,
380 optab_special and registernames when info->mach changes.
382 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
385 * z80-dis.c (suffix): Use .db instruction to generate double
388 2020-01-14 Alan Modra <amodra@gmail.com>
390 * z8k-dis.c (unpack_instr): Formatting. Cast unsigned short
391 values to unsigned before shifting.
393 2020-01-13 Thomas Troeger <tstroege@gmx.de>
395 * arm-dis.c (print_insn_arm): Fill in insn info fields for control
397 (print_insn_thumb16, print_insn_thumb32): Likewise.
398 (print_insn): Initialize the insn info.
399 * i386-dis.c (print_insn): Initialize the insn info fields, and
402 2012-01-13 Claudiu Zissulescu <claziss@gmail.com>
404 * arc-opc.c (C_NE): Make it required.
406 2012-01-13 Claudiu Zissulescu <claziss@gmail.com>
408 * opcode/arc-dis.c (regnames): Correct ACCL/ACCH naming, fix typo
409 reserved register name.
411 2020-01-13 Alan Modra <amodra@gmail.com>
413 * ns32k-dis.c (Is_gen): Use strchr, add 'f'.
414 (print_insn_ns32k): Adjust ioffset for 'f' index_offset.
416 2020-01-13 Alan Modra <amodra@gmail.com>
418 * wasm32-dis.c (print_insn_wasm32): Localise variables. Store
419 result of wasm_read_leb128 in a uint64_t and check that bits
420 are not lost when copying to other locals. Use uint32_t for
421 most locals. Use PRId64 when printing int64_t.
423 2020-01-13 Alan Modra <amodra@gmail.com>
425 * score-dis.c: Formatting.
426 * score7-dis.c: Formatting.
428 2020-01-13 Alan Modra <amodra@gmail.com>
430 * score-dis.c (print_insn_score48): Use unsigned variables for
431 unsigned values. Don't left shift negative values.
432 (print_insn_score32): Likewise.
433 * score7-dis.c (print_insn_score32, print_insn_score16): Likewise.
435 2020-01-13 Alan Modra <amodra@gmail.com>
437 * tic4x-dis.c (tic4x_print_register): Remove dead code.
439 2020-01-13 Alan Modra <amodra@gmail.com>
441 * fr30-ibld.c: Regenerate.
443 2020-01-13 Alan Modra <amodra@gmail.com>
445 * xgate-dis.c (print_insn): Don't left shift signed value.
446 (ripBits): Formatting, use 1u.
448 2020-01-10 Alan Modra <amodra@gmail.com>
450 * tilepro-opc.c (parse_insn_tilepro): Make opval unsigned.
451 * tilegx-opc.c (parse_insn_tilegx): Likewise. Delete raw_opval.
453 2020-01-10 Alan Modra <amodra@gmail.com>
455 * m10300-dis.c (disassemble): Move extraction of DREG, AREG, RREG,
456 and XRREG value earlier to avoid a shift with negative exponent.
457 * m10200-dis.c (disassemble): Similarly.
459 2020-01-09 Nick Clifton <nickc@redhat.com>
462 * z80-dis.c (ld_ii_ii): Use correct cast.
464 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
467 * z80-dis.c (ld_ii_ii): Use character constant when checking
470 2020-01-09 Jan Beulich <jbeulich@suse.com>
472 * i386-dis.c (SEP_Fixup): New.
474 (dis386_twobyte): Use it for sysenter/sysexit.
475 (enum x86_64_isa): Change amd64 enumerator to value 1.
476 (OP_J): Compare isa64 against intel64 instead of amd64.
477 * i386-opc.tbl (sysenter, sysexit): Split into AMD64 and Intel64
479 * i386-tbl.h: Re-generate.
481 2020-01-08 Alan Modra <amodra@gmail.com>
483 * z8k-dis.c: Include libiberty.h
484 (instr_data_s): Make max_fetched unsigned.
485 (z8k_lookup_instr): Make nibl_index and tabl_index unsigned.
486 Don't exceed byte_info bounds.
487 (output_instr): Make num_bytes unsigned.
488 (unpack_instr): Likewise for nibl_count and loop.
489 * z8kgen.c (gas <opcode_entry_type>): Make noperands, length and
491 * z8k-opc.h: Regenerate.
493 2020-01-07 Shahab Vahedi <shahab@synopsys.com>
495 * arc-tbl.h (llock): Use 'LLOCK' as class.
497 (scond): Use 'SCOND' as class.
499 (llockd): Set data_size_mode to 'C_ZZ_D' which is 64-bit.
502 2020-01-06 Alan Modra <amodra@gmail.com>
504 * m32c-ibld.c: Regenerate.
506 2020-01-06 Alan Modra <amodra@gmail.com>
509 * z80-dis.c (suffix): Don't use a local struct buffer copy.
510 Peek at next byte to prevent recursion on repeated prefix bytes.
511 Ensure uninitialised "mybuf" is not accessed.
512 (print_insn_z80): Don't zero n_fetch and n_used here,..
513 (print_insn_z80_buf): ..do it here instead.
515 2020-01-04 Alan Modra <amodra@gmail.com>
517 * m32r-ibld.c: Regenerate.
519 2020-01-04 Alan Modra <amodra@gmail.com>
521 * cr16-dis.c (cr16_match_opcode): Avoid shift left of signed value.
523 2020-01-04 Alan Modra <amodra@gmail.com>
525 * crx-dis.c (match_opcode): Avoid shift left of signed value.
527 2020-01-04 Alan Modra <amodra@gmail.com>
529 * d30v-dis.c (print_insn): Avoid signed overflow in left shift.
531 2020-01-03 Jan Beulich <jbeulich@suse.com>
533 * aarch64-tbl.h (aarch64_opcode_table): Use
534 SVE_ADDR_RX_LSL{1,2,3} for LD1RO{H,W,D}.
536 2020-01-03 Jan Beulich <jbeulich@suse.com>
538 * aarch64-tbl.h (aarch64_opcode_table): Correct SIMD
539 forms of SUDOT and USDOT.
541 2020-01-03 Jan Beulich <jbeulich@suse.com>
543 * aarch64-tbl.h (aarch64_opcode_table): Drop 'i' from
545 * opcodes/aarch64-dis-2.c: Re-generate.
547 2020-01-03 Jan Beulich <jbeulich@suse.com>
549 * aarch64-tbl.h (aarch64_opcode_table): Correct 64-bit
551 * opcodes/aarch64-dis-2.c: Re-generate.
553 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
555 * z80-dis.c: Add support for eZ80 and Z80 instructions.
557 2020-01-01 Alan Modra <amodra@gmail.com>
559 Update year range in copyright notice of all files.
561 For older changes see ChangeLog-2019
563 Copyright (C) 2020 Free Software Foundation, Inc.
565 Copying and distribution of this file, with or without modification,
566 are permitted in any medium without royalty provided the copyright
567 notice and this notice are preserved.
573 version-control: never