1 2012-07-31 Jan Beulich <jbeulich@suse.com>
3 * i386-opc.tbl (vmovntdqa): Move up into 256-bit integer AVX2
4 instruction group. Mark as requiring AVX2.
5 * i386-tbl.h: Re-generate.
7 2012-07-30 Nick Clifton <nickc@redhat.com>
9 * po/opcodes.pot: Updated template.
10 * po/es.po: Updated Spanish translation.
11 * po/fi.po: Updated Finnish translation.
13 2012-07-27 Mike Frysinger <vapier@gentoo.org>
15 * configure.in (BFD_VERSION): Run bfd/configure --version and
16 parse the output of that.
17 * configure: Regenerate.
19 2012-07-25 James Lemke <jwlemke@codesourcery.com>
21 * ppc-opc.c (powerpc_opcodes): Add/remove PPCVLE for some 32-bit insns.
23 2012-07-24 Stephan McCamant <smcc@cs.berkeley.edu>
24 Dr David Alan Gilbert <dave@treblig.org>
27 * arm-dis.c: Add necessary casts for printing integer values.
28 Use %s when printing string values.
29 * hppa-dis.c: Likewise.
30 * m68k-dis.c: Likewise.
31 * microblaze-dis.c: Likewise.
32 * mips-dis.c: Likewise.
33 * sparc-dis.c: Likewise.
35 2012-07-19 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
38 * i386-dis.c (VEX_LEN_0FXOP_08_CC): New.
39 (VEX_LEN_0FXOP_08_CD): Likewise.
40 (VEX_LEN_0FXOP_08_CE): Likewise.
41 (VEX_LEN_0FXOP_08_CF): Likewise.
42 (VEX_LEN_0FXOP_08_EC): Likewise.
43 (VEX_LEN_0FXOP_08_ED): Likewise.
44 (VEX_LEN_0FXOP_08_EE): Likewise.
45 (VEX_LEN_0FXOP_08_EF): Likewise.
46 (xop_table): Fix entries for vpcomb, vpcomw, vpcomd, vpcomq,
47 vpcomub, vpcomuw, vpcomud, vpcomuq.
48 (vex_len_table): Add entries for VEX_LEN_0FXOP_08_CC,
49 VEX_LEN_0FXOP_08_CD, VEX_LEN_0FXOP_08_CE, VEX_LEN_0FXOP_08_CF,
50 VEX_LEN_0FXOP_08_EC, VEX_LEN_0FXOP_08_ED, VEX_LEN_0FXOP_08_EE,
53 2012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
55 * i386-dis.c (PREFIX_0F38F6): New.
56 (prefix_table): Add adcx, adox instructions.
57 (three_byte_table): Use PREFIX_0F38F6.
58 (mod_table): Add rdseed instruction.
59 * i386-gen.c (cpu_flag_init): Add CpuADX, CpuRDSEED, CpuPRFCHW.
60 (cpu_flags): Likewise.
61 * i386-opc.h: Add CpuADX, CpuRDSEED, CpuPRFCHW.
62 (i386_cpu_flags): Add fields cpurdseed, cpuadx, cpuprfchw.
63 * i386-opc.tbl: Add instrcutions adcx, adox, rdseed. Extend
65 * i386-tbl.h: Regenerate.
66 * i386-init.h: Likewise.
68 2012-07-05 Thomas Schwinge <thomas@codesourcery.com>
70 * mips-dis.c: Remove gratuitous newline.
72 2012-07-05 Sean Keys <skeys@ipdatasys.com>
74 * xgate-dis.c: Removed an IF statement that will
75 always be false due to overlapping operand masks.
76 * xgate-opc.c: Corrected 'com' opcode entry and
79 2012-07-02 Roland McGrath <mcgrathr@google.com>
81 * i386-opc.tbl: Add RepPrefixOk to nop.
82 * i386-tbl.h: Regenerate.
84 2012-06-28 Nick Clifton <nickc@redhat.com>
86 * po/vi.po: Updated Vietnamese translation.
88 2012-06-22 Roland McGrath <mcgrathr@google.com>
90 * i386-opc.tbl: Add RepPrefixOk to ret.
91 * i386-tbl.h: Regenerate.
93 * i386-opc.h (RepPrefixOk): New enum constant.
94 (i386_opcode_modifier): New bitfield 'repprefixok'.
95 * i386-gen.c (opcode_modifiers): Add RepPrefixOk.
96 * i386-opc.tbl: Add RepPrefixOk to bsf, bsr, and to all
97 instructions that have IsString.
98 * i386-tbl.h: Regenerate.
100 2012-06-11 Andreas Schwab <schwab@linux-m68k.org>
102 * ppc-opc.c (lvsl, lvebx, isellt, icbt, ldepx, lwepx, lvsr, lvehx)
103 (iselgt, lvewx, iseleq, isel, dcbst, dcbstep, dcbfl, dcbf, lbepx)
104 (lvx, dcbfep, dcbtstls, stvebx, dcbtstlse, stdepx, stwepx, dcbtls)
105 (stvehx, dcbtlse, stvewx, stbepx, icblc, stvx, dcbtstt, dcbtst)
106 (dcbtst, dcbtstep, dcbtt, dcbt, dcbt, lhepx, eciwx, dcbtep)
107 (dcread, lxvdsx, lvxl, dcblc, sthepx, ecowx, dcbi, dcread, icbtls)
108 (stvxl, lxsdx, lfdepx, stxsdx, stfdepx, dcba, dcbal, lxvw4x)
109 (tlbivax, lfdpx, lxvd2x, tlbsrx., stxvw4x, tlbsx, tlbsx., stfdpx)
110 (stfqx, stxvd2x, icbi, icbiep, icread, dcbzep): Change RA to RA0.
112 2012-05-19 Alan Modra <amodra@gmail.com>
114 * ppc-dis.c: Don't include elf32-ppc.h, do include elf/ppc.h.
115 (get_powerpc_dialect): Detect VLE sections from ELF sh_flags.
117 2012-05-18 Alan Modra <amodra@gmail.com>
119 * ia64-opc.c: Remove #include "ansidecl.h".
120 * z8kgen.c: Include sysdep.h first.
122 * arc-dis.c: Include sysdep.h first, remove some redundant includes.
123 * bfin-dis.c: Likewise.
124 * i860-dis.c: Likewise.
125 * ia64-dis.c: Likewise.
126 * ia64-gen.c: Likewise.
127 * m68hc11-dis.c: Likewise.
128 * mmix-dis.c: Likewise.
129 * msp430-dis.c: Likewise.
130 * or32-dis.c: Likewise.
131 * rl78-dis.c: Likewise.
132 * rx-dis.c: Likewise.
133 * tic4x-dis.c: Likewise.
134 * tilegx-opc.c: Likewise.
135 * tilepro-opc.c: Likewise.
136 * rx-decode.c: Regenerate.
138 2012-05-17 James Lemke <jwlemke@codesourcery.com>
140 * ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi.
142 2012-05-17 James Lemke <jwlemke@codesourcery.com>
144 * ppc-opc.c (extract_sprg): Use ALLOW8_SPRG to include VLE.
146 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
147 Nick Clifton <nickc@redhat.com>
150 * configure.in: Add check that sysdep.h has been included before
151 any system header files.
152 * configure: Regenerate.
153 * config.in: Regenerate.
154 * sysdep.h: Generate an error if included before config.h.
155 * alpha-opc.c: Include sysdep.h before any other header file.
156 * alpha-dis.c: Likewise.
157 * avr-dis.c: Likewise.
158 * cgen-opc.c: Likewise.
159 * cr16-dis.c: Likewise.
160 * cris-dis.c: Likewise.
161 * crx-dis.c: Likewise.
162 * d10v-dis.c: Likewise.
163 * d10v-opc.c: Likewise.
164 * d30v-dis.c: Likewise.
165 * d30v-opc.c: Likewise.
166 * h8500-dis.c: Likewise.
167 * i370-dis.c: Likewise.
168 * i370-opc.c: Likewise.
169 * m10200-dis.c: Likewise.
170 * m10300-dis.c: Likewise.
171 * micromips-opc.c: Likewise.
172 * mips-opc.c: Likewise.
173 * mips61-opc.c: Likewise.
174 * moxie-dis.c: Likewise.
175 * or32-opc.c: Likewise.
176 * pj-dis.c: Likewise.
177 * ppc-dis.c: Likewise.
178 * ppc-opc.c: Likewise.
179 * s390-dis.c: Likewise.
180 * sh-dis.c: Likewise.
181 * sh64-dis.c: Likewise.
182 * sparc-dis.c: Likewise.
183 * sparc-opc.c: Likewise.
184 * spu-dis.c: Likewise.
185 * tic30-dis.c: Likewise.
186 * tic54x-dis.c: Likewise.
187 * tic80-dis.c: Likewise.
188 * tic80-opc.c: Likewise.
189 * tilegx-dis.c: Likewise.
190 * tilepro-dis.c: Likewise.
191 * v850-dis.c: Likewise.
192 * v850-opc.c: Likewise.
193 * vax-dis.c: Likewise.
194 * w65-dis.c: Likewise.
195 * xgate-dis.c: Likewise.
196 * xtensa-dis.c: Likewise.
197 * rl78-decode.opc: Likewise.
198 * rl78-decode.c: Regenerate.
199 * rx-decode.opc: Likewise.
200 * rx-decode.c: Regenerate.
202 2012-05-17 Alan Modra <amodra@gmail.com>
204 * ppc_dis.c: Don't include elf/ppc.h.
206 2012-05-16 Meador Inge <meadori@codesourcery.com>
208 * arm-dis.c (arm_opcodes): Don't disassemble STMFD/LDMIA sp!, {reg}
211 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
212 Stephane Carrez <stcarrez@nerim.fr>
214 * configure.in: Add S12X and XGATE co-processor support to m68hc11
216 * disassemble.c: Likewise.
217 * configure: Regenerate.
218 * m68hc11-dis.c: Make objdump output more consistent, use hex
219 instead of decimal and use 0x prefix for hex.
220 * m68hc11-opc.c: Add S12X and XGATE opcodes.
222 2012-05-14 James Lemke <jwlemke@codesourcery.com>
224 * ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle.
225 (PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines.
226 (vle_opcd_indices): New array.
227 (lookup_vle): New function.
228 (disassemble_init_powerpc): Revise for second (VLE) opcode table.
229 (print_insn_powerpc): Likewise.
230 * ppc-opc.c: Likewise.
232 2012-05-14 Catherine Moore <clm@codesourcery.com>
233 Maciej W. Rozycki <macro@codesourcery.com>
234 Rhonda Wittels <rhonda@codesourcery.com>
235 Nathan Froyd <froydnj@codesourcery.com>
237 * ppc-opc.c (insert_arx, extract_arx): New functions.
238 (insert_ary, extract_ary): New functions.
239 (insert_li20, extract_li20): New functions.
240 (insert_rx, extract_rx): New functions.
241 (insert_ry, extract_ry): New functions.
242 (insert_sci8, extract_sci8): New functions.
243 (insert_sci8n, extract_sci8n): New functions.
244 (insert_sd4h, extract_sd4h): New functions.
245 (insert_sd4w, extract_sd4w): New functions.
246 (insert_vlesi, extract_vlesi): New functions.
247 (insert_vlensi, extract_vlensi): New functions.
248 (insert_vleui, extract_vleui): New functions.
249 (insert_vleil, extract_vleil): New functions.
250 (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT.
251 (BI16, BI32, BO32, B8): New.
252 (B15, B24, CRD32, CRS): New.
253 (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG.
254 (DB, IMM20, RD, Rx, ARX, RY, RZ): New.
255 (ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New.
256 (SH6_MASK): Use PPC_OPSHIFT_INV.
257 (SI8, UI5, OIMM5, UI7, BO16): New.
258 (VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New.
259 (XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV.
261 (insert_sprg, extract_sprg): Check ALLOW8_SPRG.
262 (OPVUP, OPVUP_MASK OPVUP): New
263 (BD8, BD8_MASK, BD8IO, BD8IO_MASK): New.
264 (EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New.
265 (BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New.
266 (BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New.
267 (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New.
268 (IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New.
269 (SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New.
270 (SE_IM5, SE_IM5_MASK): New.
271 (SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New.
272 (EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New.
273 (BO32DNZ, BO32DZ): New.
274 (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE.
276 (powerpc_opcodes): Add new VLE instructions. Update existing
277 instruction to include PPCVLE if supported.
278 * ppc-dis.c (ppc_opts): Add vle entry.
279 (get_powerpc_dialect): New function.
280 (powerpc_init_dialect): VLE support.
281 (print_insn_big_powerpc): Call get_powerpc_dialect.
282 (print_insn_little_powerpc): Likewise.
283 (operand_value_powerpc): Handle negative shift counts.
284 (print_insn_powerpc): Handle 2-byte instruction lengths.
286 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
289 * configure.in: Invoke ACX_HEADER_STRING.
290 * configure: Regenerate.
291 * config.in: Regenerate.
292 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
293 string.h and strings.h.
295 2012-05-11 Nick Clifton <nickc@redhat.com>
298 * arm-dis.c (print_insn): Fix detection of instruction mode in
299 files containing multiple executable sections.
301 2012-05-03 Sean Keys <skeys@ipdatasys.com>
303 * Makefile.in, configure: regenerate
304 * disassemble.c (disassembler): Recognize ARCH_XGATE.
305 * xgate-dis.c (read_memory, print_insn, print_insn_xgate):
307 * configure.in: Recognize xgate.
308 * xgate-dis.c, xgate-opc.c: New files for support of xgate
309 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
310 and opcode generation for xgate.
312 2012-04-30 DJ Delorie <dj@redhat.com>
314 * rx-decode.opc (MOV): Do not sign-extend immediates which are
315 already the maximum bit size.
316 * rx-decode.c: Regenerate.
318 2012-04-27 David S. Miller <davem@davemloft.net>
320 * sparc-dis.c (v9a_asr_reg_names): Add 'cfr'.
321 * sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr.
323 * sparc-opc.c (sparc_opcodes): Add 'wr X, %pause' and 'pause'.
324 * sparc-dis.c (v9a_asr_reg_names): Add 'pause'.
326 * sparc-opc.c (CBCOND): New define.
327 (CBCOND_XCC): Likewise.
328 (cbcond): New helper macro.
329 (sparc_opcodes): Add compare-and-branch instructions.
331 * sparc-dis.c (print_insn_sparc): Handle ')'.
332 * sparc-opc.c (sparc_opcodes): Add crypto instructions.
334 * sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values
335 into new struct sparc_opcode 'hwcaps' field instead of 'flags'.
337 2012-04-12 David S. Miller <davem@davemloft.net>
339 * sparc-dis.c (X_DISP10): Define.
340 (print_insn_sparc): Handle '='.
342 2012-04-01 Mike Frysinger <vapier@gentoo.org>
344 * bfin-dis.c (fmtconst): Replace decimal handling with a single
345 sprintf call and the '*' field width.
347 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
349 * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP.
351 2012-03-16 Alan Modra <amodra@gmail.com>
353 * ppc-dis.c (PPC_OPC_SEGS, PPC_OP_TO_SEG): Delete.
354 (powerpc_opcd_indices): Bump array size.
355 (disassemble_init_powerpc): Set powerpc_opcd_indices entries
356 corresponding to unused opcodes to following entry.
357 (lookup_powerpc): New function, extracted and optimised from..
358 (print_insn_powerpc): ..here.
360 2012-03-15 Alan Modra <amodra@gmail.com>
361 James Lemke <jwlemke@codesourcery.com>
363 * disassemble.c (disassemble_init_for_target): Handle ppc init.
364 * ppc-dis.c (private): New var.
365 (powerpc_init_dialect): Don't return calloc failure, instead use
367 (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define.
368 (powerpc_opcd_indices): New array.
369 (disassemble_init_powerpc): New function.
370 (print_insn_big_powerpc): Don't init dialect here.
371 (print_insn_little_powerpc): Likewise.
372 (print_insn_powerpc): Start search using powerpc_opcd_indices.
374 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
376 * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500".
377 * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New.
378 (PPCVEC2, PPCTMR, E6500): New short names.
379 (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt,
380 mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx,
381 lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl,
382 lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl,
383 lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC
384 optional operands on sync instruction for E6500 target.
386 2012-03-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
388 * s390-opc.txt: Set instruction type of pku to SS_L2RDRD.
390 2012-02-27 Alan Modra <amodra@gmail.com>
392 * mt-dis.c: Regenerate.
394 2012-02-27 Alan Modra <amodra@gmail.com>
396 * v850-opc.c (extract_v8): Rearrange to make it obvious this
397 is the inverse of corresponding insert function.
398 (extract_d22, extract_u9, extract_r4): Likewise.
399 (extract_d9): Correct sign extension.
400 (extract_d16_15): Don't assume "long" is 32 bits, and don't
401 rely on implementation defined behaviour for shift right of
403 (extract_d16_16, extract_d17_16, extract_i9): Likewise.
404 (extract_d23): Likewise, and correct mask.
406 2012-02-27 Alan Modra <amodra@gmail.com>
408 * crx-dis.c (print_arg): Mask constant to 32 bits.
409 * crx-opc.c (cst4_map): Use int array.
411 2012-02-27 Alan Modra <amodra@gmail.com>
413 * arc-dis.c (BITS): Don't use shifts to mask off bits.
414 (FIELDD): Sign extend with xor,sub.
416 2012-02-25 Walter Lee <walt@tilera.com>
418 * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS.
419 * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and
420 TILEPRO_OPC_LW_TLS_SN.
422 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
424 * i386-opc.h (HLEPrefixNone): New.
425 (HLEPrefixLock): Likewise.
426 (HLEPrefixAny): Likewise.
427 (HLEPrefixRelease): Likewise.
429 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
431 * i386-dis.c (HLE_Fixup1): New.
432 (HLE_Fixup2): Likewise.
433 (HLE_Fixup3): Likewise.
440 (MOD_C6_REG_7): Likewise.
441 (MOD_C7_REG_7): Likewise.
442 (RM_C6_REG_7): Likewise.
443 (RM_C7_REG_7): Likewise.
444 (XACQUIRE_PREFIX): Likewise.
445 (XRELEASE_PREFIX): Likewise.
446 (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts,
447 cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use
448 Ebh2/Evh2 on xchg. Use Ebh3/Evh3 on mov.
449 (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg,
450 not, or, sbb, sub and xor. Use Ebh3/Evh3 on mov. Use
451 MOD_C6_REG_7 and MOD_C7_REG_7.
452 (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7.
453 (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7. Add xend and
455 (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX.
456 (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b.
458 * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and
460 (cpu_flags): Add CpuHLE and CpuRTM.
461 (opcode_modifiers): Add HLEPrefixOk.
463 * i386-opc.h (CpuHLE): New.
465 (HLEPrefixOk): Likewise.
466 (i386_cpu_flags): Add cpuhle and cpurtm.
467 (i386_opcode_modifier): Add hleprefixok.
469 * i386-opc.tbl: Add HLEPrefixOk=3 to mov. Add HLEPrefixOk to
470 add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or,
471 sbb, sub, xor and xadd. Add HLEPrefixOk=2 to xchg with memory
472 operand. Add xacquire, xrelease, xabort, xbegin, xend and
474 * i386-init.h: Regenerated.
475 * i386-tbl.h: Likewise.
477 2012-01-24 DJ Delorie <dj@redhat.com>
479 * rl78-decode.opc (rl78_decode_opcode): Add NOT1.
480 * rl78-decode.c: Regenerate.
482 2012-01-17 James Murray <jsm@jsm-net.demon.co.uk>
485 * cr16-dis.c (print_arg): Test symtab_size not num_symbols.
487 2012-01-17 Andreas Schwab <schwab@linux-m68k.org>
489 * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx
490 register and move them after pmove with PSR/PCSR register.
492 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
494 * i386-dis.c (mod_table): Add vmfunc.
496 * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS.
497 (cpu_flags): CpuVMFUNC.
499 * i386-opc.h (CpuVMFUNC): New.
500 (i386_cpu_flags): Add cpuvmfunc.
502 * i386-opc.tbl: Add vmfunc.
503 * i386-init.h: Regenerated.
504 * i386-tbl.h: Likewise.
506 For older changes see ChangeLog-2011
512 version-control: never