* ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi.
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
CommitLineData
a4ebc835
AM
12012-05-17 James Lemke <jwlemke@codesourcery.com>
2
3 * ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi.
4
98c76446
AM
52012-05-17 James Lemke <jwlemke@codesourcery.com>
6
7 * ppc-opc.c (extract_sprg): Use ALLOW8_SPRG to include VLE.
8
df7b86aa
NC
92012-05-17 Daniel Richard G. <skunk@iskunk.org>
10 Nick Clifton <nickc@redhat.com>
11
12 PR 14072
13 * configure.in: Add check that sysdep.h has been included before
14 any system header files.
15 * configure: Regenerate.
16 * config.in: Regenerate.
17 * sysdep.h: Generate an error if included before config.h.
18 * alpha-opc.c: Include sysdep.h before any other header file.
19 * alpha-dis.c: Likewise.
20 * avr-dis.c: Likewise.
21 * cgen-opc.c: Likewise.
22 * cr16-dis.c: Likewise.
23 * cris-dis.c: Likewise.
24 * crx-dis.c: Likewise.
25 * d10v-dis.c: Likewise.
26 * d10v-opc.c: Likewise.
27 * d30v-dis.c: Likewise.
28 * d30v-opc.c: Likewise.
29 * h8500-dis.c: Likewise.
30 * i370-dis.c: Likewise.
31 * i370-opc.c: Likewise.
32 * m10200-dis.c: Likewise.
33 * m10300-dis.c: Likewise.
34 * micromips-opc.c: Likewise.
35 * mips-opc.c: Likewise.
36 * mips61-opc.c: Likewise.
37 * moxie-dis.c: Likewise.
38 * or32-opc.c: Likewise.
39 * pj-dis.c: Likewise.
40 * ppc-dis.c: Likewise.
41 * ppc-opc.c: Likewise.
42 * s390-dis.c: Likewise.
43 * sh-dis.c: Likewise.
44 * sh64-dis.c: Likewise.
45 * sparc-dis.c: Likewise.
46 * sparc-opc.c: Likewise.
47 * spu-dis.c: Likewise.
48 * tic30-dis.c: Likewise.
49 * tic54x-dis.c: Likewise.
50 * tic80-dis.c: Likewise.
51 * tic80-opc.c: Likewise.
52 * tilegx-dis.c: Likewise.
53 * tilepro-dis.c: Likewise.
54 * v850-dis.c: Likewise.
55 * v850-opc.c: Likewise.
56 * vax-dis.c: Likewise.
57 * w65-dis.c: Likewise.
58 * xgate-dis.c: Likewise.
59 * xtensa-dis.c: Likewise.
60 * rl78-decode.opc: Likewise.
61 * rl78-decode.c: Regenerate.
62 * rx-decode.opc: Likewise.
63 * rx-decode.c: Regenerate.
64
e1dad58d
AM
652012-05-17 Alan Modra <amodra@gmail.com>
66
67 * ppc_dis.c: Don't include elf/ppc.h.
68
101af531
NC
692012-05-16 Meador Inge <meadori@codesourcery.com>
70
71 * arm-dis.c (arm_opcodes): Don't disassemble STMFD/LDMIA sp!, {reg}
72 to PUSH/POP {reg}.
73
6927f982
NC
742012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
75 Stephane Carrez <stcarrez@nerim.fr>
76
77 * configure.in: Add S12X and XGATE co-processor support to m68hc11
78 target.
79 * disassemble.c: Likewise.
80 * configure: Regenerate.
81 * m68hc11-dis.c: Make objdump output more consistent, use hex
82 instead of decimal and use 0x prefix for hex.
83 * m68hc11-opc.c: Add S12X and XGATE opcodes.
84
b9c361e0
JL
852012-05-14 James Lemke <jwlemke@codesourcery.com>
86
87 * ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle.
88 (PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines.
89 (vle_opcd_indices): New array.
90 (lookup_vle): New function.
91 (disassemble_init_powerpc): Revise for second (VLE) opcode table.
92 (print_insn_powerpc): Likewise.
93 * ppc-opc.c: Likewise.
94
952012-05-14 Catherine Moore <clm@codesourcery.com>
96 Maciej W. Rozycki <macro@codesourcery.com>
97 Rhonda Wittels <rhonda@codesourcery.com>
98 Nathan Froyd <froydnj@codesourcery.com>
99
100 * ppc-opc.c (insert_arx, extract_arx): New functions.
101 (insert_ary, extract_ary): New functions.
102 (insert_li20, extract_li20): New functions.
103 (insert_rx, extract_rx): New functions.
104 (insert_ry, extract_ry): New functions.
105 (insert_sci8, extract_sci8): New functions.
106 (insert_sci8n, extract_sci8n): New functions.
107 (insert_sd4h, extract_sd4h): New functions.
108 (insert_sd4w, extract_sd4w): New functions.
109 (insert_vlesi, extract_vlesi): New functions.
110 (insert_vlensi, extract_vlensi): New functions.
111 (insert_vleui, extract_vleui): New functions.
112 (insert_vleil, extract_vleil): New functions.
113 (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT.
114 (BI16, BI32, BO32, B8): New.
115 (B15, B24, CRD32, CRS): New.
116 (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG.
117 (DB, IMM20, RD, Rx, ARX, RY, RZ): New.
118 (ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New.
119 (SH6_MASK): Use PPC_OPSHIFT_INV.
120 (SI8, UI5, OIMM5, UI7, BO16): New.
121 (VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New.
122 (XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV.
123 (ALLOW8_SPRG): New.
124 (insert_sprg, extract_sprg): Check ALLOW8_SPRG.
125 (OPVUP, OPVUP_MASK OPVUP): New
126 (BD8, BD8_MASK, BD8IO, BD8IO_MASK): New.
127 (EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New.
128 (BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New.
129 (BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New.
130 (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New.
131 (IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New.
132 (SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New.
133 (SE_IM5, SE_IM5_MASK): New.
134 (SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New.
135 (EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New.
136 (BO32DNZ, BO32DZ): New.
137 (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE.
138 (PPCVLE): New.
139 (powerpc_opcodes): Add new VLE instructions. Update existing
140 instruction to include PPCVLE if supported.
141 * ppc-dis.c (ppc_opts): Add vle entry.
142 (get_powerpc_dialect): New function.
143 (powerpc_init_dialect): VLE support.
144 (print_insn_big_powerpc): Call get_powerpc_dialect.
145 (print_insn_little_powerpc): Likewise.
146 (operand_value_powerpc): Handle negative shift counts.
147 (print_insn_powerpc): Handle 2-byte instruction lengths.
148
208a4923
NC
1492012-05-11 Daniel Richard G. <skunk@iskunk.org>
150
151 PR binutils/14028
152 * configure.in: Invoke ACX_HEADER_STRING.
153 * configure: Regenerate.
154 * config.in: Regenerate.
155 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
156 string.h and strings.h.
157
6750a3a7
NC
1582012-05-11 Nick Clifton <nickc@redhat.com>
159
160 PR binutils/14006
161 * arm-dis.c (print_insn): Fix detection of instruction mode in
162 files containing multiple executable sections.
163
f6c1a2d5
NC
1642012-05-03 Sean Keys <skeys@ipdatasys.com>
165
166 * Makefile.in, configure: regenerate
167 * disassemble.c (disassembler): Recognize ARCH_XGATE.
168 * xgate-dis.c (read_memory, print_insn, print_insn_xgate):
169 New functions.
170 * configure.in: Recognize xgate.
171 * xgate-dis.c, xgate-opc.c: New files for support of xgate
172 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
173 and opcode generation for xgate.
174
78e98aab
DD
1752012-04-30 DJ Delorie <dj@redhat.com>
176
177 * rx-decode.opc (MOV): Do not sign-extend immediates which are
178 already the maximum bit size.
179 * rx-decode.c: Regenerate.
180
ec668d69
DM
1812012-04-27 David S. Miller <davem@davemloft.net>
182
2e52845b
DM
183 * sparc-dis.c (v9a_asr_reg_names): Add 'cfr'.
184 * sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr.
185
58004e23
DM
186 * sparc-opc.c (sparc_opcodes): Add 'wr X, %pause' and 'pause'.
187 * sparc-dis.c (v9a_asr_reg_names): Add 'pause'.
188
698544e1
DM
189 * sparc-opc.c (CBCOND): New define.
190 (CBCOND_XCC): Likewise.
191 (cbcond): New helper macro.
192 (sparc_opcodes): Add compare-and-branch instructions.
193
6cda1326
DM
194 * sparc-dis.c (print_insn_sparc): Handle ')'.
195 * sparc-opc.c (sparc_opcodes): Add crypto instructions.
196
ec668d69
DM
197 * sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values
198 into new struct sparc_opcode 'hwcaps' field instead of 'flags'.
199
2615994e
DM
2002012-04-12 David S. Miller <davem@davemloft.net>
201
202 * sparc-dis.c (X_DISP10): Define.
203 (print_insn_sparc): Handle '='.
204
5de10af0
MF
2052012-04-01 Mike Frysinger <vapier@gentoo.org>
206
207 * bfin-dis.c (fmtconst): Replace decimal handling with a single
208 sprintf call and the '*' field width.
209
55a36193
MK
2102012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
211
212 * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP.
213
d6688282
AM
2142012-03-16 Alan Modra <amodra@gmail.com>
215
216 * ppc-dis.c (PPC_OPC_SEGS, PPC_OP_TO_SEG): Delete.
217 (powerpc_opcd_indices): Bump array size.
218 (disassemble_init_powerpc): Set powerpc_opcd_indices entries
219 corresponding to unused opcodes to following entry.
220 (lookup_powerpc): New function, extracted and optimised from..
221 (print_insn_powerpc): ..here.
222
b240011a
AM
2232012-03-15 Alan Modra <amodra@gmail.com>
224 James Lemke <jwlemke@codesourcery.com>
225
226 * disassemble.c (disassemble_init_for_target): Handle ppc init.
227 * ppc-dis.c (private): New var.
228 (powerpc_init_dialect): Don't return calloc failure, instead use
229 private.
230 (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define.
231 (powerpc_opcd_indices): New array.
232 (disassemble_init_powerpc): New function.
233 (print_insn_big_powerpc): Don't init dialect here.
234 (print_insn_little_powerpc): Likewise.
235 (print_insn_powerpc): Start search using powerpc_opcd_indices.
236
aea77599
AM
2372012-03-10 Edmar Wienskoski <edmar@freescale.com>
238
239 * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500".
240 * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New.
241 (PPCVEC2, PPCTMR, E6500): New short names.
242 (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt,
243 mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx,
244 lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl,
245 lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl,
246 lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC
247 optional operands on sync instruction for E6500 target.
248
5333187a
AK
2492012-03-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
250
251 * s390-opc.txt: Set instruction type of pku to SS_L2RDRD.
252
a597d2d3
AM
2532012-02-27 Alan Modra <amodra@gmail.com>
254
255 * mt-dis.c: Regenerate.
256
3f26eb3a
AM
2572012-02-27 Alan Modra <amodra@gmail.com>
258
259 * v850-opc.c (extract_v8): Rearrange to make it obvious this
260 is the inverse of corresponding insert function.
261 (extract_d22, extract_u9, extract_r4): Likewise.
262 (extract_d9): Correct sign extension.
263 (extract_d16_15): Don't assume "long" is 32 bits, and don't
264 rely on implementation defined behaviour for shift right of
265 signed types.
266 (extract_d16_16, extract_d17_16, extract_i9): Likewise.
267 (extract_d23): Likewise, and correct mask.
268
1f42f8b3
AM
2692012-02-27 Alan Modra <amodra@gmail.com>
270
271 * crx-dis.c (print_arg): Mask constant to 32 bits.
272 * crx-opc.c (cst4_map): Use int array.
273
cdb06235
AM
2742012-02-27 Alan Modra <amodra@gmail.com>
275
276 * arc-dis.c (BITS): Don't use shifts to mask off bits.
277 (FIELDD): Sign extend with xor,sub.
278
6f7be959
WL
2792012-02-25 Walter Lee <walt@tilera.com>
280
281 * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS.
282 * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and
283 TILEPRO_OPC_LW_TLS_SN.
284
82c2def5
L
2852012-02-21 H.J. Lu <hongjiu.lu@intel.com>
286
287 * i386-opc.h (HLEPrefixNone): New.
288 (HLEPrefixLock): Likewise.
289 (HLEPrefixAny): Likewise.
290 (HLEPrefixRelease): Likewise.
291
42164a71
L
2922012-02-08 H.J. Lu <hongjiu.lu@intel.com>
293
294 * i386-dis.c (HLE_Fixup1): New.
295 (HLE_Fixup2): Likewise.
296 (HLE_Fixup3): Likewise.
297 (Ebh1): Likewise.
298 (Evh1): Likewise.
299 (Ebh2): Likewise.
300 (Evh2): Likewise.
301 (Ebh3): Likewise.
302 (Evh3): Likewise.
303 (MOD_C6_REG_7): Likewise.
304 (MOD_C7_REG_7): Likewise.
305 (RM_C6_REG_7): Likewise.
306 (RM_C7_REG_7): Likewise.
307 (XACQUIRE_PREFIX): Likewise.
308 (XRELEASE_PREFIX): Likewise.
309 (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts,
310 cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use
311 Ebh2/Evh2 on xchg. Use Ebh3/Evh3 on mov.
312 (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg,
313 not, or, sbb, sub and xor. Use Ebh3/Evh3 on mov. Use
314 MOD_C6_REG_7 and MOD_C7_REG_7.
315 (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7.
316 (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7. Add xend and
317 xtest.
318 (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX.
319 (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b.
320
321 * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and
322 CPU_RTM_FLAGS.
323 (cpu_flags): Add CpuHLE and CpuRTM.
324 (opcode_modifiers): Add HLEPrefixOk.
325
326 * i386-opc.h (CpuHLE): New.
327 (CpuRTM): Likewise.
328 (HLEPrefixOk): Likewise.
329 (i386_cpu_flags): Add cpuhle and cpurtm.
330 (i386_opcode_modifier): Add hleprefixok.
331
332 * i386-opc.tbl: Add HLEPrefixOk=3 to mov. Add HLEPrefixOk to
333 add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or,
334 sbb, sub, xor and xadd. Add HLEPrefixOk=2 to xchg with memory
335 operand. Add xacquire, xrelease, xabort, xbegin, xend and
336 xtest.
337 * i386-init.h: Regenerated.
338 * i386-tbl.h: Likewise.
339
21abe33a
DD
3402012-01-24 DJ Delorie <dj@redhat.com>
341
342 * rl78-decode.opc (rl78_decode_opcode): Add NOT1.
343 * rl78-decode.c: Regenerate.
344
e20cc039
AM
3452012-01-17 James Murray <jsm@jsm-net.demon.co.uk>
346
347 PR binutils/10173
348 * cr16-dis.c (print_arg): Test symtab_size not num_symbols.
349
e143d25c
AS
3502012-01-17 Andreas Schwab <schwab@linux-m68k.org>
351
352 * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx
353 register and move them after pmove with PSR/PCSR register.
354
8729a6f6
L
3552012-01-13 H.J. Lu <hongjiu.lu@intel.com>
356
357 * i386-dis.c (mod_table): Add vmfunc.
358
359 * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS.
360 (cpu_flags): CpuVMFUNC.
361
362 * i386-opc.h (CpuVMFUNC): New.
363 (i386_cpu_flags): Add cpuvmfunc.
364
365 * i386-opc.tbl: Add vmfunc.
366 * i386-init.h: Regenerated.
367 * i386-tbl.h: Likewise.
5011093d 368
23e1d329 369For older changes see ChangeLog-2011
252b5132
RH
370\f
371Local Variables:
2f6d2f85
NC
372mode: change-log
373left-margin: 8
374fill-column: 74
252b5132
RH
375version-control: never
376End:
This page took 0.648015 seconds and 4 git commands to generate.