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