1 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
3 * arc-dis.c (skipclass): New structure.
4 (decodelist): New variable.
5 (is_compatible_p): New function.
6 (new_element): Likewise.
7 (skip_class_p): Likewise.
8 (find_format_from_table): Use skip_class_p function.
9 (find_format): Decode first the extension instructions.
10 (print_insn_arc): Select either ARCEM or ARCHS based on elf
12 (parse_option): New function.
13 (parse_disassembler_options): Likewise.
14 (print_arc_disassembler_options): Likewise.
15 (print_insn_arc): Use parse_disassembler_options function. Proper
16 select ARCv2 cpu variant.
17 * disassemble.c (disassembler_usage): Add ARC disassembler
20 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
22 * mips-opc.c (mips_builtin_opcodes): Remove the INSN2_ALIAS
23 annotation from the "nal" entry and reorder it beyond "bltzal".
25 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
27 * sparc-opc.c (ldtxa): New macro.
28 (sparc_opcodes): Use the macro defined above to add entries for
29 the LDTXA instructions.
30 (asi_table): Add the ASI_TWINX_* asis used in the LDTXA
33 2016-07-07 James Bowman <james.bowman@ftdichip.com>
35 * ft32-opc.c (ft32_opc_info): Correct mask for "callc"
38 2016-07-01 Jan Beulich <jbeulich@suse.com>
40 * i386-opc.tbl (movzbl, movzbw, movzbq, movzwl, movzwq): Remove.
41 (movzb): Adjust to cover all permitted suffixes.
43 * i386-tbl.h: Re-generate.
45 2016-07-01 Jan Beulich <jbeulich@suse.com>
47 * i386-opc.tbl (jmp): Remove Disp32S from non-64-bit variant.
48 (lgdt): Remove Tbyte from non-64-bit variant.
49 (fxsave64, fxrstor64, xsave64, xrstor64, xsaveopt64, xrstors64,
50 xsaves64, xsavec64): Remove Disp16.
51 (cvtsi2ss, cvtsi2sd, invept, invvpid, invpcid, vcvtsi2sd):
52 Remove Disp32S from non-64-bit variants. Remove Disp16 from
54 (vcvtsi2ss, vcvtsd2si, vcvtsd2usi, vcvtsi2sd, vcvtusi2sd,
55 vcvtusi2ss, vcvtss2si, vcvtss2usi, vcvttsd2si, vcvttsd2usi,
56 vcvttss2si, vcvttss2usi, vmovd, vmovq): Remove Disp16 from
58 * i386-tbl.h: Re-generate.
60 2016-07-01 Jan Beulich <jbeulich@suse.com>
62 * i386-opc.tbl (xlat): Remove RepPrefixOk.
63 * i386-tbl.h: Re-generate.
65 2016-06-30 Yao Qi <yao.qi@linaro.org>
67 * arm-dis.c (print_insn): Fix typo in comment.
69 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
71 * aarch64-opc.c (operand_general_constraint_met_p): Check the
72 range of ldst_elemlist operands.
73 (print_register_list): Use PRIi64 to print the index.
74 (aarch64_print_operand): Likewise.
76 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
78 * mcore-opc.h: Remove sentinal.
79 * mcore-dis.c (print_insn_mcore): Adjust.
81 2016-06-23 Graham Markall <graham.markall@embecosm.com>
83 * arc-opc.c: Correct description of availability of NPS400
86 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
88 * ppc-opc.c (RM, DRM, VXASH, VXASH_MASK, XMMF, XMMF_MASK): New defines.
89 (powerpc_opcodes) <brd, brh, brw, mffsce, mffscdrn, mffscdrni,
90 mffscrn, mffscrni, mffsl, nandxor, rldixor, setbool,
92 <setb>: Change to a VX form instruction.
93 (insert_sh6): Add support for rldixor.
94 (extract_sh6): Likewise.
96 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
98 * arc-ext.h: Wrap in extern C.
100 2016-06-21 Graham Markall <graham.markall@embecosm.com>
102 * arc-dis.c (arc_insn_length): Add comment on instruction length.
103 Use same method for determining instruction length on ARC700 and
105 (arc_insn_length, print_insn_arc): Remove bfd_mach_arc_nps400.
106 * arc-nps400-tbl.h: Make all nps400 instructions ARC700 instructions
107 with the NPS400 subclass.
108 * arc-opc.c: Likewise.
110 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
112 * sparc-opc.c (rdasr): New macro.
118 (sparc_opcodes): Use the macros above to fix and expand the
119 definition of read/write instructions from/to
120 asr/privileged/hyperprivileged instructions.
121 * sparc-dis.c (v9_hpriv_reg_names): Add %hmcdper, %hmcddfr and
122 %hva_mask_nz. Prefer softint_set and softint_clear over
123 set_softint and clear_softint.
124 (print_insn_sparc): Support %ver in Rd.
126 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
128 * sparc-opc.c (sparc_opcodes): Adjust instructions opcode
129 architecture according to the hardware capabilities they require.
131 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
133 * sparc-dis.c (MASK_V9): Add SPARC_OPCODE_ARCH_V9{C,D,E,V,M}.
134 (compute_arch_mask): Handle bfd_mach_sparc_v8plus{c,d,e,v,m} and
135 bfd_mach_sparc_v9{c,d,e,v,m}.
136 * sparc-opc.c (MASK_V9C): Define.
137 (MASK_V9D): Likewise.
138 (MASK_V9E): Likewise.
139 (MASK_V9V): Likewise.
140 (MASK_V9M): Likewise.
141 (v6): Add MASK_V9{C,D,E,V,M}.
142 (v6notlet): Likewise.
146 (v9andleon): Likewise.
154 (sparc_opcode_archs): Add entry for v9{c,d,e,v,m}.
156 2016-06-15 Nick Clifton <nickc@redhat.com>
158 * nds32-dis.c (nds32_parse_audio_ext): Change printing of integer
159 constants to match expected behaviour.
160 (nds32_parse_opcode): Likewise. Also for whitespace.
162 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
164 * arc-opc.c (extract_rhv1): Extract value from insn.
166 2016-06-14 Graham Markall <graham.markall@embecosm.com>
168 * arc-nps400-tbl.h: Add ldbit instruction.
169 * arc-opc.c: Add flag classes required for ldbit.
171 2016-06-14 Graham Markall <graham.markall@embecosm.com>
173 * arc-nps400-tbl.h: Add hash, hash.p[0-3], tr, utf8, e4by, and addf
174 * arc-opc.c: Add flag classes, insert/extract functions, and operands to
175 support the above instructions.
177 2016-06-14 Graham Markall <graham.markall@embecosm.com>
179 * arc-nps400-tbl.h: Add calcbsd, calcbxd, calckey, calcxkey, mxb,
180 imxb, addl, subl, andl, orl, xorl, andab, orab, lbdsize, bdlen, csms,
181 csma, cbba, zncv, and hofs.
182 * arc-opc.c: Add flag classes, insert/extract functions, and operands to
183 support the above instructions.
185 2016-06-06 Graham Markall <graham.markall@embecosm.com>
187 * arc-nps400-tbl.h: Add andab and orab instructions.
189 2016-06-06 Graham Markall <graham.markall@embecosm.com>
191 * arc-nps400-tbl.h: Add addl-like instructions.
193 2016-06-06 Graham Markall <graham.markall@embecosm.com>
195 * arc-nps400-tbl.h: Add mxb and imxb instructions.
197 2016-06-06 Graham Markall <graham.markall@embecosm.com>
199 * arc-nps400-tbl.h: Add calcbsd, calcbxd, calckey and calcxkey
202 2016-06-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
204 * s390-dis.c (option_use_insn_len_bits_p): New file scope
206 (init_disasm): Handle new command line option "insnlength".
207 (print_s390_disassembler_options): Mention new option in help
209 (print_insn_s390): Use the encoded insn length when dumping
210 unknown instructions.
212 2016-06-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
214 * avr-dis.c (avr_operand): Add default data address space origin (0x800000)
215 to the address and set as symbol address for LDS/ STS immediate operands.
217 2016-06-07 Alan Modra <amodra@gmail.com>
219 * ppc-dis.c (ppc_opts): Delete extraneous parentheses. Default
220 cpu for "vle" to e500.
221 * ppc-opc.c (ALLOW8_SPRG): Remove PPC_OPCODE_VLE.
222 (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW, DCBT_EO): Likewise.
223 (PPCNONE): Delete, substitute throughout.
224 (powerpc_opcodes): Remove PPCVLE from "flags". Add to "deprecated"
225 except for major opcode 4 and 31.
226 (vle_opcodes <se_rfmci>): Add PPCRFMCI to flags.
228 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
230 * arm-dis.c (arm_opcodes): Replace ARM_EXT_V8_2A with
231 ARM_EXT_RAS in relevant entries.
233 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
236 * ppc-opc.c (powerpc_opcodes <lbarx, lharx, stbcx., sthcx.>): Enable
239 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
242 * i386-dis.c (indirEv): Replace stack_v_mode with indir_v_mode.
244 Add comments for '&'.
245 (reg_table): Replace "{T|}" with "{&|}" on call and jmp.
247 (intel_operand_size): Handle indir_v_mode.
248 (OP_E_register): Likewise.
249 * i386-opc.tbl: Mark 64-bit indirect call/jmp as AMD64. Add
250 64-bit indirect call/jmp for AMD64.
251 * i386-tbl.h: Regenerated
253 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
255 * arc-dis.c (struct arc_operand_iterator): New structure.
256 (find_format_from_table): All the old content from find_format,
257 with some minor adjustments, and parameter renaming.
258 (find_format_long_instructions): New function.
259 (find_format): Rewritten.
260 (arc_insn_length): Add LSB parameter.
261 (extract_operand_value): New function.
262 (operand_iterator_next): New function.
263 (print_insn_arc): Use new functions to find opcode, and iterator
265 * arc-opc.c (insert_nps_3bit_dst_short): New function.
266 (extract_nps_3bit_dst_short): New function.
267 (insert_nps_3bit_src2_short): New function.
268 (extract_nps_3bit_src2_short): New function.
269 (insert_nps_bitop1_size): New function.
270 (extract_nps_bitop1_size): New function.
271 (insert_nps_bitop2_size): New function.
272 (extract_nps_bitop2_size): New function.
273 (insert_nps_bitop_mod4_msb): New function.
274 (extract_nps_bitop_mod4_msb): New function.
275 (insert_nps_bitop_mod4_lsb): New function.
276 (extract_nps_bitop_mod4_lsb): New function.
277 (insert_nps_bitop_dst_pos3_pos4): New function.
278 (extract_nps_bitop_dst_pos3_pos4): New function.
279 (insert_nps_bitop_ins_ext): New function.
280 (extract_nps_bitop_ins_ext): New function.
281 (arc_operands): Add new operands.
282 (arc_long_opcodes): New global array.
283 (arc_num_long_opcodes): New global.
284 * arc-nps400-tbl.h: Add comments referencing arc_long_opcodes.
286 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
288 * nds32-asm.h: Add extern "C".
289 * sh-opc.h: Likewise.
291 2016-06-01 Graham Markall <graham.markall@embecosm.com>
293 * arc-nps400-tbl.h: Add operands a,b,u6, 0,b,u6, and
294 0,b,limm to the rflt instruction.
296 2016-05-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
298 * sh-opc.h (ARCH_SH_HAS_DSP): Make the shifted value an unsigned
301 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
304 * i386-gen.c (cpu_flag_init): Add CPU_ANY_AVX512F_FLAGS,
305 CPU_ANY_AVX512CD_FLAGS, CPU_ANY_AVX512ER_FLAGS,
306 CPU_ANY_AVX512PF_FLAGS, CPU_ANY_AVX512DQ_FLAGS,
307 CPU_ANY_AVX512BW_FLAGS, CPU_ANY_AVX512VL_FLAGS,
308 CPU_ANY_AVX512IFMA_FLAGS and CPU_ANY_AVX512VBMI_FLAGS.
309 * i386-init.h: Regenerated.
311 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
314 * i386-gen.c (cpu_flag_init): Update CPU_XXX_FLAGS. Remove
315 CpuMMX from CPU_SSE_FLAGS. Remove AVX and AVX512 bits from
316 CPU_ANY_SSE_FLAGS. Remove AVX512 bits from CPU_ANY_AVX_FLAGS.
317 Add CPU_XSAVE_FLAGS to CPU_XSAVEOPT_FLAGS, CPU_XSAVE_FLAGS and
318 CpuXSAVEC. Add CPU_AVX_FLAGS to CpuF16C. Remove CpuMMX from
319 CPU_AVX512F_FLAGS, CPU_AVX512CD_FLAGS, CPU_AVX512ER_FLAGS,
320 CPU_AVX512PF_FLAGS, CPU_AVX512DQ_FLAGS and CPU_AVX512BW_FLAGS.
321 Add CPU_SSE2_FLAGS to CPU_SHA_FLAGS. Add CPU_ANY_287_FLAGS,
322 CPU_ANY_387_FLAGS, CPU_ANY_687_FLAGS, CPU_ANY_SSE2_FLAGS,
323 CPU_ANY_SSE3_FLAGS, CPU_ANY_SSSE3_FLAGS, CPU_ANY_SSE4_1_FLAGS,
324 CPU_ANY_SSE4_2_FLAGS and CPU_ANY_AVX2_FLAGS. Enable CpuRegMMX
325 for MMX. Enable CpuRegXMM for SSE, AVX and AVX512. Enable
326 CpuRegYMM for AVX and AVX512VL, Enable CpuRegZMM and
327 CpuRegMask for AVX512.
328 (cpu_flags): Add CpuRegMMX, CpuRegXMM, CpuRegYMM, CpuRegZMM
330 (set_bitfield_from_cpu_flag_init): New function.
331 (set_bitfield): Remove const on f. Call
332 set_bitfield_from_cpu_flag_init to handle CPU_XXX_FLAGS.
333 * i386-opc.h (CpuRegMMX): New.
334 (CpuRegXMM): Likewise.
335 (CpuRegYMM): Likewise.
336 (CpuRegZMM): Likewise.
337 (CpuRegMask): Likewise.
338 (i386_cpu_flags): Add cpuregmmx, cpuregxmm, cpuregymm, cpuregzmm
340 * i386-init.h: Regenerated.
341 * i386-tbl.h: Likewise.
343 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
346 * i386-gen.c (cpu_flags): Remove CpuAMD64 and CpuIntel64.
347 (opcode_modifiers): Add AMD64 and Intel64.
348 (main): Properly verify CpuMax.
349 * i386-opc.h (CpuAMD64): Removed.
350 (CpuIntel64): Likewise.
351 (CpuMax): Set to CpuNo64.
352 (i386_cpu_flags): Remove cpuamd64 and cpuintel64.
355 (i386_opcode_modifier): Add amd64 and intel64.
356 (i386-opc.tbl): Replace CpuAMD64/CpuIntel64 with AMD64/Intel64
358 * i386-init.h: Regenerated.
359 * i386-tbl.h: Likewise.
361 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
364 * i386-gen.c (main): Fail if CpuMax is incorrect.
365 * i386-opc.h (CpuMax): Set to CpuIntel64.
366 * i386-tbl.h: Regenerated.
368 2016-05-27 Nick Clifton <nickc@redhat.com>
371 * msp430-dis.c (msp430dis_read_two_bytes): New function.
372 (msp430dis_opcode_unsigned): New function.
373 (msp430dis_opcode_signed): New function.
374 (msp430_singleoperand): Use the new opcode reading functions.
375 Only disassenmble bytes if they were successfully read.
376 (msp430_doubleoperand): Likewise.
377 (msp430_branchinstr): Likewise.
378 (msp430x_callx_instr): Likewise.
379 (print_insn_msp430): Check that it is safe to read bytes before
380 attempting disassembly. Use the new opcode reading functions.
382 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
384 * ppc-opc.c (CY): New define. Document it.
385 (powerpc_opcodes) <addex[.], lwzmx, vmsumudm>: New mnemonics.
387 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
389 * i386-gen.c (cpu_flag_init): Add CpuVREX to CPU_AVX512DQ_FLAGS,
390 CPU_AVX512BW_FLAGS, CPU_AVX512VL_FLAGS, CPU_AVX512IFMA_FLAGS
391 and CPU_AVX512VBMI_FLAGS. Add CpuAVX512DQ, CpuAVX512BW,
392 CpuAVX512VL, CpuAVX512IFMA and CpuAVX512VBMI to
394 * i386-init.h: Regenerated.
396 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
399 * i386-gen.c (cpu_flag_init): Add CpuVREX to CPU_AVX512F_FLAGS,
400 CPU_AVX512CD_FLAGS, CPU_AVX512ER_FLAGS and CPU_AVX512PF_FLAGS.
401 * i386-init.h: Regenerated.
403 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
405 * i386-gen.c (cpu_flag_init): Rename CPU_ANY87_FLAGS to
406 CPU_ANY_X87_FLAGS. Add CPU_ANY_MMX_FLAGS.
407 * i386-init.h: Regenerated.
409 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
411 * arc-dis.c (print_flags): Set branch_delay_insns, and insn_type
413 (print_insn_arc): Set insn_type information.
414 * arc-opc.c (C_CC): Add F_CLASS_COND.
415 * arc-tbl.h (bbit0, bbit1): Update subclass to COND.
416 (beq_s, bge_s, bgt_s, bhi_s, bhs_s): Likewise.
417 (ble_s, blo_s, bls_s, blt_s, bne_s): Likewise.
418 (breq, breq_s, brge, brhs, brlo, brlt): Likewise.
419 (brne, brne_s, jeq_s, jne_s): Likewise.
421 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
423 * arc-tbl.h (neg): New instruction variant.
425 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
427 * arc-dis.c (find_format, find_format, get_auxreg)
428 (print_insn_arc): Changed.
429 * arc-ext.h (INSERT_XOP): Likewise.
431 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
433 * tic54x-dis.c (sprint_mmr): Adjust.
434 * tic54x-opc.c: Likewise.
436 2016-05-19 Alan Modra <amodra@gmail.com>
438 * ppc-opc.c (NSISIGNOPT): Use insert_nsi and extract_nsi.
440 2016-05-19 Alan Modra <amodra@gmail.com>
442 * ppc-opc.c: Formatting.
443 (NSISIGNOPT): Define.
444 (powerpc_opcodes <subis>): Use NSISIGNOPT.
446 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
448 * mips-dis.c (is_compressed_mode_p): Add `micromips_p' operand,
449 replacing references to `micromips_ase' throughout.
450 (_print_insn_mips): Don't use file-level microMIPS annotation to
451 determine the disassembly mode with the symbol table.
453 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
455 * ppc-opc.c (IMM8): Use PPC_OPERAND_SIGNOPT.
457 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
459 * mips-dis.c (mips_arch_choices): Add ASE_DSPR3 to mips32r6 and
461 * mips-opc.c (D34): New macro.
462 (mips_builtin_opcodes): Define bposge32c for DSPr3.
464 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
466 * i386-dis.c (prefix_table): Add RDPID instruction.
467 * i386-gen.c (cpu_flag_init): Add RDPID flag.
468 (cpu_flags): Add RDPID bitfield.
469 * i386-opc.h (enum): Add RDPID element.
470 (i386_cpu_flags): Add RDPID field.
471 * i386-opc.tbl: Add RDPID instruction.
472 * i386-init.h: Regenerate.
473 * i386-tbl.h: Regenerate.
475 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
477 * arm-dis.c (get_sym_code_type): Use ARM_GET_SYM_BRANCH_TYPE to get
478 branch type of a symbol.
479 (print_insn): Likewise.
481 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
483 * arm-dis.c (coprocessor_opcodes): Add entries for VFP ARMv8-M
484 Mainline Security Extensions instructions.
485 (thumb_opcodes): Add entries for narrow ARMv8-M Security
486 Extensions instructions.
487 (thumb32_opcodes): Add entries for wide ARMv8-M Security Extensions
489 (psr_name): Add new MSP_NS and PSP_NS ARMv8-M Security Extensions
492 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
494 * sparc-opc.c (sparc_opcodes): Fix mnemonic of faligndatai.
496 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
498 * arc-ext.c (dump_ARC_extmap): Handle SYNATX_NOP and SYNTAX_1OP.
499 (arcExtMap_genOpcode): Likewise.
500 * arc-opc.c (arg_32bit_rc): Define new variable.
501 (arg_32bit_u6): Likewise.
502 (arg_32bit_limm): Likewise.
504 2016-05-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
506 * aarch64-gen.c (VERIFIER): Define.
507 * aarch64-opc.c (VERIFIER): Define.
508 (verify_ldpsw): Use static linkage.
509 * aarch64-opc.h (verify_ldpsw): Remove.
510 * aarch64-tbl.h: Use VERIFIER for verifiers.
512 2016-04-28 Nick Clifton <nickc@redhat.com>
515 * aarch64-dis.c (aarch64_opcode_decode): Run verifier if present.
516 * aarch64-opc.c (verify_ldpsw): New function.
517 * aarch64-opc.h (verify_ldpsw): New prototype.
518 * aarch64-tbl.h: Add initialiser for verifier field.
519 (LDPSW): Set verifier to verify_ldpsw.
521 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
525 * i386-dis.c (print_insn): Return -1 if size of bfd_vma is
526 smaller than address size.
528 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
530 * alpha-dis.c: Regenerate.
531 * crx-dis.c: Likewise.
532 * disassemble.c: Likewise.
533 * epiphany-opc.c: Likewise.
534 * fr30-opc.c: Likewise.
535 * frv-opc.c: Likewise.
536 * ip2k-opc.c: Likewise.
537 * iq2000-opc.c: Likewise.
538 * lm32-opc.c: Likewise.
539 * lm32-opinst.c: Likewise.
540 * m32c-opc.c: Likewise.
541 * m32r-opc.c: Likewise.
542 * m32r-opinst.c: Likewise.
543 * mep-opc.c: Likewise.
544 * mt-opc.c: Likewise.
545 * or1k-opc.c: Likewise.
546 * or1k-opinst.c: Likewise.
547 * tic80-opc.c: Likewise.
548 * xc16x-opc.c: Likewise.
549 * xstormy16-opc.c: Likewise.
551 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
553 * arc-nps400-tbl.h: Add addb, subb, adcb, sbcb, andb, xorb, orb,
554 fxorb, wxorb, shlb, shrb, notb, cntbb, div, mod, divm, qcmp,
555 calcsd, and calcxd instructions.
556 * arc-opc.c (insert_nps_bitop_size): Delete.
557 (extract_nps_bitop_size): Delete.
558 (MAKE_SRC_POS_INSERT_EXTRACT_FUNCS): Define, and use.
559 (extract_nps_qcmp_m3): Define.
560 (extract_nps_qcmp_m2): Define.
561 (extract_nps_qcmp_m1): Define.
562 (arc_flag_operands): Add F_NPS_SX, F_NPS_AR, F_NPS_AL.
563 (arc_flag_classes): Add C_NPS_SX, C_NPS_AR_AL
564 (arc_operands): Add NPS_SRC2_POS, NPS_SRC1_POS, NPS_ADDB_SIZE,
565 NPS_ANDB_SIZE, NPS_FXORB_SIZ, NPS_WXORB_SIZ, NPS_R_XLDST,
566 NPS_DIV_UIMM4, NPS_QCMP_SIZE, NPS_QCMP_M1, NPS_QCMP_M2, and
569 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
571 * arc-nps400-tbl.h: Add dctcp, dcip, dcet, and dcacl instructions.
573 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
575 * Makefile.in: Regenerated with automake 1.11.6.
576 * aclocal.m4: Likewise.
578 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
580 * arc-nps400-tbl.h: Add xldb, xldw, xld, xstb, xstw, and xst
582 * arc-opc.c (insert_nps_cmem_uimm16): New function.
583 (extract_nps_cmem_uimm16): New function.
584 (arc_operands): Add NPS_XLDST_UIMM16 operand.
586 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
588 * arc-dis.c (arc_insn_length): New function.
589 (print_insn_arc): Use arc_insn_length, change insnLen to unsigned.
590 (find_format): Change insnLen parameter to unsigned.
592 2016-04-13 Nick Clifton <nickc@redhat.com>
595 * v850-opc.c (v850_opcodes): Correct masks for long versions of
596 the LD.B and LD.BU instructions.
598 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
600 * arc-dis.c (find_format): Check for extension flags.
601 (print_flags): New function.
602 (print_insn_arc): Update for .extCondCode, .extCoreRegister and
604 * arc-ext.c (arcExtMap_coreRegName): Use
605 LAST_EXTENSION_CORE_REGISTER.
606 (arcExtMap_coreReadWrite): Likewise.
607 (dump_ARC_extmap): Update printing.
608 * arc-opc.c (arc_flag_classes): Add F_CLASS_EXTEND flag.
609 (arc_aux_regs): Add cpu field.
610 * arc-regs.h: Add cpu field, lower case name aux registers.
612 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
614 * arc-tbl.h: Add rtsc, sleep with no arguments.
616 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
618 * arc-opc.c (flags_none, flags_f, flags_cc, flags_ccf):
620 (arg_none, arg_32bit_rarbrc, arg_32bit_zarbrc, arg_32bit_rbrbrc)
621 (arg_32bit_rarbu6, arg_32bit_zarbu6, arg_32bit_rbrbu6)
622 (arg_32bit_rbrbs12, arg_32bit_ralimmrc, arg_32bit_rarblimm)
623 (arg_32bit_zalimmrc, arg_32bit_zarblimm, arg_32bit_rbrblimm)
624 (arg_32bit_ralimmu6, arg_32bit_zalimmu6, arg_32bit_zalimms12)
625 (arg_32bit_ralimmlimm, arg_32bit_zalimmlimm, arg_32bit_rbrc)
626 (arg_32bit_zarc, arg_32bit_rbu6, arg_32bit_zau6, arg_32bit_rblimm)
627 (arg_32bit_zalimm, arg_32bit_limmrc, arg_32bit_limmu6)
628 (arg_32bit_limms12, arg_32bit_limmlimm): Likewise.
629 (arc_opcode arc_opcodes): Null terminate the array.
630 (arc_num_opcodes): Remove.
631 * arc-ext.h (INSERT_XOP): Define.
632 (extInstruction_t): Likewise.
633 (arcExtMap_instName): Delete.
634 (arcExtMap_insn): New function.
635 (arcExtMap_genOpcode): Likewise.
636 * arc-ext.c (ExtInstruction): Remove.
637 (create_map): Zero initialize instruction fields.
638 (arcExtMap_instName): Remove.
639 (arcExtMap_insn): New function.
640 (dump_ARC_extmap): More info while debuging.
641 (arcExtMap_genOpcode): New function.
642 * arc-dis.c (find_format): New function.
643 (print_insn_arc): Use find_format.
644 (arc_get_disassembler): Enable dump_ARC_extmap only when
647 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
649 * mips-dis.c (print_mips16_insn_arg): Mask unused extended
650 instruction bits out.
652 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
654 * arc-nps400-tbl.h: Add schd, sync, and hwschd instructions.
655 * arc-opc.c (arc_flag_operands): Add new flags.
656 (arc_flag_classes): Add new classes.
658 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
660 * arc-opc.c (arc_opcodes): Extend comment to discus table layout.
662 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
664 * arc-nps400-tbl.h: Add movbi, decode1, fbset, fbclear, encode0,
665 encode1, rflt, crc16, and crc32 instructions.
666 * arc-opc.c (arc_flag_operands): Add F_NPS_R.
667 (arc_flag_classes): Add C_NPS_R.
668 (insert_nps_bitop_size_2b): New function.
669 (extract_nps_bitop_size_2b): Likewise.
670 (insert_nps_bitop_uimm8): Likewise.
671 (extract_nps_bitop_uimm8): Likewise.
672 (arc_operands): Add new operand entries.
674 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
676 * arc-regs.h: Add a new subclass field. Add double assist
677 accumulator register values.
678 * arc-tbl.h: Use DPA subclass to mark the double assist
679 instructions. Use DPX/SPX subclas to mark the FPX instructions.
680 * arc-opc.c (RSP): Define instead of SP.
681 (arc_aux_regs): Add the subclass field.
683 2016-04-05 Jiong Wang <jiong.wang@arm.com>
685 * arm-dis.c: Support FP16 vmul, vmla, vmls (by scalar).
687 2016-03-31 Andrew Burgess <andrew.burgess@embecosm.com>
689 * arc-opc.c (arc_operands): Fix operand flags for NPS_R_DST, and
692 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
694 * arc-nps400-tbl.h: Add a header comment, and fix some whitespace
695 issues. No functional changes.
697 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
699 * arc-regs.h (IC_RAM_ADDRESS, IC_TAG, IC_WP, IC_DATA, CONTROL0)
700 (AX2, AY2, MX2, MY2, AY0, AY1, DC_RAM_ADDR, DC_TAG, CONTROL1)
701 (RTT): Remove duplicate.
702 (LCDINSTR, LCDDATA, LCDSTAT, CC_*, PCT_COUNT*, PCT_SNAP*)
703 (PCT_CONFIG*): Remove.
704 (D1L, D1H, D2H, D2L): Define.
706 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
708 * arc-ext-tbl.h (dsp_fp_i2flt): Fix typo.
710 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
712 * arc-tbl.h (invld07): Remove.
713 * arc-ext-tbl.h: New file.
714 * arc-dis.c (FIELDA, FIELDB, FIELDC): Remove.
715 * arc-opc.c (arc_opcodes): Add ext-tbl include.
717 2016-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
719 Fix -Wstack-usage warnings.
720 * aarch64-dis.c (print_operands): Substitute size.
721 * aarch64-opc.c (print_register_offset_address): Substitute tblen.
723 2016-03-22 Jose E. Marchesi <jose.marchesi@oracle.com>
725 * sparc-opc.c (sparc_opcodes): Reorder entries for `rd' in order
726 to get a proper diagnostic when an invalid ASR register is used.
728 2016-03-22 Nick Clifton <nickc@redhat.com>
730 * configure: Regenerate.
732 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
734 * arc-nps400-tbl.h: New file.
735 * arc-opc.c: Add top level comment.
736 (insert_nps_3bit_dst): New function.
737 (extract_nps_3bit_dst): New function.
738 (insert_nps_3bit_src2): New function.
739 (extract_nps_3bit_src2): New function.
740 (insert_nps_bitop_size): New function.
741 (extract_nps_bitop_size): New function.
742 (arc_flag_operands): Add nps400 entries.
743 (arc_flag_classes): Add nps400 entries.
744 (arc_operands): Add nps400 entries.
745 (arc_opcodes): Add nps400 include.
747 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
749 * arc-opc.c (arc_flag_classes): Convert all flag classes to use
750 the new class enum values.
752 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
754 * arc-dis.c (print_insn_arc): Handle nps400.
756 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
758 * arc-opc.c (BASE): Delete.
760 2016-03-18 Nick Clifton <nickc@redhat.com>
763 * aarch64-tbl.h (aarch64_opcode_table): Fix type of second operand
764 of MOV insn that aliases an ORR insn.
766 2016-03-16 Jiong Wang <jiong.wang@arm.com>
768 * arm-dis.c (neon_opcodes): Support new FP16 instructions.
770 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
772 * mcore-opc.h: Add const qualifiers.
773 * microblaze-opc.h (struct op_code_struct): Likewise.
774 * sh-opc.h: Likewise.
775 * tic4x-dis.c (tic4x_print_indirect): Likewise.
776 (tic4x_print_op): Likewise.
778 2016-03-02 Alan Modra <amodra@gmail.com>
780 * or1k-desc.h: Regenerate.
781 * fr30-ibld.c: Regenerate.
782 * rl78-decode.c: Regenerate.
784 2016-03-01 Nick Clifton <nickc@redhat.com>
787 * rl78-dis.c (print_insn_rl78_common): Fix typo.
789 2016-02-24 Renlin Li <renlin.li@arm.com>
791 * arm-dis.c (coprocessor_opcodes): Add fp16 instruction entries.
792 (print_insn_coprocessor): Support fp16 instructions.
794 2016-02-24 Renlin Li <renlin.li@arm.com>
796 * arm-dis.c (print_insn_coprocessor): Fix mask for vsel, vmaxnm,
799 2016-02-24 Renlin Li <renlin.li@arm.com>
801 * arm-dis.c (print_insn_coprocessor): Check co-processor number for
802 cpd/cpd2, mcr/mcr2, mrc/mrc2, ldc/ldc2, stc/stc2.
804 2016-02-15 H.J. Lu <hongjiu.lu@intel.com>
806 * i386-dis.c (print_insn): Parenthesize expression to prevent
810 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
811 Janek van Oirschot <jvanoirs@synopsys.com>
813 * arc-opc.c (arc_relax_opcodes, arc_num_relax_opcodes): New
816 2016-02-04 Nick Clifton <nickc@redhat.com>
819 * msp430-dis.c (print_insn_msp430): Add a special case for
820 decoding an RRC instruction with the ZC bit set in the extension
823 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
825 * cgen-ibld.in (insert_normal): Rework calculation of shift.
826 * epiphany-ibld.c: Regenerate.
827 * fr30-ibld.c: Regenerate.
828 * frv-ibld.c: Regenerate.
829 * ip2k-ibld.c: Regenerate.
830 * iq2000-ibld.c: Regenerate.
831 * lm32-ibld.c: Regenerate.
832 * m32c-ibld.c: Regenerate.
833 * m32r-ibld.c: Regenerate.
834 * mep-ibld.c: Regenerate.
835 * mt-ibld.c: Regenerate.
836 * or1k-ibld.c: Regenerate.
837 * xc16x-ibld.c: Regenerate.
838 * xstormy16-ibld.c: Regenerate.
840 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
842 * epiphany-dis.c: Regenerated from latest cpu files.
844 2016-02-01 Michael McConville <mmcco@mykolab.com>
846 * cgen-dis.c (count_decodable_bits): Use unsigned value for mask
849 2016-01-25 Renlin Li <renlin.li@arm.com>
851 * arm-dis.c (mapping_symbol_for_insn): New function.
852 (find_ifthen_state): Call mapping_symbol_for_insn().
854 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
856 * aarch64-opc.c (operand_general_constraint_met_p): Check validity
857 of MSR UAO immediate operand.
859 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
861 * mips-dis.c (print_insn_micromips): Remove 48-bit microMIPS
864 2016-01-17 Alan Modra <amodra@gmail.com>
866 * configure: Regenerate.
868 2016-01-14 Nick Clifton <nickc@redhat.com>
870 * rl78-decode.opc (rl78_decode_opcode): Add 's' operand to movw
871 instructions that can support stack pointer operations.
872 * rl78-decode.c: Regenerate.
873 * rl78-dis.c: Fix display of stack pointer in MOVW based
876 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
878 * aarch64-opc.c (aarch64_sys_reg_supported_p): Merge conditionals
879 testing for RAS support. Add checks for erxfr_el1, erxctlr_el1,
880 erxtatus_el1 and erxaddr_el1.
882 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
884 * arm-dis.c (arm_opcodes): Add "esb".
885 (thumb_opcodes): Likewise.
887 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
889 * ppc-opc.c <xscmpnedp>: Delete.
890 <xvcmpnedp>: Likewise.
891 <xvcmpnedp.>: Likewise.
892 <xvcmpnesp>: Likewise.
893 <xvcmpnesp.>: Likewise.
895 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
898 * m68k-opc.c (moveb, movew): For ISA_B/C only allow #,d(An) in
901 2016-01-01 Alan Modra <amodra@gmail.com>
903 Update year range in copyright notice of all files.
905 For older changes see ChangeLog-2015
907 Copyright (C) 2016 Free Software Foundation, Inc.
909 Copying and distribution of this file, with or without modification,
910 are permitted in any medium without royalty provided the copyright
911 notice and this notice are preserved.
917 version-control: never