1 2015-07-03 Alan Modra <amodra@gmail.com>
3 * ppc-opc.c (PPC750, PPC7450, PPC860): Define using PPC_OPCODE_*.
4 * ppc-dis.c (ppc_opts): Add 821, 850 and 860 entries. Add
5 PPC_OPCODE_7450 to 7450 entry. Add PPC_OPCODE_750 to 750cl entry.
7 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
8 Cesar Philippidis <cesar@codesourcery.com>
10 * nios2-dis.c (nios2_extract_opcode): New.
11 (nios2_disassembler_state): New.
12 (nios2_find_opcode_hash): Use mach parameter to select correct
14 (nios2_print_insn_arg): Extend to support new R2 argument letters
16 (print_insn_nios2): Check for 16-bit instruction at end of memory.
17 * nios2-opc.c (nios2_builtin_regs): Add R2 register attributes.
18 (NIOS2_NUM_OPCODES): Rename to...
19 (NIOS2_NUM_R1_OPCODES): This.
20 (nios2_r2_opcodes): New.
21 (NIOS2_NUM_R2_OPCODES): New.
22 (nios2_num_r2_opcodes): New.
23 (nios2_r2_asi_n_mappings, nios2_num_r2_asi_n_mappings): New.
24 (nios2_r2_shi_n_mappings, nios2_num_r2_shi_n_mappings): New.
25 (nios2_r2_andi_n_mappings, nios2_num_r2_andi_n_mappings): New.
26 (nios2_r2_reg3_mappings, nios2_num_r2_reg3_mappings): New.
27 (nios2_r2_reg_range_mappings, nios2_num_r2_reg_range_mappings): New.
29 2015-06-30 Amit Pawar <Amit.Pawar@amd.com>
31 * i386-dis.c (OP_Mwaitx): New.
32 (rm_table): Add monitorx/mwaitx.
33 * i386-gen.c (cpu_flag_init): Add CpuMWAITX to CPU_BDVER4_FLAGS
34 and CPU_ZNVER1_FLAGS. Add CPU_MWAITX_FLAGS.
35 (operand_type_init): Add CpuMWAITX.
36 * i386-opc.h (CpuMWAITX): New.
37 (i386_cpu_flags): Add cpumwaitx.
38 * i386-opc.tbl: Add monitorx and mwaitx.
39 * i386-init.h: Regenerated.
40 * i386-tbl.h: Likewise.
42 2015-06-22 Peter Bergner <bergner@vnet.ibm.com>
44 * ppc-opc.c (insert_ls): Test for invalid LS operands.
45 (insert_esync): New function.
46 (LS, WC): Use insert_ls.
47 (ESYNC): Use insert_esync.
49 2015-06-22 Nick Clifton <nickc@redhat.com>
51 * dis-buf.c (buffer_read_memory): Fail is stop_vma is set and the
52 requested region lies beyond it.
53 * bfin-dis.c (print_insn_bfin): Ignore sysop instructions when
54 looking for 32-bit insns.
55 * mcore-dis.c (print_insn_mcore): Disable stop_vma when reading
57 * sh-dis.c (print_insn_sh): Likewise.
58 * tic6x-dis.c (print_insn_tic6x): Disable stop_vma when reading
59 blocks of instructions.
60 * vax-dis.c (print_insn_vax): Check that the requested address
61 does not clash with the stop_vma.
63 2015-06-19 Peter Bergner <bergner@vnet.ibm.com>
65 * ppc-dis.h (skip_optional_operands): Use ppc_optional_operand_value.
66 * ppc-opc.c (FXM4): Add non-zero optional value.
69 (insert_fxm): Handle new default operand value.
70 (extract_fxm): Likewise.
71 (insert_tbr): Likewise.
72 (extract_tbr): Likewise.
74 2015-06-16 Matthew Wahab <matthew.wahab@arm.com>
76 * arch64-opc.c (aarch64_sys_regs): Add "id_mmfr4_el1".
78 2015-06-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
80 * arm-dis.c (print_insn_coprocessor): Avoid negative shift.
82 2015-06-12 Peter Bergner <bergner@vnet.ibm.com>
84 * ppc-opc.c: Add comment accidentally removed by old commit.
87 2015-06-04 Nick Clifton <nickc@redhat.com>
90 * msp430-dis.c (msp430_nooperands): Fix check for emulated insns.
92 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
94 * arm-dis.c (arm_opcodes): Add "setpan".
95 (thumb_opcodes): Add "setpan".
97 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
99 * arm-dis.c (select_arm_features): Rework to avoid used of redefined
102 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
104 * aarch64-tbl.h (aarch64_feature_rdma): New.
106 (aarch64_opcode_table): Add "sqrmlah" and "sqrdmlsh" instructions.
107 * aarch64-asm-2.c: Regenerate.
108 * aarch64-dis-2.c: Regenerate.
109 * aarch64-opc-2.c: Regenerate.
111 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
113 * aarch64-tbl.h (aarch64_feature_lor): New.
115 (aarch64_opdocde_table): Add "ldlar", "ldlarb", "ldlarh", "stllr",
117 * aarch64-asm-2.c: Regenerate.
118 * aarch64-dis-2.c: Regenerate.
119 * aarch64-opc-2.c: Regenerate.
121 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
123 * aarch64-opc.c (F_ARCHEXT): New.
124 (aarch64_sys_regs): Add "pan".
125 (aarch64_sys_reg_supported_p): New.
126 (aarch64_pstatefields): Add "pan".
127 (aarch64_pstatefield_supported_p): New.
129 2015-06-01 Jan Beulich <jbeulich@suse.com>
131 * i386-tbl.h: Regenerate.
133 2015-06-01 Jan Beulich <jbeulich@suse.com>
135 * i386-dis.c (print_insn): Swap rounding mode specifier and
136 general purpose register in Intel mode.
138 2015-06-01 Jan Beulich <jbeulich@suse.com>
140 * i386-opc.tbl: New IntelSyntax entries for vcvt{,u}si2s{d,s}.
141 * i386-tbl.h: Regenerate.
143 2015-05-18 H.J. Lu <hongjiu.lu@intel.com>
145 * i386-opc.tbl: Remove Disp32 from AMD64 direct call/jmp.
146 * i386-init.h: Regenerated.
148 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
151 * i386-dis.c: Add comments for '@'.
152 (x86_64_table): Use '@' on call/jmp for X86_64_E8/X86_64_E9.
153 (enum x86_64_isa): New.
155 (print_i386_disassembler_options): Add amd64 and intel64.
156 (print_insn): Handle amd64 and intel64.
158 (OP_J): Don't ignore the operand size prefix for AMD64 in 64-bit.
159 * i386-gen.c (cpu_flags): Add CpuAMD64 and CpuIntel64.
160 * i386-opc.h (AMD64): New.
161 (CpuIntel64): Likewise.
162 (i386_cpu_flags): Add cpuamd64 and cpuintel64.
163 * i386-opc.tbl: Add direct call/jmp with Disp16|Disp32 for AMD64.
164 Mark direct call/jmp without Disp16|Disp32 as Intel64.
165 * i386-init.h: Regenerated.
166 * i386-tbl.h: Likewise.
168 2015-05-14 Peter Bergner <bergner@vnet.ibm.com>
170 * ppc-opc.c (IH) New define.
171 (powerpc_opcodes) <wait>: Do not enable for POWER7.
172 <tlbie>: Add RS operand for POWER7.
173 <slbia>: Add IH operand for POWER6.
175 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
177 * opcodes/i386-opc.tbl (call): Remove Disp16|Disp32 from 64-bit
180 * i386-tbl.h: Regenerated.
182 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
184 * configure.ac: Support bfd_iamcu_arch.
185 * disassemble.c (disassembler): Support bfd_iamcu_arch.
186 * i386-gen.c (cpu_flag_init): Add CPU_IAMCU_FLAGS and
187 CPU_IAMCU_COMPAT_FLAGS.
188 (cpu_flags): Add CpuIAMCU.
189 * i386-opc.h (CpuIAMCU): New.
190 (i386_cpu_flags): Add cpuiamcu.
191 * configure: Regenerated.
192 * i386-init.h: Likewise.
193 * i386-tbl.h: Likewise.
195 2015-05-08 H.J. Lu <hongjiu.lu@intel.com>
198 * i386-dis.c (X86_64_E8): New.
199 (X86_64_E9): Likewise.
200 Update comments on 'T', 'U', 'V'. Add comments for '^'.
201 (dis386): Replace callT/jmpT with X86_64_E8/X86_64_E9.
202 (x86_64_table): Add X86_64_E8 and X86_64_E9.
203 (mod_table): Replace {T|} with ^ on Jcall/Jmp.
205 (OP_J): Ignore the operand size prefix in 64-bit. Don't check
208 2015-04-30 DJ Delorie <dj@redhat.com>
210 * disassemble.c (disassembler): Choose suitable disassembler based
212 * rl78-decode.opc (rl78_decode_opcode): Take ISA parameter. Use
213 it to decode mul/div insns.
214 * rl78-decode.c: Regenerate.
215 * rl78-dis.c (print_insn_rl78): Rename to...
216 (print_insn_rl78_common): ...this, take ISA parameter.
217 (print_insn_rl78): New.
218 (print_insn_rl78_g10): New.
219 (print_insn_rl78_g13): New.
220 (print_insn_rl78_g14): New.
221 (rl78_get_disassembler): New.
223 2015-04-29 Nick Clifton <nickc@redhat.com>
225 * po/fr.po: Updated French translation.
227 2015-04-27 Peter Bergner <bergner@vnet.ibm.com>
229 * ppc-opc.c (DCBT_EO): New define.
230 (powerpc_opcodes) <lbarx>: Enable for POWER8 and later.
234 <waitrsv>: Do not enable for POWER7 and later.
235 <waitimpl>: Likewise.
236 <dcbt>: Default to the two operand form of the instruction for all
237 "old" cpus. For "new" cpus, use the operand ordering that matches
238 whether the cpu is server or embedded.
241 2015-04-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
243 * s390-opc.c: New instruction type VV0UU2.
244 * s390-opc.txt: Fix instruction types for VFCE, VLDE, VFSQ, WFK,
247 2015-04-23 Jan Beulich <jbeulich@suse.com>
249 * i386-dis.c (putop): Extend "XY" handling to AVX512. Handle "XZ".
250 * i386-dis-evex.h.c (vcvtpd2ps, vcvtqq2ps, vcvttpd2udq,
251 vcvtpd2udq, vcvtuqq2ps, vcvttpd2dq, vcvtpd2dq): Add %XY.
252 (vfpclasspd, vfpclassps): Add %XZ.
254 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
256 * i386-dis.c (PREFIX_UD_SHIFT): Removed.
257 (PREFIX_UD_REPZ): Likewise.
258 (PREFIX_UD_REPNZ): Likewise.
259 (PREFIX_UD_DATA): Likewise.
260 (PREFIX_UD_ADDR): Likewise.
261 (PREFIX_UD_LOCK): Likewise.
263 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
265 * i386-dis.c (prefix_requirement): Removed.
266 (print_insn): Don't set prefix_requirement. Check
267 dp->prefix_requirement instead of prefix_requirement.
269 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
272 * i386-dis.c (PREFIX_0FC7_REG_6): Renamed to ...
273 (PREFIX_MOD_0_0FC7_REG_6): This.
274 (PREFIX_MOD_3_0FC7_REG_6): New.
275 (PREFIX_MOD_3_0FC7_REG_7): Likewise.
276 (prefix_table): Replace PREFIX_0FC7_REG_6 with
277 PREFIX_MOD_0_0FC7_REG_6. Add PREFIX_MOD_3_0FC7_REG_6 and
278 PREFIX_MOD_3_0FC7_REG_7.
279 (mod_table): Replace PREFIX_0FC7_REG_6 with
280 PREFIX_MOD_0_0FC7_REG_6. Use PREFIX_MOD_3_0FC7_REG_6 and
281 PREFIX_MOD_3_0FC7_REG_7.
283 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
285 * i386-dis.c (PREFIX_MANDATORY_REPZ): Removed.
286 (PREFIX_MANDATORY_REPNZ): Likewise.
287 (PREFIX_MANDATORY_DATA): Likewise.
288 (PREFIX_MANDATORY_ADDR): Likewise.
289 (PREFIX_MANDATORY_LOCK): Likewise.
290 (PREFIX_MANDATORY): Likewise.
291 (PREFIX_UD_SHIFT): Set to 8
292 (PREFIX_UD_REPZ): Updated.
293 (PREFIX_UD_REPNZ): Likewise.
294 (PREFIX_UD_DATA): Likewise.
295 (PREFIX_UD_ADDR): Likewise.
296 (PREFIX_UD_LOCK): Likewise.
297 (PREFIX_IGNORED_SHIFT): New.
298 (PREFIX_IGNORED_REPZ): Likewise.
299 (PREFIX_IGNORED_REPNZ): Likewise.
300 (PREFIX_IGNORED_DATA): Likewise.
301 (PREFIX_IGNORED_ADDR): Likewise.
302 (PREFIX_IGNORED_LOCK): Likewise.
303 (PREFIX_OPCODE): Likewise.
304 (PREFIX_IGNORED): Likewise.
305 (Bad_Opcode): Replace PREFIX_MANDATORY with 0.
306 (dis386_twobyte): Replace PREFIX_MANDATORY with PREFIX_OPCODE.
307 (three_byte_table): Likewise.
308 (mod_table): Likewise.
309 (mandatory_prefix): Renamed to ...
310 (prefix_requirement): This.
311 (prefix_table): Replace PREFIX_MANDATORY with PREFIX_OPCODE.
312 Update PREFIX_90 entry.
313 (get_valid_dis386): Check prefix_requirement to see if a prefix
315 (print_insn): Replace mandatory_prefix with prefix_requirement.
317 2015-04-15 Renlin Li <renlin.li@arm.com>
319 * arm-dis.c (thumb32_opcodes): Define 'D' format control code,
320 use it for ssat and ssat16.
321 (print_insn_thumb32): Add handle case for 'D' control code.
323 2015-04-06 Ilya Tocar <ilya.tocar@intel.com>
324 H.J. Lu <hongjiu.lu@intel.com>
326 * i386-dis-evex.h (evex_table): Fill prefix_requirement field.
327 * i386-dis.c (PREFIX_MANDATORY_REPZ, PREFIX_MANDATORY_REPNZ,
328 PREFIX_MANDATORY_DATA, PREFIX_MANDATORY_ADDR, PREFIX_MANDATORY_LOCK,
329 PREFIX_UD_SHIFT, PREFIX_UD_REPZ, REFIX_UD_REPNZ, PREFIX_UD_DATA,
330 PREFIX_UD_ADDR, PREFIX_UD_LOCK, PREFIX_MANDATORY): Define.
331 (Bad_Opcode, FLOAT, DIS386, DIS386_PREFIX, THREE_BYTE_TABLE_PREFIX):
332 Fill prefix_requirement field.
333 (struct dis386): Add prefix_requirement field.
334 (dis386): Fill prefix_requirement field.
335 (dis386_twobyte): Ditto.
336 (twobyte_has_mandatory_prefix_: Remove.
337 (reg_table): Fill prefix_requirement field.
338 (prefix_table): Ditto.
339 (x86_64_table): Ditto.
340 (three_byte_table): Ditto.
343 (vex_len_table): Ditto.
344 (vex_w_table): Ditto.
347 (print_insn): Use prefix_requirement.
348 (FGRPd9_2, FGRPd9_4, FGRPd9_5, FGRPd9_6, FGRPd9_7, FGRPda_5, FGRPdb_4,
349 FGRPde_3, FGRPdf_4): Fill prefix_requirement field.
352 2015-03-30 Mike Frysinger <vapier@gentoo.org>
354 * d10v-opc.c (d10v_reg_name_cnt): Convert old style prototype.
356 2015-03-29 H.J. Lu <hongjiu.lu@intel.com>
358 * Makefile.in: Regenerated.
360 2015-03-25 Anton Blanchard <anton@samba.org>
362 * ppc-dis.c (disassemble_init_powerpc): Only initialise
363 powerpc_opcd_indices and vle_opcd_indices once.
365 2015-03-25 Anton Blanchard <anton@samba.org>
367 * ppc-opc.c (powerpc_opcodes): Add slbfee.
369 2015-03-24 Terry Guo <terry.guo@arm.com>
371 * arm-dis.c (opcode32): Updated to use new arm feature struct.
372 (opcode16): Likewise.
373 (coprocessor_opcodes): Replace bit with feature struct.
374 (neon_opcodes): Likewise.
375 (arm_opcodes): Likewise.
376 (thumb_opcodes): Likewise.
377 (thumb32_opcodes): Likewise.
378 (print_insn_coprocessor): Likewise.
379 (print_insn_arm): Likewise.
380 (select_arm_features): Follow new feature struct.
382 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
384 * i386-dis.c (rm_table): Add clzero.
385 * i386-gen.c (cpu_flag_init): Add new CPU_ZNVER1_FLAGS.
386 Add CPU_CLZERO_FLAGS.
387 (cpu_flags): Add CpuCLZERO.
388 * i386-opc.h: Add CpuCLZERO.
389 * i386-opc.tbl: Add clzero.
390 * i386-init.h: Re-generated.
391 * i386-tbl.h: Re-generated.
393 2015-03-13 Andrew Bennett <andrew.bennett@imgtec.com>
395 * mips-opc.c (decode_mips_operand): Fix constraint issues
396 with u and y operands.
398 2015-03-13 Andrew Bennett <andrew.bennett@imgtec.com>
400 * mips-opc.c (mips_builtin_opcodes): Add evp and dvp instructions.
402 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
404 * s390-opc.c: Add new IBM z13 instructions.
405 * s390-opc.txt: Likewise.
407 2015-03-10 Renlin Li <renlin.li@arm.com>
409 * aarch64-tbl.h (aarch64_opcode_table): Remove strub, ldurb, ldursb,
410 stur, ldur, sturh, ldurh, ldursh, ldursw, prfum F_HAS_ALIAS flag and
412 * aarch64-asm-2.c: Regenerate.
413 * aarch64-dis-2.c: Likewise.
414 * aarch64-opc-2.c: Likewise.
416 2015-03-03 Jiong Wang <jiong.wang@arm.com>
418 * arm-dis.c (arm_symbol_is_valid): Skip ARM private symbols.
420 2015-02-25 Oleg Endo <olegendo@gcc.gnu.org>
422 * sh-opc.h (clrs, sets): Mark as arch_sh3_nommu_up instead of
424 (pref): Mark as arch_sh2a_nofpu_or_sh3_nommu_up instead of
425 arch_sh2a_nofpu_or_sh4_nommu_nofpu_up.
427 2015-02-23 Vinay <Vinay.G@kpit.com>
429 * rl78-decode.opc (MOV): Added space between two operands for
430 'mov' instruction in index addressing mode.
431 * rl78-decode.c: Regenerate.
433 2015-02-19 Pedro Alves <palves@redhat.com>
435 * microblaze-dis.h [__cplusplus]: Wrap in extern "C".
437 2015-02-10 Pedro Alves <palves@redhat.com>
438 Tom Tromey <tromey@redhat.com>
440 * microblaze-opcm.h (or, and, xor): Rename to microblaze_or,
441 microblaze_and, microblaze_xor.
442 * microblaze-opc.h (opcodes): Adjust.
444 2015-01-28 James Bowman <james.bowman@ftdichip.com>
446 * Makefile.am: Add FT32 files.
447 * configure.ac: Handle FT32.
448 * disassemble.c (disassembler): Call print_insn_ft32.
449 * ft32-dis.c: New file.
450 * ft32-opc.c: New file.
451 * Makefile.in: Regenerate.
452 * configure: Regenerate.
453 * po/POTFILES.in: Regenerate.
455 2015-01-28 Kuan-Lin Chen <kuanlinchentw@gmail.com>
457 * nds32-asm.c (keyword_sr): Add new system registers.
459 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
461 * s390-dis.c (s390_extract_operand): Support vector register
463 (s390_print_insn_with_opcode): Support new operands types and add
464 new handling of optional operands.
465 * s390-mkopc.c (s390_opcode_mode_val, s390_opcode_cpu_val): Remove
466 and include opcode/s390.h instead.
467 (struct op_struct): New field `flags'.
468 (insertOpcode, insertExpandedMnemonic): New parameter `flags'.
469 (dumpTable): Dump flags.
470 (main): Parse flags from the s390-opc.txt file. Add z13 as cpu
472 * s390-opc.c: Add new operands types, instruction formats, and
474 (s390_opformats): Add new formats for .insn.
475 * s390-opc.txt: Add new instructions.
477 2015-01-01 Alan Modra <amodra@gmail.com>
479 Update year range in copyright notice of all files.
481 For older changes see ChangeLog-2014
483 Copyright (C) 2015 Free Software Foundation, Inc.
485 Copying and distribution of this file, with or without modification,
486 are permitted in any medium without royalty provided the copyright
487 notice and this notice are preserved.
493 version-control: never