1 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
3 * i386-dis.c (prefix_table): Add RDPID instruction.
4 * i386-gen.c (cpu_flag_init): Add RDPID flag.
5 (cpu_flags): Add RDPID bitfield.
6 * i386-opc.h (enum): Add RDPID element.
7 (i386_cpu_flags): Add RDPID field.
8 * i386-opc.tbl: Add RDPID instruction.
9 * i386-init.h: Regenerate.
10 * i386-tbl.h: Regenerate.
12 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
14 * arm-dis.c (get_sym_code_type): Use ARM_GET_SYM_BRANCH_TYPE to get
15 branch type of a symbol.
16 (print_insn): Likewise.
18 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
20 * arm-dis.c (coprocessor_opcodes): Add entries for VFP ARMv8-M
21 Mainline Security Extensions instructions.
22 (thumb_opcodes): Add entries for narrow ARMv8-M Security
23 Extensions instructions.
24 (thumb32_opcodes): Add entries for wide ARMv8-M Security Extensions
26 (psr_name): Add new MSP_NS and PSP_NS ARMv8-M Security Extensions
29 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
31 * sparc-opc.c (sparc_opcodes): Fix mnemonic of faligndatai.
33 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
35 * arc-ext.c (dump_ARC_extmap): Handle SYNATX_NOP and SYNTAX_1OP.
36 (arcExtMap_genOpcode): Likewise.
37 * arc-opc.c (arg_32bit_rc): Define new variable.
38 (arg_32bit_u6): Likewise.
39 (arg_32bit_limm): Likewise.
41 2016-05-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
43 * aarch64-gen.c (VERIFIER): Define.
44 * aarch64-opc.c (VERIFIER): Define.
45 (verify_ldpsw): Use static linkage.
46 * aarch64-opc.h (verify_ldpsw): Remove.
47 * aarch64-tbl.h: Use VERIFIER for verifiers.
49 2016-04-28 Nick Clifton <nickc@redhat.com>
52 * aarch64-dis.c (aarch64_opcode_decode): Run verifier if present.
53 * aarch64-opc.c (verify_ldpsw): New function.
54 * aarch64-opc.h (verify_ldpsw): New prototype.
55 * aarch64-tbl.h: Add initialiser for verifier field.
56 (LDPSW): Set verifier to verify_ldpsw.
58 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
62 * i386-dis.c (print_insn): Return -1 if size of bfd_vma is
63 smaller than address size.
65 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
67 * alpha-dis.c: Regenerate.
68 * crx-dis.c: Likewise.
69 * disassemble.c: Likewise.
70 * epiphany-opc.c: Likewise.
71 * fr30-opc.c: Likewise.
72 * frv-opc.c: Likewise.
73 * ip2k-opc.c: Likewise.
74 * iq2000-opc.c: Likewise.
75 * lm32-opc.c: Likewise.
76 * lm32-opinst.c: Likewise.
77 * m32c-opc.c: Likewise.
78 * m32r-opc.c: Likewise.
79 * m32r-opinst.c: Likewise.
80 * mep-opc.c: Likewise.
82 * or1k-opc.c: Likewise.
83 * or1k-opinst.c: Likewise.
84 * tic80-opc.c: Likewise.
85 * xc16x-opc.c: Likewise.
86 * xstormy16-opc.c: Likewise.
88 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
90 * arc-nps400-tbl.h: Add addb, subb, adcb, sbcb, andb, xorb, orb,
91 fxorb, wxorb, shlb, shrb, notb, cntbb, div, mod, divm, qcmp,
92 calcsd, and calcxd instructions.
93 * arc-opc.c (insert_nps_bitop_size): Delete.
94 (extract_nps_bitop_size): Delete.
95 (MAKE_SRC_POS_INSERT_EXTRACT_FUNCS): Define, and use.
96 (extract_nps_qcmp_m3): Define.
97 (extract_nps_qcmp_m2): Define.
98 (extract_nps_qcmp_m1): Define.
99 (arc_flag_operands): Add F_NPS_SX, F_NPS_AR, F_NPS_AL.
100 (arc_flag_classes): Add C_NPS_SX, C_NPS_AR_AL
101 (arc_operands): Add NPS_SRC2_POS, NPS_SRC1_POS, NPS_ADDB_SIZE,
102 NPS_ANDB_SIZE, NPS_FXORB_SIZ, NPS_WXORB_SIZ, NPS_R_XLDST,
103 NPS_DIV_UIMM4, NPS_QCMP_SIZE, NPS_QCMP_M1, NPS_QCMP_M2, and
106 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
108 * arc-nps400-tbl.h: Add dctcp, dcip, dcet, and dcacl instructions.
110 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
112 * Makefile.in: Regenerated with automake 1.11.6.
113 * aclocal.m4: Likewise.
115 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
117 * arc-nps400-tbl.h: Add xldb, xldw, xld, xstb, xstw, and xst
119 * arc-opc.c (insert_nps_cmem_uimm16): New function.
120 (extract_nps_cmem_uimm16): New function.
121 (arc_operands): Add NPS_XLDST_UIMM16 operand.
123 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
125 * arc-dis.c (arc_insn_length): New function.
126 (print_insn_arc): Use arc_insn_length, change insnLen to unsigned.
127 (find_format): Change insnLen parameter to unsigned.
129 2016-04-13 Nick Clifton <nickc@redhat.com>
132 * v850-opc.c (v850_opcodes): Correct masks for long versions of
133 the LD.B and LD.BU instructions.
135 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
137 * arc-dis.c (find_format): Check for extension flags.
138 (print_flags): New function.
139 (print_insn_arc): Update for .extCondCode, .extCoreRegister and
141 * arc-ext.c (arcExtMap_coreRegName): Use
142 LAST_EXTENSION_CORE_REGISTER.
143 (arcExtMap_coreReadWrite): Likewise.
144 (dump_ARC_extmap): Update printing.
145 * arc-opc.c (arc_flag_classes): Add F_CLASS_EXTEND flag.
146 (arc_aux_regs): Add cpu field.
147 * arc-regs.h: Add cpu field, lower case name aux registers.
149 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
151 * arc-tbl.h: Add rtsc, sleep with no arguments.
153 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
155 * arc-opc.c (flags_none, flags_f, flags_cc, flags_ccf):
157 (arg_none, arg_32bit_rarbrc, arg_32bit_zarbrc, arg_32bit_rbrbrc)
158 (arg_32bit_rarbu6, arg_32bit_zarbu6, arg_32bit_rbrbu6)
159 (arg_32bit_rbrbs12, arg_32bit_ralimmrc, arg_32bit_rarblimm)
160 (arg_32bit_zalimmrc, arg_32bit_zarblimm, arg_32bit_rbrblimm)
161 (arg_32bit_ralimmu6, arg_32bit_zalimmu6, arg_32bit_zalimms12)
162 (arg_32bit_ralimmlimm, arg_32bit_zalimmlimm, arg_32bit_rbrc)
163 (arg_32bit_zarc, arg_32bit_rbu6, arg_32bit_zau6, arg_32bit_rblimm)
164 (arg_32bit_zalimm, arg_32bit_limmrc, arg_32bit_limmu6)
165 (arg_32bit_limms12, arg_32bit_limmlimm): Likewise.
166 (arc_opcode arc_opcodes): Null terminate the array.
167 (arc_num_opcodes): Remove.
168 * arc-ext.h (INSERT_XOP): Define.
169 (extInstruction_t): Likewise.
170 (arcExtMap_instName): Delete.
171 (arcExtMap_insn): New function.
172 (arcExtMap_genOpcode): Likewise.
173 * arc-ext.c (ExtInstruction): Remove.
174 (create_map): Zero initialize instruction fields.
175 (arcExtMap_instName): Remove.
176 (arcExtMap_insn): New function.
177 (dump_ARC_extmap): More info while debuging.
178 (arcExtMap_genOpcode): New function.
179 * arc-dis.c (find_format): New function.
180 (print_insn_arc): Use find_format.
181 (arc_get_disassembler): Enable dump_ARC_extmap only when
184 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
186 * mips-dis.c (print_mips16_insn_arg): Mask unused extended
187 instruction bits out.
189 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
191 * arc-nps400-tbl.h: Add schd, sync, and hwschd instructions.
192 * arc-opc.c (arc_flag_operands): Add new flags.
193 (arc_flag_classes): Add new classes.
195 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
197 * arc-opc.c (arc_opcodes): Extend comment to discus table layout.
199 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
201 * arc-nps400-tbl.h: Add movbi, decode1, fbset, fbclear, encode0,
202 encode1, rflt, crc16, and crc32 instructions.
203 * arc-opc.c (arc_flag_operands): Add F_NPS_R.
204 (arc_flag_classes): Add C_NPS_R.
205 (insert_nps_bitop_size_2b): New function.
206 (extract_nps_bitop_size_2b): Likewise.
207 (insert_nps_bitop_uimm8): Likewise.
208 (extract_nps_bitop_uimm8): Likewise.
209 (arc_operands): Add new operand entries.
211 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
213 * arc-regs.h: Add a new subclass field. Add double assist
214 accumulator register values.
215 * arc-tbl.h: Use DPA subclass to mark the double assist
216 instructions. Use DPX/SPX subclas to mark the FPX instructions.
217 * arc-opc.c (RSP): Define instead of SP.
218 (arc_aux_regs): Add the subclass field.
220 2016-04-05 Jiong Wang <jiong.wang@arm.com>
222 * arm-dis.c: Support FP16 vmul, vmla, vmls (by scalar).
224 2016-03-31 Andrew Burgess <andrew.burgess@embecosm.com>
226 * arc-opc.c (arc_operands): Fix operand flags for NPS_R_DST, and
229 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
231 * arc-nps400-tbl.h: Add a header comment, and fix some whitespace
232 issues. No functional changes.
234 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
236 * arc-regs.h (IC_RAM_ADDRESS, IC_TAG, IC_WP, IC_DATA, CONTROL0)
237 (AX2, AY2, MX2, MY2, AY0, AY1, DC_RAM_ADDR, DC_TAG, CONTROL1)
238 (RTT): Remove duplicate.
239 (LCDINSTR, LCDDATA, LCDSTAT, CC_*, PCT_COUNT*, PCT_SNAP*)
240 (PCT_CONFIG*): Remove.
241 (D1L, D1H, D2H, D2L): Define.
243 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
245 * arc-ext-tbl.h (dsp_fp_i2flt): Fix typo.
247 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
249 * arc-tbl.h (invld07): Remove.
250 * arc-ext-tbl.h: New file.
251 * arc-dis.c (FIELDA, FIELDB, FIELDC): Remove.
252 * arc-opc.c (arc_opcodes): Add ext-tbl include.
254 2016-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
256 Fix -Wstack-usage warnings.
257 * aarch64-dis.c (print_operands): Substitute size.
258 * aarch64-opc.c (print_register_offset_address): Substitute tblen.
260 2016-03-22 Jose E. Marchesi <jose.marchesi@oracle.com>
262 * sparc-opc.c (sparc_opcodes): Reorder entries for `rd' in order
263 to get a proper diagnostic when an invalid ASR register is used.
265 2016-03-22 Nick Clifton <nickc@redhat.com>
267 * configure: Regenerate.
269 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
271 * arc-nps400-tbl.h: New file.
272 * arc-opc.c: Add top level comment.
273 (insert_nps_3bit_dst): New function.
274 (extract_nps_3bit_dst): New function.
275 (insert_nps_3bit_src2): New function.
276 (extract_nps_3bit_src2): New function.
277 (insert_nps_bitop_size): New function.
278 (extract_nps_bitop_size): New function.
279 (arc_flag_operands): Add nps400 entries.
280 (arc_flag_classes): Add nps400 entries.
281 (arc_operands): Add nps400 entries.
282 (arc_opcodes): Add nps400 include.
284 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
286 * arc-opc.c (arc_flag_classes): Convert all flag classes to use
287 the new class enum values.
289 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
291 * arc-dis.c (print_insn_arc): Handle nps400.
293 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
295 * arc-opc.c (BASE): Delete.
297 2016-03-18 Nick Clifton <nickc@redhat.com>
300 * aarch64-tbl.h (aarch64_opcode_table): Fix type of second operand
301 of MOV insn that aliases an ORR insn.
303 2016-03-16 Jiong Wang <jiong.wang@arm.com>
305 * arm-dis.c (neon_opcodes): Support new FP16 instructions.
307 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
309 * mcore-opc.h: Add const qualifiers.
310 * microblaze-opc.h (struct op_code_struct): Likewise.
311 * sh-opc.h: Likewise.
312 * tic4x-dis.c (tic4x_print_indirect): Likewise.
313 (tic4x_print_op): Likewise.
315 2016-03-02 Alan Modra <amodra@gmail.com>
317 * or1k-desc.h: Regenerate.
318 * fr30-ibld.c: Regenerate.
319 * rl78-decode.c: Regenerate.
321 2016-03-01 Nick Clifton <nickc@redhat.com>
324 * rl78-dis.c (print_insn_rl78_common): Fix typo.
326 2016-02-24 Renlin Li <renlin.li@arm.com>
328 * arm-dis.c (coprocessor_opcodes): Add fp16 instruction entries.
329 (print_insn_coprocessor): Support fp16 instructions.
331 2016-02-24 Renlin Li <renlin.li@arm.com>
333 * arm-dis.c (print_insn_coprocessor): Fix mask for vsel, vmaxnm,
336 2016-02-24 Renlin Li <renlin.li@arm.com>
338 * arm-dis.c (print_insn_coprocessor): Check co-processor number for
339 cpd/cpd2, mcr/mcr2, mrc/mrc2, ldc/ldc2, stc/stc2.
341 2016-02-15 H.J. Lu <hongjiu.lu@intel.com>
343 * i386-dis.c (print_insn): Parenthesize expression to prevent
347 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
348 Janek van Oirschot <jvanoirs@synopsys.com>
350 * arc-opc.c (arc_relax_opcodes, arc_num_relax_opcodes): New
353 2016-02-04 Nick Clifton <nickc@redhat.com>
356 * msp430-dis.c (print_insn_msp430): Add a special case for
357 decoding an RRC instruction with the ZC bit set in the extension
360 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
362 * cgen-ibld.in (insert_normal): Rework calculation of shift.
363 * epiphany-ibld.c: Regenerate.
364 * fr30-ibld.c: Regenerate.
365 * frv-ibld.c: Regenerate.
366 * ip2k-ibld.c: Regenerate.
367 * iq2000-ibld.c: Regenerate.
368 * lm32-ibld.c: Regenerate.
369 * m32c-ibld.c: Regenerate.
370 * m32r-ibld.c: Regenerate.
371 * mep-ibld.c: Regenerate.
372 * mt-ibld.c: Regenerate.
373 * or1k-ibld.c: Regenerate.
374 * xc16x-ibld.c: Regenerate.
375 * xstormy16-ibld.c: Regenerate.
377 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
379 * epiphany-dis.c: Regenerated from latest cpu files.
381 2016-02-01 Michael McConville <mmcco@mykolab.com>
383 * cgen-dis.c (count_decodable_bits): Use unsigned value for mask
386 2016-01-25 Renlin Li <renlin.li@arm.com>
388 * arm-dis.c (mapping_symbol_for_insn): New function.
389 (find_ifthen_state): Call mapping_symbol_for_insn().
391 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
393 * aarch64-opc.c (operand_general_constraint_met_p): Check validity
394 of MSR UAO immediate operand.
396 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
398 * mips-dis.c (print_insn_micromips): Remove 48-bit microMIPS
401 2016-01-17 Alan Modra <amodra@gmail.com>
403 * configure: Regenerate.
405 2016-01-14 Nick Clifton <nickc@redhat.com>
407 * rl78-decode.opc (rl78_decode_opcode): Add 's' operand to movw
408 instructions that can support stack pointer operations.
409 * rl78-decode.c: Regenerate.
410 * rl78-dis.c: Fix display of stack pointer in MOVW based
413 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
415 * aarch64-opc.c (aarch64_sys_reg_supported_p): Merge conditionals
416 testing for RAS support. Add checks for erxfr_el1, erxctlr_el1,
417 erxtatus_el1 and erxaddr_el1.
419 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
421 * arm-dis.c (arm_opcodes): Add "esb".
422 (thumb_opcodes): Likewise.
424 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
426 * ppc-opc.c <xscmpnedp>: Delete.
427 <xvcmpnedp>: Likewise.
428 <xvcmpnedp.>: Likewise.
429 <xvcmpnesp>: Likewise.
430 <xvcmpnesp.>: Likewise.
432 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
435 * m68k-opc.c (moveb, movew): For ISA_B/C only allow #,d(An) in
438 2016-01-01 Alan Modra <amodra@gmail.com>
440 Update year range in copyright notice of all files.
442 For older changes see ChangeLog-2015
444 Copyright (C) 2016 Free Software Foundation, Inc.
446 Copying and distribution of this file, with or without modification,
447 are permitted in any medium without royalty provided the copyright
448 notice and this notice are preserved.
454 version-control: never