* gas/config/tc-arm.c (asm_barrier_opt): Add arch field.
[platform/upstream/binutils.git] / opcodes / ChangeLog
1 2012-08-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
2
3         * arm-dis.c (data_barrier_option): New function.
4         (print_insn_arm): Use data_barrier_option.
5         (print_insn_thumb32): Use data_barrier_option.
6
7 2012-08-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com
8
9         * arm-dis.c (COND_UNCOND): New constant.
10         (print_insn_coprocessor): Add support for %u format specifier.
11         (print_insn_neon): Likewise.
12
13 2012-08-21  David S. Miller  <davem@davemloft.net>
14
15         * sparc-opc.c (4-argument crypto instructions): Fix encoding using
16         F3F4 macro.
17
18 2012-08-20  Edmar Wienskoski  <edmar@freescale.com>
19
20         * ppc-opc.c (powerpc_opcodes): Changed opcode for vabsdub,
21         vabsduh, vabsduw, mviwsplt.
22
23 2012-08-17  Nagajyothi Eggone  <nagajyothi.eggone@amd.com>
24
25         * i386-gen.c (cpu_flag_init): Add CPU_BTVER1_FLAGS and
26         CPU_BTVER2_FLAGS.
27
28         * i386-opc.h: Update CpuPRFCHW comment.
29
30         * i386-opc.tbl: Enable prefetch instruction for CpuPRFCHW.
31         * i386-init.h: Regenerated.
32         * i386-tbl.h: Likewise.
33
34 2012-08-17  Nick Clifton  <nickc@redhat.com>
35
36         * po/uk.po: New Ukranian translation.
37         * configure.in (ALL_LINGUAS): Add uk.
38         * configure: Regenerate.
39
40 2012-08-16  Peter Bergner  <bergner@vnet.ibm.com>
41
42         * ppc-opc.c (powerpc_opcodes) <"lswx">: Use RAX for the second and
43         RBX for the third operand.
44         <"lswi">: Use RAX for second and NBI for the third operand.
45
46 2012-08-15  DJ Delorie  <dj@redhat.com>
47
48         * rl78-decode.opc (rl78_decode_opcode): Merge %e and %[01]
49         operands, so that data addresses can be corrected when not
50         ES-overridden.
51         * rl78-decode.c: Regenerate.
52         * rl78-dis.c (print_insn_rl78): Make order of modifiers
53         irrelevent.  When the 'e' specifier is used on an operand and no
54         ES prefix is provided, adjust address to make it absolute.
55
56 2012-08-15  Peter Bergner  <bergner@vnet.ibm.com>
57
58         * ppc-opc.c <RSQ, RTQ>: Use PPC_OPERAND_GPR.
59
60 2012-08-15  Peter Bergner  <bergner@vnet.ibm.com>
61
62         * ppc-opc.c <xnop, yield, mdoio, mdoom>: New extended mnemonics.
63
64 2012-08-14  Maciej W. Rozycki  <macro@codesourcery.com>
65
66         * mips-dis.c (print_insn_args): Add GET_OP and GET_OP_S local
67         macros, use local variables for info struct member accesses,
68         update the type of the variable used to hold the instruction
69         word.
70         (print_insn_mips, print_mips16_insn_arg): Likewise.
71         (print_insn_mips16): Add GET_OP and GET_OP_S local macros, use
72         local variables for info struct member accesses.
73         (print_insn_micromips): Add GET_OP_S local macro.
74         (_print_insn_mips): Update the type of the variable used to hold
75         the instruction word.
76
77 2012-08-13  Ian Bolton  <ian.bolton@arm.com>
78             Laurent Desnogues  <laurent.desnogues@arm.com>
79             Jim MacArthur  <jim.macarthur@arm.com>
80             Marcus Shawcroft  <marcus.shawcroft@arm.com>
81             Nigel Stephens  <nigel.stephens@arm.com>
82             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
83             Richard Earnshaw  <rearnsha@arm.com>
84             Sofiane Naci  <sofiane.naci@arm.com>
85             Tejas Belagod  <tejas.belagod@arm.com>
86             Yufeng Zhang  <yufeng.zhang@arm.com>
87
88         * Makefile.am: Add AArch64.
89         * Makefile.in: Regenerate.
90         * aarch64-asm.c: New file.
91         * aarch64-asm.h: New file.
92         * aarch64-dis.c: New file.
93         * aarch64-dis.h: New file.
94         * aarch64-gen.c: New file.
95         * aarch64-opc.c: New file.
96         * aarch64-opc.h: New file.
97         * aarch64-tbl.h: New file.
98         * configure.in: Add AArch64.
99         * configure: Regenerate.
100         * disassemble.c: Add AArch64.
101         * aarch64-asm-2.c: New file (automatically generated).
102         * aarch64-dis-2.c: New file (automatically generated).
103         * aarch64-opc-2.c: New file (automatically generated).
104         * po/POTFILES.in: Regenerate.
105
106 2012-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
107
108         * micromips-opc.c (micromips_opcodes): Update comment.
109         * mips-opc.c (mips_builtin_opcodes): Likewise.  Mark coprocessor
110         instructions for IOCT as appropriate.
111         * mips-dis.c (print_insn_mips): Replace OPCODE_IS_MEMBER with
112         opcode_is_member.
113         * configure.in: Substitute NO_WMISSING_FIELD_INITIALIZERS with
114         the result of a check for the -Wno-missing-field-initializers
115         GCC option.
116         * Makefile.am (NO_WMISSING_FIELD_INITIALIZERS): New variable.
117         (mips-opc.lo): Pass $(NO_WMISSING_FIELD_INITIALIZERS) to
118         compilation.
119         (mips16-opc.lo): Likewise.
120         (micromips-opc.lo): Likewise.
121         * aclocal.m4: Regenerate.
122         * configure: Regenerate.
123         * Makefile.in: Regenerate.
124
125 2012-08-11  Saravanan Ekanathan <saravanan.ekanathan@amd.com>
126
127         PR gas/14423
128         * i386-gen.c (cpu_flag_init): Add CpuFMA in CPU_BDVER2_FLAGS.
129         * i386-init.h: Regenerated.
130
131 2012-08-09  Nick Clifton  <nickc@redhat.com>
132
133         * po/vi.po: Updated Vietnamese translation.
134
135 2012-08-07  Roland McGrath  <mcgrathr@google.com>
136
137         * i386-dis.c (reg_table): Fill out REG_0F0D table with
138         AMD-reserved cases as "prefetch".
139         (MOD_0F18_REG_4, MOD_0F18_REG_5): New enum constants.
140         (MOD_0F18_REG_6, MOD_0F18_REG_7): Likewise.
141         (reg_table): Use those under REG_0F18.
142         (mod_table): Add those cases as "nop/reserved".
143
144 2012-08-07  Jan Beulich <jbeulich@suse.com>
145
146         * i386-opc.tbl: Remove "FIXME" comments from SVME instructions.
147
148 2012-08-06  Roland McGrath  <mcgrathr@google.com>
149
150         * i386-dis.c (print_insn): Print spaces between multiple excess
151         prefixes.  Return actual number of excess prefixes consumed,
152         not always one.
153
154         * i386-dis.c (OP_REG): Ignore REX_B for segment register cases.
155
156 2012-08-06  Roland McGrath  <mcgrathr@google.com>
157             Victor Khimenko  <khim@google.com>
158             H.J. Lu  <hongjiu.lu@intel.com>
159
160         * i386-dis.c (OP_sI): In b_T_mode and v_mode, REX_W trumps DFLAG.
161         (putop): For 'T', 'U', and 'V', treat REX_W like DFLAG.
162         (intel_operand_size): For stack_v_mode, treat REX_W like DFLAG.
163         (OP_E_register): Likewise.
164         (OP_REG): For low 8 whole registers, treat REX_W like DFLAG.
165
166 2012-08-02  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
167
168         * configure.in: Formatting.
169         * configure: Regenerate.
170
171 2012-08-01  Alan Modra  <amodra@gmail.com>
172
173         * h8300-dis.c: Fix printf arg warnings.
174         * i960-dis.c: Likewise.
175         * mips-dis.c: Likewise.
176         * pdp11-dis.c: Likewise.
177         * sh-dis.c: Likewise.
178         * v850-dis.c: Likewise.
179         * configure.in: Formatting.
180         * configure: Regenerate.
181         * rl78-decode.c: Regenerate.
182         * po/POTFILES.in: Regenerate.
183
184 2012-07-31  Chao-Ying Fu  <fu@mips.com>
185             Catherine Moore  <clm@codesourcery.com>
186             Maciej W. Rozycki  <macro@codesourcery.com>
187
188         * micromips-opc.c (WR_a, RD_a, MOD_a): New macros.
189         (DSP_VOLA): Likewise.
190         (D32, D33): Likewise.
191         (micromips_opcodes): Add DSP ASE instructions.
192         * mips-dis.c (print_insn_micromips) <'2', '3'>: New cases.
193         <'4', '5', '6', '7', '8', '0', '^', '@'>: Likewise.
194
195 2012-07-31  Jan Beulich <jbeulich@suse.com>
196
197         * i386-opc.tbl (vmovntdqa): Move up into 256-bit integer AVX2
198         instruction group. Mark as requiring AVX2.
199         * i386-tbl.h: Re-generate.
200
201 2012-07-30  Nick Clifton  <nickc@redhat.com>
202
203         * po/opcodes.pot: Updated template.
204         * po/es.po: Updated Spanish translation.
205         * po/fi.po: Updated Finnish translation.
206
207 2012-07-27  Mike Frysinger  <vapier@gentoo.org>
208
209         * configure.in (BFD_VERSION): Run bfd/configure --version and
210         parse the output of that.
211         * configure: Regenerate.
212
213 2012-07-25  James Lemke  <jwlemke@codesourcery.com>
214
215         * ppc-opc.c (powerpc_opcodes): Add/remove PPCVLE for some 32-bit insns.
216
217 2012-07-24  Stephan McCamant  <smcc@cs.berkeley.edu>
218             Dr David Alan Gilbert  <dave@treblig.org>
219
220         PR binutils/13135
221         * arm-dis.c: Add necessary casts for printing integer values.
222         Use %s when printing string values.
223         * hppa-dis.c: Likewise.
224         * m68k-dis.c: Likewise.
225         * microblaze-dis.c: Likewise.
226         * mips-dis.c: Likewise.
227         * sparc-dis.c: Likewise.
228
229 2012-07-19  Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
230
231         PR binutils/14355
232         * i386-dis.c (VEX_LEN_0FXOP_08_CC): New.
233         (VEX_LEN_0FXOP_08_CD): Likewise.
234         (VEX_LEN_0FXOP_08_CE): Likewise.
235         (VEX_LEN_0FXOP_08_CF): Likewise.
236         (VEX_LEN_0FXOP_08_EC): Likewise.
237         (VEX_LEN_0FXOP_08_ED): Likewise.
238         (VEX_LEN_0FXOP_08_EE): Likewise.
239         (VEX_LEN_0FXOP_08_EF): Likewise.
240         (xop_table): Fix entries for vpcomb, vpcomw, vpcomd, vpcomq,
241         vpcomub, vpcomuw, vpcomud, vpcomuq.
242         (vex_len_table): Add entries for VEX_LEN_0FXOP_08_CC,
243         VEX_LEN_0FXOP_08_CD, VEX_LEN_0FXOP_08_CE, VEX_LEN_0FXOP_08_CF,
244         VEX_LEN_0FXOP_08_EC, VEX_LEN_0FXOP_08_ED, VEX_LEN_0FXOP_08_EE,
245         VEX_LEN_0FXOP_08_EF.
246
247 2012-07-16  Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
248
249         * i386-dis.c (PREFIX_0F38F6): New.
250         (prefix_table): Add adcx, adox instructions.
251         (three_byte_table): Use PREFIX_0F38F6.
252         (mod_table): Add rdseed instruction.
253         * i386-gen.c (cpu_flag_init): Add CpuADX, CpuRDSEED, CpuPRFCHW.
254         (cpu_flags): Likewise.
255         * i386-opc.h: Add CpuADX, CpuRDSEED, CpuPRFCHW.
256         (i386_cpu_flags): Add fields cpurdseed, cpuadx, cpuprfchw.
257         * i386-opc.tbl: Add instrcutions adcx, adox, rdseed. Extend
258         prefetchw.
259         * i386-tbl.h: Regenerate.
260         * i386-init.h: Likewise.
261
262 2012-07-05  Thomas Schwinge  <thomas@codesourcery.com>
263
264         * mips-dis.c: Remove gratuitous newline.
265
266 2012-07-05  Sean Keys  <skeys@ipdatasys.com>
267
268         * xgate-dis.c: Removed an IF statement that will
269         always be false due to overlapping operand masks.
270         * xgate-opc.c: Corrected 'com' opcode entry and
271         fixed spacing.
272
273 2012-07-02  Roland McGrath  <mcgrathr@google.com>
274
275         * i386-opc.tbl: Add RepPrefixOk to nop.
276         * i386-tbl.h: Regenerate.
277
278 2012-06-28  Nick Clifton  <nickc@redhat.com>
279
280         * po/vi.po: Updated Vietnamese translation.
281
282 2012-06-22  Roland McGrath  <mcgrathr@google.com>
283
284         * i386-opc.tbl: Add RepPrefixOk to ret.
285         * i386-tbl.h: Regenerate.
286
287         * i386-opc.h (RepPrefixOk): New enum constant.
288         (i386_opcode_modifier): New bitfield 'repprefixok'.
289         * i386-gen.c (opcode_modifiers): Add RepPrefixOk.
290         * i386-opc.tbl: Add RepPrefixOk to bsf, bsr, and to all
291         instructions that have IsString.
292         * i386-tbl.h: Regenerate.
293
294 2012-06-11  Andreas Schwab  <schwab@linux-m68k.org>
295
296         * ppc-opc.c (lvsl, lvebx, isellt, icbt, ldepx, lwepx, lvsr, lvehx)
297         (iselgt, lvewx, iseleq, isel, dcbst, dcbstep, dcbfl, dcbf, lbepx)
298         (lvx, dcbfep, dcbtstls, stvebx, dcbtstlse, stdepx, stwepx, dcbtls)
299         (stvehx, dcbtlse, stvewx, stbepx, icblc, stvx, dcbtstt, dcbtst)
300         (dcbtst, dcbtstep, dcbtt, dcbt, dcbt, lhepx, eciwx, dcbtep)
301         (dcread, lxvdsx, lvxl, dcblc, sthepx, ecowx, dcbi, dcread, icbtls)
302         (stvxl, lxsdx, lfdepx, stxsdx, stfdepx, dcba, dcbal, lxvw4x)
303         (tlbivax, lfdpx, lxvd2x, tlbsrx., stxvw4x, tlbsx, tlbsx., stfdpx)
304         (stfqx, stxvd2x, icbi, icbiep, icread, dcbzep): Change RA to RA0.
305
306 2012-05-19  Alan Modra  <amodra@gmail.com>
307
308         * ppc-dis.c: Don't include elf32-ppc.h, do include elf/ppc.h.
309         (get_powerpc_dialect): Detect VLE sections from ELF sh_flags.
310
311 2012-05-18  Alan Modra  <amodra@gmail.com>
312
313         * ia64-opc.c: Remove #include "ansidecl.h".
314         * z8kgen.c: Include sysdep.h first.
315
316         * arc-dis.c: Include sysdep.h first, remove some redundant includes.
317         * bfin-dis.c: Likewise.
318         * i860-dis.c: Likewise.
319         * ia64-dis.c: Likewise.
320         * ia64-gen.c: Likewise.
321         * m68hc11-dis.c: Likewise.
322         * mmix-dis.c: Likewise.
323         * msp430-dis.c: Likewise.
324         * or32-dis.c: Likewise.
325         * rl78-dis.c: Likewise.
326         * rx-dis.c: Likewise.
327         * tic4x-dis.c: Likewise.
328         * tilegx-opc.c: Likewise.
329         * tilepro-opc.c: Likewise.
330         * rx-decode.c: Regenerate.
331
332 2012-05-17  James Lemke  <jwlemke@codesourcery.com>
333
334         * ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi.
335
336 2012-05-17  James Lemke  <jwlemke@codesourcery.com>
337
338         * ppc-opc.c (extract_sprg): Use ALLOW8_SPRG to include VLE.
339
340 2012-05-17  Daniel Richard G.  <skunk@iskunk.org>
341             Nick Clifton  <nickc@redhat.com>
342
343         PR 14072
344         * configure.in: Add check that sysdep.h has been included before
345         any system header files.
346         * configure: Regenerate.
347         * config.in: Regenerate.
348         * sysdep.h: Generate an error if included before config.h.
349         * alpha-opc.c: Include sysdep.h before any other header file.
350         * alpha-dis.c: Likewise.
351         * avr-dis.c: Likewise.
352         * cgen-opc.c: Likewise.
353         * cr16-dis.c: Likewise.
354         * cris-dis.c: Likewise.
355         * crx-dis.c: Likewise.
356         * d10v-dis.c: Likewise.
357         * d10v-opc.c: Likewise.
358         * d30v-dis.c: Likewise.
359         * d30v-opc.c: Likewise.
360         * h8500-dis.c: Likewise.
361         * i370-dis.c: Likewise.
362         * i370-opc.c: Likewise.
363         * m10200-dis.c: Likewise.
364         * m10300-dis.c: Likewise.
365         * micromips-opc.c: Likewise.
366         * mips-opc.c: Likewise.
367         * mips61-opc.c: Likewise.
368         * moxie-dis.c: Likewise.
369         * or32-opc.c: Likewise.
370         * pj-dis.c: Likewise.
371         * ppc-dis.c: Likewise.
372         * ppc-opc.c: Likewise.
373         * s390-dis.c: Likewise.
374         * sh-dis.c: Likewise.
375         * sh64-dis.c: Likewise.
376         * sparc-dis.c: Likewise.
377         * sparc-opc.c: Likewise.
378         * spu-dis.c: Likewise.
379         * tic30-dis.c: Likewise.
380         * tic54x-dis.c: Likewise.
381         * tic80-dis.c: Likewise.
382         * tic80-opc.c: Likewise.
383         * tilegx-dis.c: Likewise.
384         * tilepro-dis.c: Likewise.
385         * v850-dis.c: Likewise.
386         * v850-opc.c: Likewise.
387         * vax-dis.c: Likewise.
388         * w65-dis.c: Likewise.
389         * xgate-dis.c: Likewise.
390         * xtensa-dis.c: Likewise.
391         * rl78-decode.opc: Likewise.
392         * rl78-decode.c: Regenerate.
393         * rx-decode.opc: Likewise.
394         * rx-decode.c: Regenerate.
395
396 2012-05-17  Alan Modra  <amodra@gmail.com>
397
398         * ppc_dis.c: Don't include elf/ppc.h.
399
400 2012-05-16  Meador Inge  <meadori@codesourcery.com>
401
402         * arm-dis.c (arm_opcodes): Don't disassemble STMFD/LDMIA sp!, {reg}
403         to PUSH/POP {reg}.
404
405 2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
406             Stephane Carrez <stcarrez@nerim.fr>
407
408         * configure.in: Add S12X and XGATE co-processor support to m68hc11
409         target.
410         * disassemble.c: Likewise.
411         * configure: Regenerate.
412         * m68hc11-dis.c: Make objdump output more consistent, use hex
413         instead of decimal and use 0x prefix for hex.
414         * m68hc11-opc.c: Add S12X and XGATE opcodes.
415
416 2012-05-14  James Lemke  <jwlemke@codesourcery.com>
417
418         * ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle.
419         (PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines.
420         (vle_opcd_indices): New array.
421         (lookup_vle): New function.
422         (disassemble_init_powerpc): Revise for second (VLE) opcode table.
423         (print_insn_powerpc): Likewise.
424         * ppc-opc.c: Likewise.
425
426 2012-05-14  Catherine Moore  <clm@codesourcery.com>
427             Maciej W. Rozycki  <macro@codesourcery.com>
428             Rhonda Wittels  <rhonda@codesourcery.com>
429             Nathan Froyd <froydnj@codesourcery.com>
430
431         * ppc-opc.c (insert_arx, extract_arx): New functions.
432         (insert_ary, extract_ary): New functions.
433         (insert_li20, extract_li20): New functions.
434         (insert_rx, extract_rx): New functions.
435         (insert_ry, extract_ry): New functions.
436         (insert_sci8, extract_sci8): New functions.
437         (insert_sci8n, extract_sci8n): New functions.
438         (insert_sd4h, extract_sd4h): New functions.
439         (insert_sd4w, extract_sd4w): New functions.
440         (insert_vlesi, extract_vlesi): New functions.
441         (insert_vlensi, extract_vlensi): New functions.
442         (insert_vleui, extract_vleui): New functions.
443         (insert_vleil, extract_vleil): New functions.
444         (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT.
445         (BI16, BI32, BO32, B8): New.
446         (B15, B24, CRD32, CRS): New.
447         (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG.
448         (DB, IMM20, RD, Rx, ARX, RY, RZ): New.
449         (ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New.
450         (SH6_MASK): Use PPC_OPSHIFT_INV.
451         (SI8, UI5, OIMM5, UI7, BO16): New.
452         (VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New.
453         (XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV.
454         (ALLOW8_SPRG): New.
455         (insert_sprg, extract_sprg): Check ALLOW8_SPRG.
456         (OPVUP, OPVUP_MASK OPVUP): New
457         (BD8, BD8_MASK, BD8IO, BD8IO_MASK): New.
458         (EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New.
459         (BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New.
460         (BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New.
461         (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New.
462         (IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New.
463         (SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New.
464         (SE_IM5, SE_IM5_MASK): New.
465         (SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New.
466         (EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New.
467         (BO32DNZ, BO32DZ): New.
468         (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE.
469         (PPCVLE): New.
470         (powerpc_opcodes): Add new VLE instructions.  Update existing
471         instruction to include PPCVLE if supported.
472         * ppc-dis.c (ppc_opts): Add vle entry.
473         (get_powerpc_dialect): New function.
474         (powerpc_init_dialect): VLE support.
475         (print_insn_big_powerpc): Call get_powerpc_dialect.
476         (print_insn_little_powerpc): Likewise.
477         (operand_value_powerpc): Handle negative shift counts.
478         (print_insn_powerpc): Handle 2-byte instruction lengths.
479
480 2012-05-11  Daniel Richard G.  <skunk@iskunk.org>
481
482         PR binutils/14028
483         * configure.in: Invoke ACX_HEADER_STRING.
484         * configure: Regenerate.
485         * config.in: Regenerate.
486         * sysdep.h: If STRINGS_WITH_STRING is defined then include both
487         string.h and strings.h.
488
489 2012-05-11  Nick Clifton  <nickc@redhat.com>
490
491         PR binutils/14006
492         * arm-dis.c (print_insn): Fix detection of instruction mode in
493         files containing multiple executable sections.
494
495 2012-05-03  Sean Keys  <skeys@ipdatasys.com>
496
497         * Makefile.in, configure: regenerate
498         * disassemble.c (disassembler): Recognize ARCH_XGATE.
499         * xgate-dis.c (read_memory, print_insn, print_insn_xgate):
500         New functions.
501         * configure.in: Recognize xgate.
502         * xgate-dis.c, xgate-opc.c: New files for support of xgate
503         * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
504         and opcode generation for xgate.
505
506 2012-04-30  DJ Delorie  <dj@redhat.com>
507
508         * rx-decode.opc (MOV): Do not sign-extend immediates which are
509         already the maximum bit size.
510         * rx-decode.c: Regenerate.
511
512 2012-04-27  David S. Miller  <davem@davemloft.net>
513
514         * sparc-dis.c (v9a_asr_reg_names): Add 'cfr'.
515         * sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr.
516
517         * sparc-opc.c (sparc_opcodes): Add 'wr X, %pause' and 'pause'.
518         * sparc-dis.c (v9a_asr_reg_names): Add 'pause'.
519
520         * sparc-opc.c (CBCOND): New define.
521         (CBCOND_XCC): Likewise.
522         (cbcond): New helper macro.
523         (sparc_opcodes): Add compare-and-branch instructions.
524
525         * sparc-dis.c (print_insn_sparc): Handle ')'.
526         * sparc-opc.c (sparc_opcodes): Add crypto instructions.
527
528         * sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values
529         into new struct sparc_opcode 'hwcaps' field instead of 'flags'.
530
531 2012-04-12  David S. Miller  <davem@davemloft.net>
532
533         * sparc-dis.c (X_DISP10): Define.
534         (print_insn_sparc): Handle '='.
535
536 2012-04-01  Mike Frysinger  <vapier@gentoo.org>
537
538         * bfin-dis.c (fmtconst): Replace decimal handling with a single
539         sprintf call and the '*' field width.
540
541 2012-03-23  Maxim Kuvyrkov  <maxim@codesourcery.com>
542
543         * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP.
544
545 2012-03-16  Alan Modra  <amodra@gmail.com>
546
547         * ppc-dis.c (PPC_OPC_SEGS, PPC_OP_TO_SEG): Delete.
548         (powerpc_opcd_indices): Bump array size.
549         (disassemble_init_powerpc): Set powerpc_opcd_indices entries
550         corresponding to unused opcodes to following entry.
551         (lookup_powerpc): New function, extracted and optimised from..
552         (print_insn_powerpc): ..here.
553
554 2012-03-15  Alan Modra  <amodra@gmail.com>
555             James Lemke  <jwlemke@codesourcery.com>
556
557         * disassemble.c (disassemble_init_for_target): Handle ppc init.
558         * ppc-dis.c (private): New var.
559         (powerpc_init_dialect): Don't return calloc failure, instead use
560         private.
561         (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define.
562         (powerpc_opcd_indices): New array.
563         (disassemble_init_powerpc): New function.
564         (print_insn_big_powerpc): Don't init dialect here.
565         (print_insn_little_powerpc): Likewise.
566         (print_insn_powerpc): Start search using powerpc_opcd_indices.
567
568 2012-03-10  Edmar Wienskoski  <edmar@freescale.com>
569
570         * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500".
571         * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New.
572         (PPCVEC2, PPCTMR, E6500): New short names.
573         (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt,
574         mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx,
575         lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl,
576         lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl,
577         lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC
578         optional operands on sync instruction for E6500 target.
579
580 2012-03-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
581
582         * s390-opc.txt: Set instruction type of pku to SS_L2RDRD.
583
584 2012-02-27  Alan Modra  <amodra@gmail.com>
585
586         * mt-dis.c: Regenerate.
587
588 2012-02-27  Alan Modra  <amodra@gmail.com>
589
590         * v850-opc.c (extract_v8): Rearrange to make it obvious this
591         is the inverse of corresponding insert function.
592         (extract_d22, extract_u9, extract_r4): Likewise.
593         (extract_d9): Correct sign extension.
594         (extract_d16_15): Don't assume "long" is 32 bits, and don't
595         rely on implementation defined behaviour for shift right of
596         signed types.
597         (extract_d16_16, extract_d17_16, extract_i9): Likewise.
598         (extract_d23): Likewise, and correct mask.
599
600 2012-02-27  Alan Modra  <amodra@gmail.com>
601
602         * crx-dis.c (print_arg): Mask constant to 32 bits.
603         * crx-opc.c (cst4_map): Use int array.
604
605 2012-02-27  Alan Modra  <amodra@gmail.com>
606
607         * arc-dis.c (BITS): Don't use shifts to mask off bits.
608         (FIELDD): Sign extend with xor,sub.
609
610 2012-02-25  Walter Lee  <walt@tilera.com>
611
612         * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS.
613         * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and
614         TILEPRO_OPC_LW_TLS_SN.
615
616 2012-02-21  H.J. Lu  <hongjiu.lu@intel.com>
617
618         * i386-opc.h (HLEPrefixNone): New.
619         (HLEPrefixLock): Likewise.
620         (HLEPrefixAny): Likewise.
621         (HLEPrefixRelease): Likewise.
622
623 2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>
624
625         * i386-dis.c (HLE_Fixup1): New.
626         (HLE_Fixup2): Likewise.
627         (HLE_Fixup3): Likewise.
628         (Ebh1): Likewise.
629         (Evh1): Likewise.
630         (Ebh2): Likewise.
631         (Evh2): Likewise.
632         (Ebh3): Likewise.
633         (Evh3): Likewise.
634         (MOD_C6_REG_7): Likewise.
635         (MOD_C7_REG_7): Likewise.
636         (RM_C6_REG_7): Likewise.
637         (RM_C7_REG_7): Likewise.
638         (XACQUIRE_PREFIX): Likewise.
639         (XRELEASE_PREFIX): Likewise.
640         (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts,
641         cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use
642         Ebh2/Evh2 on xchg.  Use Ebh3/Evh3 on mov.
643         (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg,
644         not, or, sbb, sub and xor.  Use Ebh3/Evh3 on mov.  Use
645         MOD_C6_REG_7 and MOD_C7_REG_7.
646         (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7.
647         (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7.  Add xend and
648         xtest.
649         (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX.
650         (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b.
651
652         * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and
653         CPU_RTM_FLAGS.
654         (cpu_flags): Add CpuHLE and CpuRTM.
655         (opcode_modifiers): Add HLEPrefixOk.
656
657         * i386-opc.h (CpuHLE): New.
658         (CpuRTM): Likewise.
659         (HLEPrefixOk): Likewise.
660         (i386_cpu_flags): Add cpuhle and cpurtm.
661         (i386_opcode_modifier): Add hleprefixok.
662
663         * i386-opc.tbl: Add HLEPrefixOk=3 to mov.  Add HLEPrefixOk to
664         add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or,
665         sbb, sub, xor and xadd.  Add HLEPrefixOk=2 to xchg with memory
666         operand.  Add xacquire, xrelease, xabort, xbegin, xend and
667         xtest.
668         * i386-init.h: Regenerated.
669         * i386-tbl.h: Likewise.
670
671 2012-01-24  DJ Delorie  <dj@redhat.com>
672
673         * rl78-decode.opc (rl78_decode_opcode): Add NOT1.
674         * rl78-decode.c: Regenerate.
675
676 2012-01-17  James Murray  <jsm@jsm-net.demon.co.uk>
677
678         PR binutils/10173
679         * cr16-dis.c (print_arg): Test symtab_size not num_symbols.
680
681 2012-01-17  Andreas Schwab  <schwab@linux-m68k.org>
682
683         * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx
684         register and move them after pmove with PSR/PCSR register.
685
686 2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>
687
688         * i386-dis.c (mod_table): Add vmfunc.
689
690         * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS.
691         (cpu_flags): CpuVMFUNC.
692
693         * i386-opc.h (CpuVMFUNC): New.
694         (i386_cpu_flags): Add cpuvmfunc.
695
696         * i386-opc.tbl: Add vmfunc.
697         * i386-init.h: Regenerated.
698         * i386-tbl.h: Likewise.
699
700 For older changes see ChangeLog-2011
701 \f
702 Local Variables:
703 mode: change-log
704 left-margin: 8
705 fill-column: 74
706 version-control: never
707 End: