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