1 2012-06-11 Andreas Schwab <schwab@linux-m68k.org>
3 * ppc-opc.c (lvsl, lvebx, isellt, icbt, ldepx, lwepx, lvsr, lvehx)
4 (iselgt, lvewx, iseleq, isel, dcbst, dcbstep, dcbfl, dcbf, lbepx)
5 (lvx, dcbfep, dcbtstls, stvebx, dcbtstlse, stdepx, stwepx, dcbtls)
6 (stvehx, dcbtlse, stvewx, stbepx, icblc, stvx, dcbtstt, dcbtst)
7 (dcbtst, dcbtstep, dcbtt, dcbt, dcbt, lhepx, eciwx, dcbtep)
8 (dcread, lxvdsx, lvxl, dcblc, sthepx, ecowx, dcbi, dcread, icbtls)
9 (stvxl, lxsdx, lfdepx, stxsdx, stfdepx, dcba, dcbal, lxvw4x)
10 (tlbivax, lfdpx, lxvd2x, tlbsrx., stxvw4x, tlbsx, tlbsx., stfdpx)
11 (stfqx, stxvd2x, icbi, icbiep, icread, dcbzep): Change RA to RA0.
13 2012-05-19 Alan Modra <amodra@gmail.com>
15 * ppc-dis.c: Don't include elf32-ppc.h, do include elf/ppc.h.
16 (get_powerpc_dialect): Detect VLE sections from ELF sh_flags.
18 2012-05-18 Alan Modra <amodra@gmail.com>
20 * ia64-opc.c: Remove #include "ansidecl.h".
21 * z8kgen.c: Include sysdep.h first.
23 * arc-dis.c: Include sysdep.h first, remove some redundant includes.
24 * bfin-dis.c: Likewise.
25 * i860-dis.c: Likewise.
26 * ia64-dis.c: Likewise.
27 * ia64-gen.c: Likewise.
28 * m68hc11-dis.c: Likewise.
29 * mmix-dis.c: Likewise.
30 * msp430-dis.c: Likewise.
31 * or32-dis.c: Likewise.
32 * rl78-dis.c: Likewise.
34 * tic4x-dis.c: Likewise.
35 * tilegx-opc.c: Likewise.
36 * tilepro-opc.c: Likewise.
37 * rx-decode.c: Regenerate.
39 2012-05-17 James Lemke <jwlemke@codesourcery.com>
41 * ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi.
43 2012-05-17 James Lemke <jwlemke@codesourcery.com>
45 * ppc-opc.c (extract_sprg): Use ALLOW8_SPRG to include VLE.
47 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
48 Nick Clifton <nickc@redhat.com>
51 * configure.in: Add check that sysdep.h has been included before
52 any system header files.
53 * configure: Regenerate.
54 * config.in: Regenerate.
55 * sysdep.h: Generate an error if included before config.h.
56 * alpha-opc.c: Include sysdep.h before any other header file.
57 * alpha-dis.c: Likewise.
58 * avr-dis.c: Likewise.
59 * cgen-opc.c: Likewise.
60 * cr16-dis.c: Likewise.
61 * cris-dis.c: Likewise.
62 * crx-dis.c: Likewise.
63 * d10v-dis.c: Likewise.
64 * d10v-opc.c: Likewise.
65 * d30v-dis.c: Likewise.
66 * d30v-opc.c: Likewise.
67 * h8500-dis.c: Likewise.
68 * i370-dis.c: Likewise.
69 * i370-opc.c: Likewise.
70 * m10200-dis.c: Likewise.
71 * m10300-dis.c: Likewise.
72 * micromips-opc.c: Likewise.
73 * mips-opc.c: Likewise.
74 * mips61-opc.c: Likewise.
75 * moxie-dis.c: Likewise.
76 * or32-opc.c: Likewise.
78 * ppc-dis.c: Likewise.
79 * ppc-opc.c: Likewise.
80 * s390-dis.c: Likewise.
82 * sh64-dis.c: Likewise.
83 * sparc-dis.c: Likewise.
84 * sparc-opc.c: Likewise.
85 * spu-dis.c: Likewise.
86 * tic30-dis.c: Likewise.
87 * tic54x-dis.c: Likewise.
88 * tic80-dis.c: Likewise.
89 * tic80-opc.c: Likewise.
90 * tilegx-dis.c: Likewise.
91 * tilepro-dis.c: Likewise.
92 * v850-dis.c: Likewise.
93 * v850-opc.c: Likewise.
94 * vax-dis.c: Likewise.
95 * w65-dis.c: Likewise.
96 * xgate-dis.c: Likewise.
97 * xtensa-dis.c: Likewise.
98 * rl78-decode.opc: Likewise.
99 * rl78-decode.c: Regenerate.
100 * rx-decode.opc: Likewise.
101 * rx-decode.c: Regenerate.
103 2012-05-17 Alan Modra <amodra@gmail.com>
105 * ppc_dis.c: Don't include elf/ppc.h.
107 2012-05-16 Meador Inge <meadori@codesourcery.com>
109 * arm-dis.c (arm_opcodes): Don't disassemble STMFD/LDMIA sp!, {reg}
112 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
113 Stephane Carrez <stcarrez@nerim.fr>
115 * configure.in: Add S12X and XGATE co-processor support to m68hc11
117 * disassemble.c: Likewise.
118 * configure: Regenerate.
119 * m68hc11-dis.c: Make objdump output more consistent, use hex
120 instead of decimal and use 0x prefix for hex.
121 * m68hc11-opc.c: Add S12X and XGATE opcodes.
123 2012-05-14 James Lemke <jwlemke@codesourcery.com>
125 * ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle.
126 (PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines.
127 (vle_opcd_indices): New array.
128 (lookup_vle): New function.
129 (disassemble_init_powerpc): Revise for second (VLE) opcode table.
130 (print_insn_powerpc): Likewise.
131 * ppc-opc.c: Likewise.
133 2012-05-14 Catherine Moore <clm@codesourcery.com>
134 Maciej W. Rozycki <macro@codesourcery.com>
135 Rhonda Wittels <rhonda@codesourcery.com>
136 Nathan Froyd <froydnj@codesourcery.com>
138 * ppc-opc.c (insert_arx, extract_arx): New functions.
139 (insert_ary, extract_ary): New functions.
140 (insert_li20, extract_li20): New functions.
141 (insert_rx, extract_rx): New functions.
142 (insert_ry, extract_ry): New functions.
143 (insert_sci8, extract_sci8): New functions.
144 (insert_sci8n, extract_sci8n): New functions.
145 (insert_sd4h, extract_sd4h): New functions.
146 (insert_sd4w, extract_sd4w): New functions.
147 (insert_vlesi, extract_vlesi): New functions.
148 (insert_vlensi, extract_vlensi): New functions.
149 (insert_vleui, extract_vleui): New functions.
150 (insert_vleil, extract_vleil): New functions.
151 (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT.
152 (BI16, BI32, BO32, B8): New.
153 (B15, B24, CRD32, CRS): New.
154 (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG.
155 (DB, IMM20, RD, Rx, ARX, RY, RZ): New.
156 (ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New.
157 (SH6_MASK): Use PPC_OPSHIFT_INV.
158 (SI8, UI5, OIMM5, UI7, BO16): New.
159 (VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New.
160 (XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV.
162 (insert_sprg, extract_sprg): Check ALLOW8_SPRG.
163 (OPVUP, OPVUP_MASK OPVUP): New
164 (BD8, BD8_MASK, BD8IO, BD8IO_MASK): New.
165 (EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New.
166 (BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New.
167 (BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New.
168 (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New.
169 (IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New.
170 (SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New.
171 (SE_IM5, SE_IM5_MASK): New.
172 (SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New.
173 (EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New.
174 (BO32DNZ, BO32DZ): New.
175 (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE.
177 (powerpc_opcodes): Add new VLE instructions. Update existing
178 instruction to include PPCVLE if supported.
179 * ppc-dis.c (ppc_opts): Add vle entry.
180 (get_powerpc_dialect): New function.
181 (powerpc_init_dialect): VLE support.
182 (print_insn_big_powerpc): Call get_powerpc_dialect.
183 (print_insn_little_powerpc): Likewise.
184 (operand_value_powerpc): Handle negative shift counts.
185 (print_insn_powerpc): Handle 2-byte instruction lengths.
187 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
190 * configure.in: Invoke ACX_HEADER_STRING.
191 * configure: Regenerate.
192 * config.in: Regenerate.
193 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
194 string.h and strings.h.
196 2012-05-11 Nick Clifton <nickc@redhat.com>
199 * arm-dis.c (print_insn): Fix detection of instruction mode in
200 files containing multiple executable sections.
202 2012-05-03 Sean Keys <skeys@ipdatasys.com>
204 * Makefile.in, configure: regenerate
205 * disassemble.c (disassembler): Recognize ARCH_XGATE.
206 * xgate-dis.c (read_memory, print_insn, print_insn_xgate):
208 * configure.in: Recognize xgate.
209 * xgate-dis.c, xgate-opc.c: New files for support of xgate
210 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
211 and opcode generation for xgate.
213 2012-04-30 DJ Delorie <dj@redhat.com>
215 * rx-decode.opc (MOV): Do not sign-extend immediates which are
216 already the maximum bit size.
217 * rx-decode.c: Regenerate.
219 2012-04-27 David S. Miller <davem@davemloft.net>
221 * sparc-dis.c (v9a_asr_reg_names): Add 'cfr'.
222 * sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr.
224 * sparc-opc.c (sparc_opcodes): Add 'wr X, %pause' and 'pause'.
225 * sparc-dis.c (v9a_asr_reg_names): Add 'pause'.
227 * sparc-opc.c (CBCOND): New define.
228 (CBCOND_XCC): Likewise.
229 (cbcond): New helper macro.
230 (sparc_opcodes): Add compare-and-branch instructions.
232 * sparc-dis.c (print_insn_sparc): Handle ')'.
233 * sparc-opc.c (sparc_opcodes): Add crypto instructions.
235 * sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values
236 into new struct sparc_opcode 'hwcaps' field instead of 'flags'.
238 2012-04-12 David S. Miller <davem@davemloft.net>
240 * sparc-dis.c (X_DISP10): Define.
241 (print_insn_sparc): Handle '='.
243 2012-04-01 Mike Frysinger <vapier@gentoo.org>
245 * bfin-dis.c (fmtconst): Replace decimal handling with a single
246 sprintf call and the '*' field width.
248 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
250 * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP.
252 2012-03-16 Alan Modra <amodra@gmail.com>
254 * ppc-dis.c (PPC_OPC_SEGS, PPC_OP_TO_SEG): Delete.
255 (powerpc_opcd_indices): Bump array size.
256 (disassemble_init_powerpc): Set powerpc_opcd_indices entries
257 corresponding to unused opcodes to following entry.
258 (lookup_powerpc): New function, extracted and optimised from..
259 (print_insn_powerpc): ..here.
261 2012-03-15 Alan Modra <amodra@gmail.com>
262 James Lemke <jwlemke@codesourcery.com>
264 * disassemble.c (disassemble_init_for_target): Handle ppc init.
265 * ppc-dis.c (private): New var.
266 (powerpc_init_dialect): Don't return calloc failure, instead use
268 (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define.
269 (powerpc_opcd_indices): New array.
270 (disassemble_init_powerpc): New function.
271 (print_insn_big_powerpc): Don't init dialect here.
272 (print_insn_little_powerpc): Likewise.
273 (print_insn_powerpc): Start search using powerpc_opcd_indices.
275 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
277 * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500".
278 * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New.
279 (PPCVEC2, PPCTMR, E6500): New short names.
280 (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt,
281 mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx,
282 lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl,
283 lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl,
284 lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC
285 optional operands on sync instruction for E6500 target.
287 2012-03-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
289 * s390-opc.txt: Set instruction type of pku to SS_L2RDRD.
291 2012-02-27 Alan Modra <amodra@gmail.com>
293 * mt-dis.c: Regenerate.
295 2012-02-27 Alan Modra <amodra@gmail.com>
297 * v850-opc.c (extract_v8): Rearrange to make it obvious this
298 is the inverse of corresponding insert function.
299 (extract_d22, extract_u9, extract_r4): Likewise.
300 (extract_d9): Correct sign extension.
301 (extract_d16_15): Don't assume "long" is 32 bits, and don't
302 rely on implementation defined behaviour for shift right of
304 (extract_d16_16, extract_d17_16, extract_i9): Likewise.
305 (extract_d23): Likewise, and correct mask.
307 2012-02-27 Alan Modra <amodra@gmail.com>
309 * crx-dis.c (print_arg): Mask constant to 32 bits.
310 * crx-opc.c (cst4_map): Use int array.
312 2012-02-27 Alan Modra <amodra@gmail.com>
314 * arc-dis.c (BITS): Don't use shifts to mask off bits.
315 (FIELDD): Sign extend with xor,sub.
317 2012-02-25 Walter Lee <walt@tilera.com>
319 * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS.
320 * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and
321 TILEPRO_OPC_LW_TLS_SN.
323 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
325 * i386-opc.h (HLEPrefixNone): New.
326 (HLEPrefixLock): Likewise.
327 (HLEPrefixAny): Likewise.
328 (HLEPrefixRelease): Likewise.
330 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
332 * i386-dis.c (HLE_Fixup1): New.
333 (HLE_Fixup2): Likewise.
334 (HLE_Fixup3): Likewise.
341 (MOD_C6_REG_7): Likewise.
342 (MOD_C7_REG_7): Likewise.
343 (RM_C6_REG_7): Likewise.
344 (RM_C7_REG_7): Likewise.
345 (XACQUIRE_PREFIX): Likewise.
346 (XRELEASE_PREFIX): Likewise.
347 (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts,
348 cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use
349 Ebh2/Evh2 on xchg. Use Ebh3/Evh3 on mov.
350 (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg,
351 not, or, sbb, sub and xor. Use Ebh3/Evh3 on mov. Use
352 MOD_C6_REG_7 and MOD_C7_REG_7.
353 (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7.
354 (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7. Add xend and
356 (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX.
357 (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b.
359 * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and
361 (cpu_flags): Add CpuHLE and CpuRTM.
362 (opcode_modifiers): Add HLEPrefixOk.
364 * i386-opc.h (CpuHLE): New.
366 (HLEPrefixOk): Likewise.
367 (i386_cpu_flags): Add cpuhle and cpurtm.
368 (i386_opcode_modifier): Add hleprefixok.
370 * i386-opc.tbl: Add HLEPrefixOk=3 to mov. Add HLEPrefixOk to
371 add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or,
372 sbb, sub, xor and xadd. Add HLEPrefixOk=2 to xchg with memory
373 operand. Add xacquire, xrelease, xabort, xbegin, xend and
375 * i386-init.h: Regenerated.
376 * i386-tbl.h: Likewise.
378 2012-01-24 DJ Delorie <dj@redhat.com>
380 * rl78-decode.opc (rl78_decode_opcode): Add NOT1.
381 * rl78-decode.c: Regenerate.
383 2012-01-17 James Murray <jsm@jsm-net.demon.co.uk>
386 * cr16-dis.c (print_arg): Test symtab_size not num_symbols.
388 2012-01-17 Andreas Schwab <schwab@linux-m68k.org>
390 * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx
391 register and move them after pmove with PSR/PCSR register.
393 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
395 * i386-dis.c (mod_table): Add vmfunc.
397 * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS.
398 (cpu_flags): CpuVMFUNC.
400 * i386-opc.h (CpuVMFUNC): New.
401 (i386_cpu_flags): Add cpuvmfunc.
403 * i386-opc.tbl: Add vmfunc.
404 * i386-init.h: Regenerated.
405 * i386-tbl.h: Likewise.
407 For older changes see ChangeLog-2011
413 version-control: never