1 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
3 * riscv-dis.c (print_insn_args): Updated since the DECLARE_CSR is
6 2020-02-19 Nelson Chu <nelson.chu@sifive.com>
8 * riscv-opc.c (riscv_opcodes): Convert add/addi to the compressed
9 c.mv/c.li if rs1 is zero.
11 2020-02-17 H.J. Lu <hongjiu.lu@intel.com>
13 * i386-gen.c (cpu_flag_init): Replace CpuABM with
14 CpuLZCNT|CpuPOPCNT. Add CpuPOPCNT to CPU_SSE4_2_FLAGS. Add
16 (cpu_flags): Remove CpuABM. Add CpuPOPCNT.
17 * i386-opc.h (CpuABM): Removed.
19 (i386_cpu_flags): Remove cpuabm. Add cpupopcnt.
20 * i386-opc.tbl: Replace CpuABM|CpuSSE4_2 with CpuPOPCNT on
21 popcnt. Remove CpuABM from lzcnt.
22 * i386-init.h: Regenerated.
23 * i386-tbl.h: Likewise.
25 2020-02-17 Jan Beulich <jbeulich@suse.com>
27 * i386-opc.tbl (vcvtsi2sd, vcvtsi2ss, vcvtusi2sd, vcvtusi2ss):
28 Fold CpuNo64 and Cpu64 templates. Use VexLIG/EVexLIG and VexW0/
29 VexW1 instead of open-coding them.
30 * i386-tbl.h: Re-generate.
32 2020-02-17 Jan Beulich <jbeulich@suse.com>
34 * i386-opc.tbl (AddrPrefixOpReg): Define.
35 (monitor, invlpga, vmload, vmrun, vmsave, clzero, monitorx,
36 umonitor, movdir64b, enqcmd, enqcmds): Fold Cpu64 and CpuNo64
37 templates. Drop NoRex64.
38 * i386-tbl.h: Re-generate.
40 2020-02-17 Jan Beulich <jbeulich@suse.com>
43 * i386-opc.tbl (vcvtpd2dq, vcvtpd2ps, vcvttpd2dq, vcvtpd2udq,
44 vcvttpd2udq, vcvtqq2ps, vcvtuqq2ps): Split XMM/YMM source forms
45 into Intel syntax instance (with Unpsecified) and AT&T one
47 (vcvtneps2bf16): Likewise, along with folding the two so far
49 * i386-tbl.h: Re-generate.
51 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
53 * i386-gen.c (cpu_flag_init): Remove CPU_ANY_SSE3_FLAGS from
56 2020-02-17 Alan Modra <amodra@gmail.com>
58 * i386-gen.c (cpu_flag_init): Correct last change.
60 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
62 * i386-gen.c (cpu_flag_init): Add CPU_ANY_SSE4A_FLAGS. Remove
65 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
67 * i386-opc.tbl (movsx): Remove Intel syntax comments.
70 2020-02-14 Jan Beulich <jbeulich@suse.com>
73 * i386-opc.tbl (movsx): Fold patterns. Also allow Reg32 as
74 destination for Cpu64-only variant.
75 (movzx): Fold patterns.
76 * i386-tbl.h: Re-generate.
78 2020-02-13 Jan Beulich <jbeulich@suse.com>
80 * i386-gen.c (cpu_flag_init): Move CpuSSE4a from
81 CPU_ANY_SSE_FLAGS entry to CPU_ANY_SSE3_FLAGS one. Add
82 CPU_ANY_SSE4_FLAGS entry.
83 * i386-init.h: Re-generate.
85 2020-02-12 Jan Beulich <jbeulich@suse.com>
87 * i386-opc.tbl (vfpclasspd, vfpclassps): Add Intel sytax form
88 with Unspecified, making the present one AT&T syntax only.
89 * i386-tbl.h: Re-generate.
91 2020-02-12 Jan Beulich <jbeulich@suse.com>
93 * i386-opc.tbl (jmp): Fold CpuNo64 and Amd64 direct variants.
94 * i386-tbl.h: Re-generate.
96 2020-02-12 Jan Beulich <jbeulich@suse.com>
99 * i386-dis.c (putop): Handle REX.W in '^' case for Intel64 mode.
100 * i386-opc.tbl (lfs, lgs, lss, lcall, ljmp): Split into
101 Amd64 and Intel64 templates.
102 (call, jmp): Likewise for far indirect variants. Dro
104 * i386-tbl.h: Re-generate.
106 2020-02-11 Jan Beulich <jbeulich@suse.com>
108 * i386-gen.c (opcode_modifiers): Remove ShortForm entry.
109 * i386-opc.h (ShortForm): Delete.
110 (struct i386_opcode_modifier): Remove shortform field.
111 * i386-opc.tbl (mov, movabs, push, pop, xchg, inc, dec, fld,
112 fst, fstp, fxch, fcom, fcomp, fucom, fucomp, fadd, faddp, fsub,
113 fsubp, fsubr, fsubrp, fmul, fmulp, fdiv, fdivp, fdivr, fdivrp,
114 ffreep, bswap, fcmov*, fcomi, fcomip, fucomi, fucomip, movq):
116 * i386-tbl.h: Re-generate.
118 2020-02-11 Jan Beulich <jbeulich@suse.com>
120 * i386-opc.tbl (fcomi, fucomi, fcomip, fcompi, fucomip,
121 fucompi): Drop ShortForm from operand-less templates.
122 * i386-tbl.h: Re-generate.
124 2020-02-11 Alan Modra <amodra@gmail.com>
126 * cgen-ibld.in (extract_normal): Set *valuep on all return paths.
127 * bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
128 * ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
129 * m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
130 * xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
132 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
134 * arm-dis.c (print_insn_cde): Define 'V' parse character.
135 (cde_opcodes): Add VCX* instructions.
137 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
138 Matthew Malcomson <matthew.malcomson@arm.com>
140 * arm-dis.c (struct cdeopcode32): New.
141 (CDE_OPCODE): New macro.
142 (cde_opcodes): New disassembly table.
143 (regnames): New option to table.
144 (cde_coprocs): New global variable.
145 (print_insn_cde): New
146 (print_insn_thumb32): Use print_insn_cde.
147 (parse_arm_disassembler_options): Parse coprocN args.
149 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
152 * i386-gen.c (opcode_modifiers): Replace AMD64 and Intel64
154 * i386-opc.h (AMD64): Removed.
158 (INTEL64ONLY): Likewise.
159 (i386_opcode_modifier): Replace amd64 and intel64 with isa64.
160 * i386-opc.tbl (Amd64): New.
162 (Intel64Only): Likewise.
163 Replace AMD64 with Amd64. Update sysenter/sysenter with
164 Cpu64 and Intel64Only. Remove AMD64 from sysenter/sysenter.
165 * i386-tbl.h: Regenerated.
167 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
170 * z80-dis.c: Add support for GBZ80 opcodes.
172 2020-02-04 Alan Modra <amodra@gmail.com>
174 * d30v-dis.c (print_insn): Make "val" and "opnum" unsigned.
176 2020-02-03 Alan Modra <amodra@gmail.com>
178 * m32c-ibld.c: Regenerate.
180 2020-02-01 Alan Modra <amodra@gmail.com>
182 * frv-ibld.c: Regenerate.
184 2020-01-31 Jan Beulich <jbeulich@suse.com>
186 * i386-dis.c (EXxmm_mdq, xmm_mdq_mode): Delete.
187 (intel_operand_size, OP_EX): Drop xmm_mdq_mode case label.
188 (OP_E_memory): Replace xmm_mdq_mode case label by
189 vex_scalar_w_dq_mode one.
190 * i386-dis-evex-prefix.h: Replace EXxmm_mdq by EXVexWdqScalar.
192 2020-01-31 Jan Beulich <jbeulich@suse.com>
194 * i386-dis.c (EXVexWdq, vex_w_dq_mode): Delete.
195 (vex_vsib_d_w_dq_mode, vex_vsib_q_w_dq_mode,
196 vex_scalar_w_dq_mode): Don't refer to vex_w_dq_mode in comments.
197 (intel_operand_size): Drop vex_w_dq_mode case label.
199 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
201 * aarch64-tbl.h (aarch64_opcode): Set C_MAX_ELEM for SVE bfcvt.
202 Remove C_SCAN_MOVPRFX for SVE bfcvtnt.
204 2020-01-30 Alan Modra <amodra@gmail.com>
206 * m32c-ibld.c: Regenerate.
208 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
210 * bpf-opc.c: Regenerate.
212 2020-01-30 Jan Beulich <jbeulich@suse.com>
214 * i386-dis.c (X86_64_C2, X86_64_C3): New enumerators.
215 (dis386): Use them to replace C2/C3 table entries.
216 (x86_64_table): Add X86_64_C2 and X86_64_C3 entries.
217 * i386-opc.tbl (ret): Split Cpu64 entries into AMD64 and Intel64
218 ones. Use Size64 instead of DefaultSize on Intel64 ones.
219 * i386-tbl.h: Re-generate.
221 2020-01-30 Jan Beulich <jbeulich@suse.com>
223 * i386-opc.tbl (call): Drop DefaultSize from Intel64 JumpDword
225 (fldenv, fnstenv, fstenv, fnsave, fsave, frstor): Drop
227 * i386-tbl.h: Re-generate.
229 2020-01-30 Alan Modra <amodra@gmail.com>
231 * tic4x-dis.c (tic4x_dp): Make unsigned.
233 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
234 Jan Beulich <jbeulich@suse.com>
237 * i386-dis.c (MOVSXD_Fixup): New function.
238 (movsxd_mode): New enum.
239 (x86_64_table): Use MOVSXD_Fixup and movsxd_mode on movsxd.
240 (intel_operand_size): Handle movsxd_mode.
241 (OP_E_register): Likewise.
243 * i386-opc.tbl: Remove Rex64 and allow 32-bit destination
244 register on movsxd. Add movsxd with 16-bit destination register
245 for AMD64 and Intel64 ISAs.
246 * i386-tbl.h: Regenerated.
248 2020-01-27 Tamar Christina <tamar.christina@arm.com>
251 * aarch64-tbl.h (struct aarch64_opcode): Re-order cfinv.
252 * aarch64-asm-2.c: Regenerate
253 * aarch64-dis-2.c: Likewise.
254 * aarch64-opc-2.c: Likewise.
256 2020-01-21 Jan Beulich <jbeulich@suse.com>
258 * i386-opc.tbl (sysret): Drop DefaultSize.
259 * i386-tbl.h: Re-generate.
261 2020-01-21 Jan Beulich <jbeulich@suse.com>
263 * i386-opc.tbl (vcvtneps2bf16x): Add Broadcast, Xmmword, and
265 (vcvtneps2bf16y): Add Broadcast, Ymmword, and Dword.
266 * i386-tbl.h: Re-generate.
268 2020-01-20 Nick Clifton <nickc@redhat.com>
270 * po/de.po: Updated German translation.
271 * po/pt_BR.po: Updated Brazilian Portuguese translation.
272 * po/uk.po: Updated Ukranian translation.
274 2020-01-20 Alan Modra <amodra@gmail.com>
276 * hppa-dis.c (fput_const): Remove useless cast.
278 2020-01-20 Alan Modra <amodra@gmail.com>
280 * arm-dis.c (print_insn_arm): Wrap 'T' value.
282 2020-01-18 Nick Clifton <nickc@redhat.com>
284 * configure: Regenerate.
285 * po/opcodes.pot: Regenerate.
287 2020-01-18 Nick Clifton <nickc@redhat.com>
289 Binutils 2.34 branch created.
291 2020-01-17 Christian Biesinger <cbiesinger@google.com>
293 * opintl.h: Fix spelling error (seperate).
295 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
297 * i386-opc.tbl: Add {vex} pseudo prefix.
298 * i386-tbl.h: Regenerated.
300 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
303 * opcodes/arm-dis.c (coprocessor_opcodes): Use CORE_HIGH for MVE bits.
304 (neon_opcodes): Likewise.
305 (select_arm_features): Make sure we enable MVE bits when selecting
306 armv8.1-m.main. Make sure we do not enable MVE bits when not selecting
309 2020-01-16 Jan Beulich <jbeulich@suse.com>
311 * i386-opc.tbl: Drop stale comment from XOP section.
313 2020-01-16 Jan Beulich <jbeulich@suse.com>
315 * i386-opc.tbl (movq): Add VexWIG to SSE2AVX XMM->XMM forms.
316 (extractps): Add VexWIG to SSE2AVX forms.
317 * i386-tbl.h: Re-generate.
319 2020-01-16 Jan Beulich <jbeulich@suse.com>
321 * i386-opc.tbl (pextrq, pinsrq): Drop IgnoreSize and Qword. Drop
322 Size64 from and use VexW1 on SSE2AVX forms.
323 (vpextrq, vpinsrq): Drop IgnoreSize and Qword. Drop Size64 from
324 VEX-encoded forms. Add Cpu64 to EVEX-encoded forms. Use VexW1.
325 * i386-tbl.h: Re-generate.
327 2020-01-15 Alan Modra <amodra@gmail.com>
329 * tic4x-dis.c (tic4x_version): Make unsigned long.
330 (optab, optab_special, registernames): New file scope vars.
331 (tic4x_print_register): Set up registernames rather than
332 malloc'd registertable.
333 (tic4x_disassemble): Delete optable and optable_special. Use
334 optab and optab_special instead. Throw away old optab,
335 optab_special and registernames when info->mach changes.
337 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
340 * z80-dis.c (suffix): Use .db instruction to generate double
343 2020-01-14 Alan Modra <amodra@gmail.com>
345 * z8k-dis.c (unpack_instr): Formatting. Cast unsigned short
346 values to unsigned before shifting.
348 2020-01-13 Thomas Troeger <tstroege@gmx.de>
350 * arm-dis.c (print_insn_arm): Fill in insn info fields for control
352 (print_insn_thumb16, print_insn_thumb32): Likewise.
353 (print_insn): Initialize the insn info.
354 * i386-dis.c (print_insn): Initialize the insn info fields, and
357 2012-01-13 Claudiu Zissulescu <claziss@gmail.com>
359 * arc-opc.c (C_NE): Make it required.
361 2012-01-13 Claudiu Zissulescu <claziss@gmail.com>
363 * opcode/arc-dis.c (regnames): Correct ACCL/ACCH naming, fix typo
364 reserved register name.
366 2020-01-13 Alan Modra <amodra@gmail.com>
368 * ns32k-dis.c (Is_gen): Use strchr, add 'f'.
369 (print_insn_ns32k): Adjust ioffset for 'f' index_offset.
371 2020-01-13 Alan Modra <amodra@gmail.com>
373 * wasm32-dis.c (print_insn_wasm32): Localise variables. Store
374 result of wasm_read_leb128 in a uint64_t and check that bits
375 are not lost when copying to other locals. Use uint32_t for
376 most locals. Use PRId64 when printing int64_t.
378 2020-01-13 Alan Modra <amodra@gmail.com>
380 * score-dis.c: Formatting.
381 * score7-dis.c: Formatting.
383 2020-01-13 Alan Modra <amodra@gmail.com>
385 * score-dis.c (print_insn_score48): Use unsigned variables for
386 unsigned values. Don't left shift negative values.
387 (print_insn_score32): Likewise.
388 * score7-dis.c (print_insn_score32, print_insn_score16): Likewise.
390 2020-01-13 Alan Modra <amodra@gmail.com>
392 * tic4x-dis.c (tic4x_print_register): Remove dead code.
394 2020-01-13 Alan Modra <amodra@gmail.com>
396 * fr30-ibld.c: Regenerate.
398 2020-01-13 Alan Modra <amodra@gmail.com>
400 * xgate-dis.c (print_insn): Don't left shift signed value.
401 (ripBits): Formatting, use 1u.
403 2020-01-10 Alan Modra <amodra@gmail.com>
405 * tilepro-opc.c (parse_insn_tilepro): Make opval unsigned.
406 * tilegx-opc.c (parse_insn_tilegx): Likewise. Delete raw_opval.
408 2020-01-10 Alan Modra <amodra@gmail.com>
410 * m10300-dis.c (disassemble): Move extraction of DREG, AREG, RREG,
411 and XRREG value earlier to avoid a shift with negative exponent.
412 * m10200-dis.c (disassemble): Similarly.
414 2020-01-09 Nick Clifton <nickc@redhat.com>
417 * z80-dis.c (ld_ii_ii): Use correct cast.
419 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
422 * z80-dis.c (ld_ii_ii): Use character constant when checking
425 2020-01-09 Jan Beulich <jbeulich@suse.com>
427 * i386-dis.c (SEP_Fixup): New.
429 (dis386_twobyte): Use it for sysenter/sysexit.
430 (enum x86_64_isa): Change amd64 enumerator to value 1.
431 (OP_J): Compare isa64 against intel64 instead of amd64.
432 * i386-opc.tbl (sysenter, sysexit): Split into AMD64 and Intel64
434 * i386-tbl.h: Re-generate.
436 2020-01-08 Alan Modra <amodra@gmail.com>
438 * z8k-dis.c: Include libiberty.h
439 (instr_data_s): Make max_fetched unsigned.
440 (z8k_lookup_instr): Make nibl_index and tabl_index unsigned.
441 Don't exceed byte_info bounds.
442 (output_instr): Make num_bytes unsigned.
443 (unpack_instr): Likewise for nibl_count and loop.
444 * z8kgen.c (gas <opcode_entry_type>): Make noperands, length and
446 * z8k-opc.h: Regenerate.
448 2020-01-07 Shahab Vahedi <shahab@synopsys.com>
450 * arc-tbl.h (llock): Use 'LLOCK' as class.
452 (scond): Use 'SCOND' as class.
454 (llockd): Set data_size_mode to 'C_ZZ_D' which is 64-bit.
457 2020-01-06 Alan Modra <amodra@gmail.com>
459 * m32c-ibld.c: Regenerate.
461 2020-01-06 Alan Modra <amodra@gmail.com>
464 * z80-dis.c (suffix): Don't use a local struct buffer copy.
465 Peek at next byte to prevent recursion on repeated prefix bytes.
466 Ensure uninitialised "mybuf" is not accessed.
467 (print_insn_z80): Don't zero n_fetch and n_used here,..
468 (print_insn_z80_buf): ..do it here instead.
470 2020-01-04 Alan Modra <amodra@gmail.com>
472 * m32r-ibld.c: Regenerate.
474 2020-01-04 Alan Modra <amodra@gmail.com>
476 * cr16-dis.c (cr16_match_opcode): Avoid shift left of signed value.
478 2020-01-04 Alan Modra <amodra@gmail.com>
480 * crx-dis.c (match_opcode): Avoid shift left of signed value.
482 2020-01-04 Alan Modra <amodra@gmail.com>
484 * d30v-dis.c (print_insn): Avoid signed overflow in left shift.
486 2020-01-03 Jan Beulich <jbeulich@suse.com>
488 * aarch64-tbl.h (aarch64_opcode_table): Use
489 SVE_ADDR_RX_LSL{1,2,3} for LD1RO{H,W,D}.
491 2020-01-03 Jan Beulich <jbeulich@suse.com>
493 * aarch64-tbl.h (aarch64_opcode_table): Correct SIMD
494 forms of SUDOT and USDOT.
496 2020-01-03 Jan Beulich <jbeulich@suse.com>
498 * aarch64-tbl.h (aarch64_opcode_table): Drop 'i' from
500 * opcodes/aarch64-dis-2.c: Re-generate.
502 2020-01-03 Jan Beulich <jbeulich@suse.com>
504 * aarch64-tbl.h (aarch64_opcode_table): Correct 64-bit
506 * opcodes/aarch64-dis-2.c: Re-generate.
508 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
510 * z80-dis.c: Add support for eZ80 and Z80 instructions.
512 2020-01-01 Alan Modra <amodra@gmail.com>
514 Update year range in copyright notice of all files.
516 For older changes see ChangeLog-2019
518 Copyright (C) 2020 Free Software Foundation, Inc.
520 Copying and distribution of this file, with or without modification,
521 are permitted in any medium without royalty provided the copyright
522 notice and this notice are preserved.
528 version-control: never