1 2020-02-17 Jan Beulich <jbeulich@suse.com>
3 * i386-opc.tbl (vcvtsi2sd, vcvtsi2ss, vcvtusi2sd, vcvtusi2ss):
4 Fold CpuNo64 and Cpu64 templates. Use VexLIG/EVexLIG and VexW0/
5 VexW1 instead of open-coding them.
6 * i386-tbl.h: Re-generate.
8 2020-02-17 Jan Beulich <jbeulich@suse.com>
10 * i386-opc.tbl (AddrPrefixOpReg): Define.
11 (monitor, invlpga, vmload, vmrun, vmsave, clzero, monitorx,
12 umonitor, movdir64b, enqcmd, enqcmds): Fold Cpu64 and CpuNo64
13 templates. Drop NoRex64.
14 * i386-tbl.h: Re-generate.
16 2020-02-17 Jan Beulich <jbeulich@suse.com>
19 * i386-opc.tbl (vcvtpd2dq, vcvtpd2ps, vcvttpd2dq, vcvtpd2udq,
20 vcvttpd2udq, vcvtqq2ps, vcvtuqq2ps): Split XMM/YMM source forms
21 into Intel syntax instance (with Unpsecified) and AT&T one
23 (vcvtneps2bf16): Likewise, along with folding the two so far
25 * i386-tbl.h: Re-generate.
27 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
29 * i386-gen.c (cpu_flag_init): Remove CPU_ANY_SSE3_FLAGS from
32 2020-02-17 Alan Modra <amodra@gmail.com>
34 * i386-gen.c (cpu_flag_init): Correct last change.
36 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
38 * i386-gen.c (cpu_flag_init): Add CPU_ANY_SSE4A_FLAGS. Remove
41 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
43 * i386-opc.tbl (movsx): Remove Intel syntax comments.
46 2020-02-14 Jan Beulich <jbeulich@suse.com>
49 * i386-opc.tbl (movsx): Fold patterns. Also allow Reg32 as
50 destination for Cpu64-only variant.
51 (movzx): Fold patterns.
52 * i386-tbl.h: Re-generate.
54 2020-02-13 Jan Beulich <jbeulich@suse.com>
56 * i386-gen.c (cpu_flag_init): Move CpuSSE4a from
57 CPU_ANY_SSE_FLAGS entry to CPU_ANY_SSE3_FLAGS one. Add
58 CPU_ANY_SSE4_FLAGS entry.
59 * i386-init.h: Re-generate.
61 2020-02-12 Jan Beulich <jbeulich@suse.com>
63 * i386-opc.tbl (vfpclasspd, vfpclassps): Add Intel sytax form
64 with Unspecified, making the present one AT&T syntax only.
65 * i386-tbl.h: Re-generate.
67 2020-02-12 Jan Beulich <jbeulich@suse.com>
69 * i386-opc.tbl (jmp): Fold CpuNo64 and Amd64 direct variants.
70 * i386-tbl.h: Re-generate.
72 2020-02-12 Jan Beulich <jbeulich@suse.com>
75 * i386-dis.c (putop): Handle REX.W in '^' case for Intel64 mode.
76 * i386-opc.tbl (lfs, lgs, lss, lcall, ljmp): Split into
77 Amd64 and Intel64 templates.
78 (call, jmp): Likewise for far indirect variants. Dro
80 * i386-tbl.h: Re-generate.
82 2020-02-11 Jan Beulich <jbeulich@suse.com>
84 * i386-gen.c (opcode_modifiers): Remove ShortForm entry.
85 * i386-opc.h (ShortForm): Delete.
86 (struct i386_opcode_modifier): Remove shortform field.
87 * i386-opc.tbl (mov, movabs, push, pop, xchg, inc, dec, fld,
88 fst, fstp, fxch, fcom, fcomp, fucom, fucomp, fadd, faddp, fsub,
89 fsubp, fsubr, fsubrp, fmul, fmulp, fdiv, fdivp, fdivr, fdivrp,
90 ffreep, bswap, fcmov*, fcomi, fcomip, fucomi, fucomip, movq):
92 * i386-tbl.h: Re-generate.
94 2020-02-11 Jan Beulich <jbeulich@suse.com>
96 * i386-opc.tbl (fcomi, fucomi, fcomip, fcompi, fucomip,
97 fucompi): Drop ShortForm from operand-less templates.
98 * i386-tbl.h: Re-generate.
100 2020-02-11 Alan Modra <amodra@gmail.com>
102 * cgen-ibld.in (extract_normal): Set *valuep on all return paths.
103 * bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
104 * ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
105 * m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
106 * xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
108 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
110 * arm-dis.c (print_insn_cde): Define 'V' parse character.
111 (cde_opcodes): Add VCX* instructions.
113 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
114 Matthew Malcomson <matthew.malcomson@arm.com>
116 * arm-dis.c (struct cdeopcode32): New.
117 (CDE_OPCODE): New macro.
118 (cde_opcodes): New disassembly table.
119 (regnames): New option to table.
120 (cde_coprocs): New global variable.
121 (print_insn_cde): New
122 (print_insn_thumb32): Use print_insn_cde.
123 (parse_arm_disassembler_options): Parse coprocN args.
125 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
128 * i386-gen.c (opcode_modifiers): Replace AMD64 and Intel64
130 * i386-opc.h (AMD64): Removed.
134 (INTEL64ONLY): Likewise.
135 (i386_opcode_modifier): Replace amd64 and intel64 with isa64.
136 * i386-opc.tbl (Amd64): New.
138 (Intel64Only): Likewise.
139 Replace AMD64 with Amd64. Update sysenter/sysenter with
140 Cpu64 and Intel64Only. Remove AMD64 from sysenter/sysenter.
141 * i386-tbl.h: Regenerated.
143 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
146 * z80-dis.c: Add support for GBZ80 opcodes.
148 2020-02-04 Alan Modra <amodra@gmail.com>
150 * d30v-dis.c (print_insn): Make "val" and "opnum" unsigned.
152 2020-02-03 Alan Modra <amodra@gmail.com>
154 * m32c-ibld.c: Regenerate.
156 2020-02-01 Alan Modra <amodra@gmail.com>
158 * frv-ibld.c: Regenerate.
160 2020-01-31 Jan Beulich <jbeulich@suse.com>
162 * i386-dis.c (EXxmm_mdq, xmm_mdq_mode): Delete.
163 (intel_operand_size, OP_EX): Drop xmm_mdq_mode case label.
164 (OP_E_memory): Replace xmm_mdq_mode case label by
165 vex_scalar_w_dq_mode one.
166 * i386-dis-evex-prefix.h: Replace EXxmm_mdq by EXVexWdqScalar.
168 2020-01-31 Jan Beulich <jbeulich@suse.com>
170 * i386-dis.c (EXVexWdq, vex_w_dq_mode): Delete.
171 (vex_vsib_d_w_dq_mode, vex_vsib_q_w_dq_mode,
172 vex_scalar_w_dq_mode): Don't refer to vex_w_dq_mode in comments.
173 (intel_operand_size): Drop vex_w_dq_mode case label.
175 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
177 * aarch64-tbl.h (aarch64_opcode): Set C_MAX_ELEM for SVE bfcvt.
178 Remove C_SCAN_MOVPRFX for SVE bfcvtnt.
180 2020-01-30 Alan Modra <amodra@gmail.com>
182 * m32c-ibld.c: Regenerate.
184 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
186 * bpf-opc.c: Regenerate.
188 2020-01-30 Jan Beulich <jbeulich@suse.com>
190 * i386-dis.c (X86_64_C2, X86_64_C3): New enumerators.
191 (dis386): Use them to replace C2/C3 table entries.
192 (x86_64_table): Add X86_64_C2 and X86_64_C3 entries.
193 * i386-opc.tbl (ret): Split Cpu64 entries into AMD64 and Intel64
194 ones. Use Size64 instead of DefaultSize on Intel64 ones.
195 * i386-tbl.h: Re-generate.
197 2020-01-30 Jan Beulich <jbeulich@suse.com>
199 * i386-opc.tbl (call): Drop DefaultSize from Intel64 JumpDword
201 (fldenv, fnstenv, fstenv, fnsave, fsave, frstor): Drop
203 * i386-tbl.h: Re-generate.
205 2020-01-30 Alan Modra <amodra@gmail.com>
207 * tic4x-dis.c (tic4x_dp): Make unsigned.
209 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
210 Jan Beulich <jbeulich@suse.com>
213 * i386-dis.c (MOVSXD_Fixup): New function.
214 (movsxd_mode): New enum.
215 (x86_64_table): Use MOVSXD_Fixup and movsxd_mode on movsxd.
216 (intel_operand_size): Handle movsxd_mode.
217 (OP_E_register): Likewise.
219 * i386-opc.tbl: Remove Rex64 and allow 32-bit destination
220 register on movsxd. Add movsxd with 16-bit destination register
221 for AMD64 and Intel64 ISAs.
222 * i386-tbl.h: Regenerated.
224 2020-01-27 Tamar Christina <tamar.christina@arm.com>
227 * aarch64-tbl.h (struct aarch64_opcode): Re-order cfinv.
228 * aarch64-asm-2.c: Regenerate
229 * aarch64-dis-2.c: Likewise.
230 * aarch64-opc-2.c: Likewise.
232 2020-01-21 Jan Beulich <jbeulich@suse.com>
234 * i386-opc.tbl (sysret): Drop DefaultSize.
235 * i386-tbl.h: Re-generate.
237 2020-01-21 Jan Beulich <jbeulich@suse.com>
239 * i386-opc.tbl (vcvtneps2bf16x): Add Broadcast, Xmmword, and
241 (vcvtneps2bf16y): Add Broadcast, Ymmword, and Dword.
242 * i386-tbl.h: Re-generate.
244 2020-01-20 Nick Clifton <nickc@redhat.com>
246 * po/de.po: Updated German translation.
247 * po/pt_BR.po: Updated Brazilian Portuguese translation.
248 * po/uk.po: Updated Ukranian translation.
250 2020-01-20 Alan Modra <amodra@gmail.com>
252 * hppa-dis.c (fput_const): Remove useless cast.
254 2020-01-20 Alan Modra <amodra@gmail.com>
256 * arm-dis.c (print_insn_arm): Wrap 'T' value.
258 2020-01-18 Nick Clifton <nickc@redhat.com>
260 * configure: Regenerate.
261 * po/opcodes.pot: Regenerate.
263 2020-01-18 Nick Clifton <nickc@redhat.com>
265 Binutils 2.34 branch created.
267 2020-01-17 Christian Biesinger <cbiesinger@google.com>
269 * opintl.h: Fix spelling error (seperate).
271 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
273 * i386-opc.tbl: Add {vex} pseudo prefix.
274 * i386-tbl.h: Regenerated.
276 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
279 * opcodes/arm-dis.c (coprocessor_opcodes): Use CORE_HIGH for MVE bits.
280 (neon_opcodes): Likewise.
281 (select_arm_features): Make sure we enable MVE bits when selecting
282 armv8.1-m.main. Make sure we do not enable MVE bits when not selecting
285 2020-01-16 Jan Beulich <jbeulich@suse.com>
287 * i386-opc.tbl: Drop stale comment from XOP section.
289 2020-01-16 Jan Beulich <jbeulich@suse.com>
291 * i386-opc.tbl (movq): Add VexWIG to SSE2AVX XMM->XMM forms.
292 (extractps): Add VexWIG to SSE2AVX forms.
293 * i386-tbl.h: Re-generate.
295 2020-01-16 Jan Beulich <jbeulich@suse.com>
297 * i386-opc.tbl (pextrq, pinsrq): Drop IgnoreSize and Qword. Drop
298 Size64 from and use VexW1 on SSE2AVX forms.
299 (vpextrq, vpinsrq): Drop IgnoreSize and Qword. Drop Size64 from
300 VEX-encoded forms. Add Cpu64 to EVEX-encoded forms. Use VexW1.
301 * i386-tbl.h: Re-generate.
303 2020-01-15 Alan Modra <amodra@gmail.com>
305 * tic4x-dis.c (tic4x_version): Make unsigned long.
306 (optab, optab_special, registernames): New file scope vars.
307 (tic4x_print_register): Set up registernames rather than
308 malloc'd registertable.
309 (tic4x_disassemble): Delete optable and optable_special. Use
310 optab and optab_special instead. Throw away old optab,
311 optab_special and registernames when info->mach changes.
313 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
316 * z80-dis.c (suffix): Use .db instruction to generate double
319 2020-01-14 Alan Modra <amodra@gmail.com>
321 * z8k-dis.c (unpack_instr): Formatting. Cast unsigned short
322 values to unsigned before shifting.
324 2020-01-13 Thomas Troeger <tstroege@gmx.de>
326 * arm-dis.c (print_insn_arm): Fill in insn info fields for control
328 (print_insn_thumb16, print_insn_thumb32): Likewise.
329 (print_insn): Initialize the insn info.
330 * i386-dis.c (print_insn): Initialize the insn info fields, and
333 2012-01-13 Claudiu Zissulescu <claziss@gmail.com>
335 * arc-opc.c (C_NE): Make it required.
337 2012-01-13 Claudiu Zissulescu <claziss@gmail.com>
339 * opcode/arc-dis.c (regnames): Correct ACCL/ACCH naming, fix typo
340 reserved register name.
342 2020-01-13 Alan Modra <amodra@gmail.com>
344 * ns32k-dis.c (Is_gen): Use strchr, add 'f'.
345 (print_insn_ns32k): Adjust ioffset for 'f' index_offset.
347 2020-01-13 Alan Modra <amodra@gmail.com>
349 * wasm32-dis.c (print_insn_wasm32): Localise variables. Store
350 result of wasm_read_leb128 in a uint64_t and check that bits
351 are not lost when copying to other locals. Use uint32_t for
352 most locals. Use PRId64 when printing int64_t.
354 2020-01-13 Alan Modra <amodra@gmail.com>
356 * score-dis.c: Formatting.
357 * score7-dis.c: Formatting.
359 2020-01-13 Alan Modra <amodra@gmail.com>
361 * score-dis.c (print_insn_score48): Use unsigned variables for
362 unsigned values. Don't left shift negative values.
363 (print_insn_score32): Likewise.
364 * score7-dis.c (print_insn_score32, print_insn_score16): Likewise.
366 2020-01-13 Alan Modra <amodra@gmail.com>
368 * tic4x-dis.c (tic4x_print_register): Remove dead code.
370 2020-01-13 Alan Modra <amodra@gmail.com>
372 * fr30-ibld.c: Regenerate.
374 2020-01-13 Alan Modra <amodra@gmail.com>
376 * xgate-dis.c (print_insn): Don't left shift signed value.
377 (ripBits): Formatting, use 1u.
379 2020-01-10 Alan Modra <amodra@gmail.com>
381 * tilepro-opc.c (parse_insn_tilepro): Make opval unsigned.
382 * tilegx-opc.c (parse_insn_tilegx): Likewise. Delete raw_opval.
384 2020-01-10 Alan Modra <amodra@gmail.com>
386 * m10300-dis.c (disassemble): Move extraction of DREG, AREG, RREG,
387 and XRREG value earlier to avoid a shift with negative exponent.
388 * m10200-dis.c (disassemble): Similarly.
390 2020-01-09 Nick Clifton <nickc@redhat.com>
393 * z80-dis.c (ld_ii_ii): Use correct cast.
395 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
398 * z80-dis.c (ld_ii_ii): Use character constant when checking
401 2020-01-09 Jan Beulich <jbeulich@suse.com>
403 * i386-dis.c (SEP_Fixup): New.
405 (dis386_twobyte): Use it for sysenter/sysexit.
406 (enum x86_64_isa): Change amd64 enumerator to value 1.
407 (OP_J): Compare isa64 against intel64 instead of amd64.
408 * i386-opc.tbl (sysenter, sysexit): Split into AMD64 and Intel64
410 * i386-tbl.h: Re-generate.
412 2020-01-08 Alan Modra <amodra@gmail.com>
414 * z8k-dis.c: Include libiberty.h
415 (instr_data_s): Make max_fetched unsigned.
416 (z8k_lookup_instr): Make nibl_index and tabl_index unsigned.
417 Don't exceed byte_info bounds.
418 (output_instr): Make num_bytes unsigned.
419 (unpack_instr): Likewise for nibl_count and loop.
420 * z8kgen.c (gas <opcode_entry_type>): Make noperands, length and
422 * z8k-opc.h: Regenerate.
424 2020-01-07 Shahab Vahedi <shahab@synopsys.com>
426 * arc-tbl.h (llock): Use 'LLOCK' as class.
428 (scond): Use 'SCOND' as class.
430 (llockd): Set data_size_mode to 'C_ZZ_D' which is 64-bit.
433 2020-01-06 Alan Modra <amodra@gmail.com>
435 * m32c-ibld.c: Regenerate.
437 2020-01-06 Alan Modra <amodra@gmail.com>
440 * z80-dis.c (suffix): Don't use a local struct buffer copy.
441 Peek at next byte to prevent recursion on repeated prefix bytes.
442 Ensure uninitialised "mybuf" is not accessed.
443 (print_insn_z80): Don't zero n_fetch and n_used here,..
444 (print_insn_z80_buf): ..do it here instead.
446 2020-01-04 Alan Modra <amodra@gmail.com>
448 * m32r-ibld.c: Regenerate.
450 2020-01-04 Alan Modra <amodra@gmail.com>
452 * cr16-dis.c (cr16_match_opcode): Avoid shift left of signed value.
454 2020-01-04 Alan Modra <amodra@gmail.com>
456 * crx-dis.c (match_opcode): Avoid shift left of signed value.
458 2020-01-04 Alan Modra <amodra@gmail.com>
460 * d30v-dis.c (print_insn): Avoid signed overflow in left shift.
462 2020-01-03 Jan Beulich <jbeulich@suse.com>
464 * aarch64-tbl.h (aarch64_opcode_table): Use
465 SVE_ADDR_RX_LSL{1,2,3} for LD1RO{H,W,D}.
467 2020-01-03 Jan Beulich <jbeulich@suse.com>
469 * aarch64-tbl.h (aarch64_opcode_table): Correct SIMD
470 forms of SUDOT and USDOT.
472 2020-01-03 Jan Beulich <jbeulich@suse.com>
474 * aarch64-tbl.h (aarch64_opcode_table): Drop 'i' from
476 * opcodes/aarch64-dis-2.c: Re-generate.
478 2020-01-03 Jan Beulich <jbeulich@suse.com>
480 * aarch64-tbl.h (aarch64_opcode_table): Correct 64-bit
482 * opcodes/aarch64-dis-2.c: Re-generate.
484 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
486 * z80-dis.c: Add support for eZ80 and Z80 instructions.
488 2020-01-01 Alan Modra <amodra@gmail.com>
490 Update year range in copyright notice of all files.
492 For older changes see ChangeLog-2019
494 Copyright (C) 2020 Free Software Foundation, Inc.
496 Copying and distribution of this file, with or without modification,
497 are permitted in any medium without royalty provided the copyright
498 notice and this notice are preserved.
504 version-control: never