1 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
3 * ppc-dis.c (ppc_opts) <altivec>: Do not use PPC_OPCODE_ALTIVEC2;
4 <vsx>: Do not use PPC_OPCODE_VSX3;
6 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
8 * ppc-opc.c (powerpc_opcodes) <lnia>: New extended mnemonic.
10 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
12 * i386-dis.c (REG_0F1E_MOD_3): New enum.
13 (MOD_0F1E_PREFIX_1): Likewise.
14 (MOD_0F38F5_PREFIX_2): Likewise.
15 (MOD_0F38F6_PREFIX_0): Likewise.
16 (RM_0F1E_MOD_3_REG_7): Likewise.
17 (PREFIX_MOD_0_0F01_REG_5): Likewise.
18 (PREFIX_MOD_3_0F01_REG_5_RM_1): Likewise.
19 (PREFIX_MOD_3_0F01_REG_5_RM_2): Likewise.
20 (PREFIX_0F1E): Likewise.
21 (PREFIX_MOD_0_0FAE_REG_5): Likewise.
22 (PREFIX_0F38F5): Likewise.
23 (dis386_twobyte): Use PREFIX_0F1E.
24 (reg_table): Add REG_0F1E_MOD_3.
25 (prefix_table): Add PREFIX_MOD_0_0F01_REG_5,
26 PREFIX_MOD_3_0F01_REG_5_RM_1, PREFIX_MOD_3_0F01_REG_5_RM_2,
27 PREFIX_0F1E, PREFIX_MOD_0_0FAE_REG_5 and PREFIX_0F38F5. Update
28 PREFIX_0FAE_REG_6 and PREFIX_0F38F6.
29 (three_byte_table): Use PREFIX_0F38F5.
30 (mod_table): Use PREFIX_MOD_0_0F01_REG_5, PREFIX_MOD_0_0FAE_REG_5.
31 Add MOD_0F1E_PREFIX_1, MOD_0F38F5_PREFIX_2, MOD_0F38F6_PREFIX_0.
32 (rm_table): Add MOD_0F38F5_PREFIX_2, MOD_0F38F6_PREFIX_0,
33 RM_0F1E_MOD_3_REG_7. Use PREFIX_MOD_3_0F01_REG_5_RM_1 and
34 PREFIX_MOD_3_0F01_REG_5_RM_2.
35 * i386-gen.c (cpu_flag_init): Add CPU_CET_FLAGS.
36 (cpu_flags): Add CpuCET.
37 * i386-opc.h (CpuCET): New enum.
38 (CpuUnused): Commented out.
39 (i386_cpu_flags): Add cpucet.
40 * i386-opc.tbl: Add Intel CET instructions.
41 * i386-init.h: Regenerated.
42 * i386-tbl.h: Likewise.
44 2017-03-06 Alan Modra <amodra@gmail.com>
47 * ppc-opc.c (extract_esync, extract_ls, extract_ral, extract_ram)
48 (extract_raq, extract_ras, extract_rbx): New functions.
49 (powerpc_operands): Use opposite corresponding insert function.
51 (powerpc_opcodes): Apply Q_MASK to all quad insns with even
54 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
56 * disassemble.c Include "safe-ctype.h".
57 (disassemble_init_for_target): Handle s390 init.
58 (remove_whitespace_and_extra_commas): New function.
59 (disassembler_options_cmp): Likewise.
60 * arm-dis.c: Include "libiberty.h".
62 (regnames): Use long disassembler style names.
63 Add force-thumb and no-force-thumb options.
64 (NUM_ARM_REGNAMES): Rename from this...
65 (NUM_ARM_OPTIONS): ...to this. Use ARRAY_SIZE.
66 (get_arm_regname_num_options): Delete.
67 (set_arm_regname_option): Likewise.
68 (get_arm_regnames): Likewise.
69 (parse_disassembler_options): Likewise.
70 (parse_arm_disassembler_option): Rename from this...
71 (parse_arm_disassembler_options): ...to this. Make static.
72 Use new FOR_EACH_DISASSEMBLER_OPTION macro to scan over options.
73 (print_insn): Use parse_arm_disassembler_options.
74 (disassembler_options_arm): New function.
75 (print_arm_disassembler_options): Handle updated regnames.
76 * ppc-dis.c: Include "libiberty.h".
77 (ppc_opts): Add "32" and "64" entries.
78 (ppc_parse_cpu): Use ARRAY_SIZE and disassembler_options_cmp.
79 (powerpc_init_dialect): Add break to switch statement.
80 Use new FOR_EACH_DISASSEMBLER_OPTION macro.
81 (disassembler_options_powerpc): New function.
82 (print_ppc_disassembler_options): Use ARRAY_SIZE.
83 Remove printing of "32" and "64".
84 * s390-dis.c: Include "libiberty.h".
85 (init_flag): Remove unneeded variable.
86 (struct s390_options_t): New structure type.
87 (options): New structure.
88 (init_disasm): Rename from this...
89 (disassemble_init_s390): ...to this. Add initializations for
90 current_arch_mask and option_use_insn_len_bits_p. Remove init_flag.
91 (print_insn_s390): Delete call to init_disasm.
92 (disassembler_options_s390): New function.
93 (print_s390_disassembler_options): Print using information from
95 * po/opcodes.pot: Regenerate.
97 2017-02-28 Jan Beulich <jbeulich@suse.com>
99 * i386-dis.c (PCMPESTR_Fixup): New.
100 (VEX_W_0F3A60_P_2, VEX_W_0F3A61_P_2): Delete.
101 (prefix_table): Use PCMPESTR_Fixup.
102 (vex_len_table): Make VPCMPESTR{I,M} entries leaf ones and use
104 (vex_w_table): Delete VPCMPESTR{I,M} entries.
105 * i386-opc.tbl (pcmpestri, pcmpestrm, vpcmpestri, vpcmpestrm):
106 Split 64-bit and non-64-bit variants.
107 * opcodes/i386-tbl.h: Re-generate.
109 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
111 * aarch64-tbl.h (OP_SVE_HMH, OP_SVE_VMU_HSD, OP_SVE_VMVU_HSD)
112 (OP_SVE_VMVV_HSD, OP_SVE_VMVVU_HSD, OP_SVE_VM_HSD, OP_SVE_VUVV_HSD)
113 (OP_SVE_VUV_HSD, OP_SVE_VU_HSD, OP_SVE_VVVU_H, OP_SVE_VVVU_S)
114 (OP_SVE_VVVU_HSD, OP_SVE_VVV_D, OP_SVE_VVV_D_H, OP_SVE_VVV_H)
115 (OP_SVE_VVV_HSD, OP_SVE_VVV_S, OP_SVE_VVV_S_B, OP_SVE_VVV_SD_BH)
116 (OP_SVE_VV_BHSDQ, OP_SVE_VV_HSD, OP_SVE_VZVV_HSD, OP_SVE_VZV_HSD)
117 (OP_SVE_V_HSD): New macros.
118 (OP_SVE_VMU_SD, OP_SVE_VMVU_SD, OP_SVE_VM_SD, OP_SVE_VUVV_SD)
119 (OP_SVE_VU_SD, OP_SVE_VVVU_SD, OP_SVE_VVV_SD, OP_SVE_VZVV_SD)
120 (OP_SVE_VZV_SD, OP_SVE_V_SD): Delete.
121 (aarch64_opcode_table): Add new SVE instructions.
122 (aarch64_opcode_table): Use imm_rotate{1,2} instead of imm_rotate
123 for rotation operands. Add new SVE operands.
124 * aarch64-asm.h (ins_sve_addr_ri_s4): New inserter.
125 (ins_sve_quad_index): Likewise.
126 (ins_imm_rotate): Split into...
127 (ins_imm_rotate1, ins_imm_rotate2): ...these two inserters.
128 * aarch64-asm.c (aarch64_ins_imm_rotate): Split into...
129 (aarch64_ins_imm_rotate1, aarch64_ins_imm_rotate2): ...these two
131 (aarch64_ins_sve_addr_ri_s4): New function.
132 (aarch64_ins_sve_quad_index): Likewise.
133 (do_misc_encoding): Handle "MOV Zn.Q, Qm".
134 * aarch64-asm-2.c: Regenerate.
135 * aarch64-dis.h (ext_sve_addr_ri_s4): New extractor.
136 (ext_sve_quad_index): Likewise.
137 (ext_imm_rotate): Split into...
138 (ext_imm_rotate1, ext_imm_rotate2): ...these two extractors.
139 * aarch64-dis.c (aarch64_ext_imm_rotate): Split into...
140 (aarch64_ext_imm_rotate1, aarch64_ext_imm_rotate2): ...these two
142 (aarch64_ext_sve_addr_ri_s4): New function.
143 (aarch64_ext_sve_quad_index): Likewise.
144 (aarch64_ext_sve_index): Allow quad indices.
145 (do_misc_decoding): Likewise.
146 * aarch64-dis-2.c: Regenerate.
147 * aarch64-opc.h (FLD_SVE_i3h, FLD_SVE_rot1, FLD_SVE_rot2): New
149 (OPD_F_OD_MASK): Widen by one bit.
150 (OPD_F_NO_ZR): Bump accordingly.
151 (get_operand_field_width): New function.
152 * aarch64-opc.c (fields): Add new SVE fields.
153 (operand_general_constraint_met_p): Handle new SVE operands.
154 (aarch64_print_operand): Likewise.
155 * aarch64-opc-2.c: Regenerate.
157 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
159 * aarch64-tbl.h (aarch64_feature_simd_v8_3): Replace with...
160 (aarch64_feature_compnum): ...this.
161 (SIMD_V8_3): Replace with...
163 (CNUM_INSN): New macro.
164 (aarch64_opcode_table): Use it for the complex number instructions.
166 2017-02-24 Jan Beulich <jbeulich@suse.com>
168 * i386-dis.c (reg_table): REG_F6/1 and REG_F7/1 decode as TEST.
170 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
172 Add support for associating SPARC ASIs with an architecture level.
173 * include/opcode/sparc.h (sparc_asi): New sparc_asi struct.
174 * opcodes/sparc-opc.c (asi_table): Updated asi_table and encoding/
175 decoding of SPARC ASIs.
177 2017-02-23 Jan Beulich <jbeulich@suse.com>
179 * i386-dis.c (get_valid_dis386): Don't special case VEX opcode
180 82. For 3-byte VEX only special case opcode 77 in VEX_0F space.
182 2017-02-21 Jan Beulich <jbeulich@suse.com>
184 * aarch64-asm.c (convert_bfc_to_bfm): Copy operand 0 to operand
185 1 (instead of to itself). Correct typo.
187 2017-02-14 Andrew Waterman <andrew@sifive.com>
189 * riscv-opc.c (riscv_opcodes): Add sfence.vma instruction and
192 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
194 * aarch64-opc.c (aarch64_sys_regs): Add SVE registers.
195 (aarch64_sys_reg_supported_p): Handle them.
197 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
199 * arc-opc.c (UIMM6_20R): Define.
200 (SIMM12_20): Use above.
201 (SIMM12_20R): Define.
202 (SIMM3_5_S): Use above.
203 (UIMM7_A32_11R_S): Define.
204 (UIMM7_9_S): Use above.
205 (UIMM3_13R_S): Define.
206 (SIMM11_A32_7_S): Use above.
208 (UIMM10_A32_8_S): Use above.
209 (UIMM8_8R_S): Define.
211 (arc_relax_opcodes): Use all above defines.
213 2017-02-15 Vineet Gupta <vgupta@synopsys.com>
215 * arc-regs.h: Distinguish some of the registers different on
216 ARC700 and HS38 cpus.
218 2017-02-14 Alan Modra <amodra@gmail.com>
221 * ppc-opc.c (powerpc_operands): Flag SPR, SPRG and TBR entries
222 with PPC_OPERAND_SPR. Flag PSQ and PSQM with PPC_OPERAND_GQR.
224 2017-02-11 Stafford Horne <shorne@gmail.com>
225 Alan Modra <amodra@gmail.com>
227 * cgen-opc.c (cgen_lookup_insn): Delete buf and base_insn temps.
228 Use insn_bytes_value and insn_int_value directly instead. Don't
229 free allocated memory until function exit.
231 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
233 * ppc-opc.c (powerpc_opcodes) <scv, rfscv>: New mnemonics.
235 2017-02-03 Nick Clifton <nickc@redhat.com>
238 * aarch64-opc.c (print_register_list): Ensure that the register
239 list index will fir into the tb buffer.
240 (print_register_offset_address): Likewise.
241 * tic6x-dis.c (print_insn_tic6x): Increase size of func_unit_buf.
243 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
246 * tic6x-dis.c (print_insn_tic6x): Correct displaying of parallel
247 instructions when the previous fetch packet ends with a 32-bit
250 2017-01-24 Dimitar Dimitrov <dimitar@dinux.eu>
252 * pru-opc.c: Remove vague reference to a future GDB port.
254 2017-01-20 Nick Clifton <nickc@redhat.com>
256 * po/ga.po: Updated Irish translation.
258 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
260 * arm-dis.c (coprocessor_opcodes): Fix vcmla mask and disassembly.
262 2017-01-13 Yao Qi <yao.qi@linaro.org>
264 * m68k-dis.c (match_insn_m68k): Extend comments. Return -1
265 if FETCH_DATA returns 0.
266 (m68k_scan_mask): Likewise.
267 (print_insn_m68k): Update code to handle -1 return value.
269 2017-01-13 Yao Qi <yao.qi@linaro.org>
271 * m68k-dis.c (enum print_insn_arg_error): New.
272 (NEXTBYTE): Replace -3 with
273 PRINT_INSN_ARG_MEMORY_ERROR.
274 (NEXTULONG): Likewise.
275 (NEXTSINGLE): Likewise.
276 (NEXTDOUBLE): Likewise.
277 (NEXTDOUBLE): Likewise.
278 (NEXTPACKED): Likewise.
279 (FETCH_ARG): Likewise.
280 (FETCH_DATA): Update comments.
281 (print_insn_arg): Update comments. Replace magic numbers with
283 (match_insn_m68k): Likewise.
285 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
287 * i386-dis.c (enum): Add PREFIX_EVEX_0F3855, EVEX_W_0F3855_P_2.
288 * i386-dis-evex.h (evex_table): Updated.
289 * i386-gen.c (cpu_flag_init): Add CPU_AVX512_VPOPCNTDQ_FLAGS,
290 CPU_ANY_AVX512_VPOPCNTDQ_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
291 (cpu_flags): Add CpuAVX512_VPOPCNTDQ.
292 * i386-opc.h (enum): (AVX512_VPOPCNTDQ): New.
293 (i386_cpu_flags): Add cpuavx512_vpopcntdq.
294 * i386-opc.tbl: Add Intel AVX512_VPOPCNTDQ instructions.
295 * i386-init.h: Regenerate.
298 2017-01-12 Yao Qi <yao.qi@linaro.org>
300 * msp430-dis.c (msp430_singleoperand): Return -1 if
301 msp430dis_opcode_signed returns false.
302 (msp430_doubleoperand): Likewise.
303 (msp430_branchinstr): Return -1 if
304 msp430dis_opcode_unsigned returns false.
305 (msp430x_calla_instr): Likewise.
306 (print_insn_msp430): Likewise.
308 2017-01-05 Nick Clifton <nickc@redhat.com>
311 * frv-desc.c (lookup_mach_via_bfd_name): Return NULL if the name
312 could not be matched.
313 (frv_cgen_cpu_open): Allow for lookup_mach_via_bfd_name returning
316 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
318 * aarch64-tbl.h (RCPC, RCPC_INSN): Define.
319 (aarch64_opcode_table): Use RCPC_INSN.
321 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
323 * riscv-opc.c (riscv-opcodes): Add support for the "q" ISA
325 * riscv-opcodes/all-opcodes: Likewise.
327 2017-01-03 Dilyan Palauzov <dilyan.palauzov@aegee.org>
329 * riscv-dis.c (print_insn_args): Add fall through comment.
331 2017-01-03 Nick Clifton <nickc@redhat.com>
333 * po/sr.po: New Serbian translation.
334 * configure.ac (ALL_LINGUAS): Add sr.
335 * configure: Regenerate.
337 2017-01-02 Alan Modra <amodra@gmail.com>
339 * epiphany-desc.h: Regenerate.
340 * epiphany-opc.h: Regenerate.
341 * fr30-desc.h: Regenerate.
342 * fr30-opc.h: Regenerate.
343 * frv-desc.h: Regenerate.
344 * frv-opc.h: Regenerate.
345 * ip2k-desc.h: Regenerate.
346 * ip2k-opc.h: Regenerate.
347 * iq2000-desc.h: Regenerate.
348 * iq2000-opc.h: Regenerate.
349 * lm32-desc.h: Regenerate.
350 * lm32-opc.h: Regenerate.
351 * m32c-desc.h: Regenerate.
352 * m32c-opc.h: Regenerate.
353 * m32r-desc.h: Regenerate.
354 * m32r-opc.h: Regenerate.
355 * mep-desc.h: Regenerate.
356 * mep-opc.h: Regenerate.
357 * mt-desc.h: Regenerate.
358 * mt-opc.h: Regenerate.
359 * or1k-desc.h: Regenerate.
360 * or1k-opc.h: Regenerate.
361 * xc16x-desc.h: Regenerate.
362 * xc16x-opc.h: Regenerate.
363 * xstormy16-desc.h: Regenerate.
364 * xstormy16-opc.h: Regenerate.
366 2017-01-02 Alan Modra <amodra@gmail.com>
368 Update year range in copyright notice of all files.
370 For older changes see ChangeLog-2016
372 Copyright (C) 2017 Free Software Foundation, Inc.
374 Copying and distribution of this file, with or without modification,
375 are permitted in any medium without royalty provided the copyright
376 notice and this notice are preserved.
382 version-control: never