1 2012-05-17 James Lemke <jwlemke@codesourcery.com>
3 * ppc-opc.c (extract_sprg): Use ALLOW8_SPRG to include VLE.
5 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
6 Nick Clifton <nickc@redhat.com>
9 * configure.in: Add check that sysdep.h has been included before
10 any system header files.
11 * configure: Regenerate.
12 * config.in: Regenerate.
13 * sysdep.h: Generate an error if included before config.h.
14 * alpha-opc.c: Include sysdep.h before any other header file.
15 * alpha-dis.c: Likewise.
16 * avr-dis.c: Likewise.
17 * cgen-opc.c: Likewise.
18 * cr16-dis.c: Likewise.
19 * cris-dis.c: Likewise.
20 * crx-dis.c: Likewise.
21 * d10v-dis.c: Likewise.
22 * d10v-opc.c: Likewise.
23 * d30v-dis.c: Likewise.
24 * d30v-opc.c: Likewise.
25 * h8500-dis.c: Likewise.
26 * i370-dis.c: Likewise.
27 * i370-opc.c: Likewise.
28 * m10200-dis.c: Likewise.
29 * m10300-dis.c: Likewise.
30 * micromips-opc.c: Likewise.
31 * mips-opc.c: Likewise.
32 * mips61-opc.c: Likewise.
33 * moxie-dis.c: Likewise.
34 * or32-opc.c: Likewise.
36 * ppc-dis.c: Likewise.
37 * ppc-opc.c: Likewise.
38 * s390-dis.c: Likewise.
40 * sh64-dis.c: Likewise.
41 * sparc-dis.c: Likewise.
42 * sparc-opc.c: Likewise.
43 * spu-dis.c: Likewise.
44 * tic30-dis.c: Likewise.
45 * tic54x-dis.c: Likewise.
46 * tic80-dis.c: Likewise.
47 * tic80-opc.c: Likewise.
48 * tilegx-dis.c: Likewise.
49 * tilepro-dis.c: Likewise.
50 * v850-dis.c: Likewise.
51 * v850-opc.c: Likewise.
52 * vax-dis.c: Likewise.
53 * w65-dis.c: Likewise.
54 * xgate-dis.c: Likewise.
55 * xtensa-dis.c: Likewise.
56 * rl78-decode.opc: Likewise.
57 * rl78-decode.c: Regenerate.
58 * rx-decode.opc: Likewise.
59 * rx-decode.c: Regenerate.
61 2012-05-17 Alan Modra <amodra@gmail.com>
63 * ppc_dis.c: Don't include elf/ppc.h.
65 2012-05-16 Meador Inge <meadori@codesourcery.com>
67 * arm-dis.c (arm_opcodes): Don't disassemble STMFD/LDMIA sp!, {reg}
70 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
71 Stephane Carrez <stcarrez@nerim.fr>
73 * configure.in: Add S12X and XGATE co-processor support to m68hc11
75 * disassemble.c: Likewise.
76 * configure: Regenerate.
77 * m68hc11-dis.c: Make objdump output more consistent, use hex
78 instead of decimal and use 0x prefix for hex.
79 * m68hc11-opc.c: Add S12X and XGATE opcodes.
81 2012-05-14 James Lemke <jwlemke@codesourcery.com>
83 * ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle.
84 (PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines.
85 (vle_opcd_indices): New array.
86 (lookup_vle): New function.
87 (disassemble_init_powerpc): Revise for second (VLE) opcode table.
88 (print_insn_powerpc): Likewise.
89 * ppc-opc.c: Likewise.
91 2012-05-14 Catherine Moore <clm@codesourcery.com>
92 Maciej W. Rozycki <macro@codesourcery.com>
93 Rhonda Wittels <rhonda@codesourcery.com>
94 Nathan Froyd <froydnj@codesourcery.com>
96 * ppc-opc.c (insert_arx, extract_arx): New functions.
97 (insert_ary, extract_ary): New functions.
98 (insert_li20, extract_li20): New functions.
99 (insert_rx, extract_rx): New functions.
100 (insert_ry, extract_ry): New functions.
101 (insert_sci8, extract_sci8): New functions.
102 (insert_sci8n, extract_sci8n): New functions.
103 (insert_sd4h, extract_sd4h): New functions.
104 (insert_sd4w, extract_sd4w): New functions.
105 (insert_vlesi, extract_vlesi): New functions.
106 (insert_vlensi, extract_vlensi): New functions.
107 (insert_vleui, extract_vleui): New functions.
108 (insert_vleil, extract_vleil): New functions.
109 (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT.
110 (BI16, BI32, BO32, B8): New.
111 (B15, B24, CRD32, CRS): New.
112 (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG.
113 (DB, IMM20, RD, Rx, ARX, RY, RZ): New.
114 (ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New.
115 (SH6_MASK): Use PPC_OPSHIFT_INV.
116 (SI8, UI5, OIMM5, UI7, BO16): New.
117 (VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New.
118 (XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV.
120 (insert_sprg, extract_sprg): Check ALLOW8_SPRG.
121 (OPVUP, OPVUP_MASK OPVUP): New
122 (BD8, BD8_MASK, BD8IO, BD8IO_MASK): New.
123 (EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New.
124 (BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New.
125 (BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New.
126 (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New.
127 (IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New.
128 (SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New.
129 (SE_IM5, SE_IM5_MASK): New.
130 (SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New.
131 (EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New.
132 (BO32DNZ, BO32DZ): New.
133 (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE.
135 (powerpc_opcodes): Add new VLE instructions. Update existing
136 instruction to include PPCVLE if supported.
137 * ppc-dis.c (ppc_opts): Add vle entry.
138 (get_powerpc_dialect): New function.
139 (powerpc_init_dialect): VLE support.
140 (print_insn_big_powerpc): Call get_powerpc_dialect.
141 (print_insn_little_powerpc): Likewise.
142 (operand_value_powerpc): Handle negative shift counts.
143 (print_insn_powerpc): Handle 2-byte instruction lengths.
145 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
148 * configure.in: Invoke ACX_HEADER_STRING.
149 * configure: Regenerate.
150 * config.in: Regenerate.
151 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
152 string.h and strings.h.
154 2012-05-11 Nick Clifton <nickc@redhat.com>
157 * arm-dis.c (print_insn): Fix detection of instruction mode in
158 files containing multiple executable sections.
160 2012-05-03 Sean Keys <skeys@ipdatasys.com>
162 * Makefile.in, configure: regenerate
163 * disassemble.c (disassembler): Recognize ARCH_XGATE.
164 * xgate-dis.c (read_memory, print_insn, print_insn_xgate):
166 * configure.in: Recognize xgate.
167 * xgate-dis.c, xgate-opc.c: New files for support of xgate
168 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
169 and opcode generation for xgate.
171 2012-04-30 DJ Delorie <dj@redhat.com>
173 * rx-decode.opc (MOV): Do not sign-extend immediates which are
174 already the maximum bit size.
175 * rx-decode.c: Regenerate.
177 2012-04-27 David S. Miller <davem@davemloft.net>
179 * sparc-dis.c (v9a_asr_reg_names): Add 'cfr'.
180 * sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr.
182 * sparc-opc.c (sparc_opcodes): Add 'wr X, %pause' and 'pause'.
183 * sparc-dis.c (v9a_asr_reg_names): Add 'pause'.
185 * sparc-opc.c (CBCOND): New define.
186 (CBCOND_XCC): Likewise.
187 (cbcond): New helper macro.
188 (sparc_opcodes): Add compare-and-branch instructions.
190 * sparc-dis.c (print_insn_sparc): Handle ')'.
191 * sparc-opc.c (sparc_opcodes): Add crypto instructions.
193 * sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values
194 into new struct sparc_opcode 'hwcaps' field instead of 'flags'.
196 2012-04-12 David S. Miller <davem@davemloft.net>
198 * sparc-dis.c (X_DISP10): Define.
199 (print_insn_sparc): Handle '='.
201 2012-04-01 Mike Frysinger <vapier@gentoo.org>
203 * bfin-dis.c (fmtconst): Replace decimal handling with a single
204 sprintf call and the '*' field width.
206 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
208 * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP.
210 2012-03-16 Alan Modra <amodra@gmail.com>
212 * ppc-dis.c (PPC_OPC_SEGS, PPC_OP_TO_SEG): Delete.
213 (powerpc_opcd_indices): Bump array size.
214 (disassemble_init_powerpc): Set powerpc_opcd_indices entries
215 corresponding to unused opcodes to following entry.
216 (lookup_powerpc): New function, extracted and optimised from..
217 (print_insn_powerpc): ..here.
219 2012-03-15 Alan Modra <amodra@gmail.com>
220 James Lemke <jwlemke@codesourcery.com>
222 * disassemble.c (disassemble_init_for_target): Handle ppc init.
223 * ppc-dis.c (private): New var.
224 (powerpc_init_dialect): Don't return calloc failure, instead use
226 (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define.
227 (powerpc_opcd_indices): New array.
228 (disassemble_init_powerpc): New function.
229 (print_insn_big_powerpc): Don't init dialect here.
230 (print_insn_little_powerpc): Likewise.
231 (print_insn_powerpc): Start search using powerpc_opcd_indices.
233 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
235 * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500".
236 * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New.
237 (PPCVEC2, PPCTMR, E6500): New short names.
238 (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt,
239 mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx,
240 lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl,
241 lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl,
242 lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC
243 optional operands on sync instruction for E6500 target.
245 2012-03-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
247 * s390-opc.txt: Set instruction type of pku to SS_L2RDRD.
249 2012-02-27 Alan Modra <amodra@gmail.com>
251 * mt-dis.c: Regenerate.
253 2012-02-27 Alan Modra <amodra@gmail.com>
255 * v850-opc.c (extract_v8): Rearrange to make it obvious this
256 is the inverse of corresponding insert function.
257 (extract_d22, extract_u9, extract_r4): Likewise.
258 (extract_d9): Correct sign extension.
259 (extract_d16_15): Don't assume "long" is 32 bits, and don't
260 rely on implementation defined behaviour for shift right of
262 (extract_d16_16, extract_d17_16, extract_i9): Likewise.
263 (extract_d23): Likewise, and correct mask.
265 2012-02-27 Alan Modra <amodra@gmail.com>
267 * crx-dis.c (print_arg): Mask constant to 32 bits.
268 * crx-opc.c (cst4_map): Use int array.
270 2012-02-27 Alan Modra <amodra@gmail.com>
272 * arc-dis.c (BITS): Don't use shifts to mask off bits.
273 (FIELDD): Sign extend with xor,sub.
275 2012-02-25 Walter Lee <walt@tilera.com>
277 * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS.
278 * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and
279 TILEPRO_OPC_LW_TLS_SN.
281 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
283 * i386-opc.h (HLEPrefixNone): New.
284 (HLEPrefixLock): Likewise.
285 (HLEPrefixAny): Likewise.
286 (HLEPrefixRelease): Likewise.
288 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
290 * i386-dis.c (HLE_Fixup1): New.
291 (HLE_Fixup2): Likewise.
292 (HLE_Fixup3): Likewise.
299 (MOD_C6_REG_7): Likewise.
300 (MOD_C7_REG_7): Likewise.
301 (RM_C6_REG_7): Likewise.
302 (RM_C7_REG_7): Likewise.
303 (XACQUIRE_PREFIX): Likewise.
304 (XRELEASE_PREFIX): Likewise.
305 (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts,
306 cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use
307 Ebh2/Evh2 on xchg. Use Ebh3/Evh3 on mov.
308 (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg,
309 not, or, sbb, sub and xor. Use Ebh3/Evh3 on mov. Use
310 MOD_C6_REG_7 and MOD_C7_REG_7.
311 (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7.
312 (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7. Add xend and
314 (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX.
315 (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b.
317 * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and
319 (cpu_flags): Add CpuHLE and CpuRTM.
320 (opcode_modifiers): Add HLEPrefixOk.
322 * i386-opc.h (CpuHLE): New.
324 (HLEPrefixOk): Likewise.
325 (i386_cpu_flags): Add cpuhle and cpurtm.
326 (i386_opcode_modifier): Add hleprefixok.
328 * i386-opc.tbl: Add HLEPrefixOk=3 to mov. Add HLEPrefixOk to
329 add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or,
330 sbb, sub, xor and xadd. Add HLEPrefixOk=2 to xchg with memory
331 operand. Add xacquire, xrelease, xabort, xbegin, xend and
333 * i386-init.h: Regenerated.
334 * i386-tbl.h: Likewise.
336 2012-01-24 DJ Delorie <dj@redhat.com>
338 * rl78-decode.opc (rl78_decode_opcode): Add NOT1.
339 * rl78-decode.c: Regenerate.
341 2012-01-17 James Murray <jsm@jsm-net.demon.co.uk>
344 * cr16-dis.c (print_arg): Test symtab_size not num_symbols.
346 2012-01-17 Andreas Schwab <schwab@linux-m68k.org>
348 * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx
349 register and move them after pmove with PSR/PCSR register.
351 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
353 * i386-dis.c (mod_table): Add vmfunc.
355 * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS.
356 (cpu_flags): CpuVMFUNC.
358 * i386-opc.h (CpuVMFUNC): New.
359 (i386_cpu_flags): Add cpuvmfunc.
361 * i386-opc.tbl: Add vmfunc.
362 * i386-init.h: Regenerated.
363 * i386-tbl.h: Likewise.
365 For older changes see ChangeLog-2011
371 version-control: never