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