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