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