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