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