* dis-buf.c (buffer_read_memory): Give error for reading just
[binutils-gdb.git] / opcodes / ChangeLog
1 2010-03-23 Joseph Myers <joseph@codesourcery.com>
2
3 * dis-buf.c (buffer_read_memory): Give error for reading just
4 before the start of memory.
5
6 2010-03-22 Sebastian Pop <sebastian.pop@amd.com>
7 Quentin Neill <quentin.neill@amd.com>
8
9 * i386-dis.c (OP_LWP_I): Removed.
10 (reg_table): Do not use OP_LWP_I, use Iq.
11 (OP_LWPCB_E): Remove use of names16.
12 (OP_LWP_E): Same.
13 * i386-opc.tbl: Removed 16bit LWP insns. 32bit LWP insns
14 should not set the Vex.length bit.
15 * i386-tbl.h: Regenerated.
16
17 2010-02-25 Edmar Wienskoski <edmar@freescale.com>
18
19 * ppc-dis.c (ppc_opts): Add PPC_OPCODE_E500MC for "e500mc64".
20
21 2010-02-24 Nick Clifton <nickc@redhat.com>
22
23 PR binutils/6773
24 * arm-dis.c (arm_opcodes): Replace <prefix>addsubx with
25 <prefix>asx. Replace <prefix>subaddx with <prefix>sax.
26 (thumb32_opcodes): Likewise.
27
28 2010-02-15 Nick Clifton <nickc@redhat.com>
29
30 * po/vi.po: Updated Vietnamese translation.
31
32 2010-02-12 Doug Evans <dje@sebabeach.org>
33
34 * lm32-opinst.c: Regenerate.
35
36 2010-02-11 Doug Evans <dje@sebabeach.org>
37
38 * cgen-dis.in (print_normal): Delete CGEN_PRINT_NORMAL.
39 (print_address): Delete CGEN_PRINT_ADDRESS.
40 * fr30-dis.c, * frv-dis.c, * ip2k-dis.c, * iq2000-dis.c,
41 * lm32-dis.c, * m32c-dis.c, * m32r-desc.c, * m32r-desc.h,
42 * m32r-dis.c, * mep-dis.c, * mt-dis.c, * openrisc-dis.c,
43 * xc16x-dis.c, * xstormy16-dis.c: Regenerate.
44
45 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c,
46 * frv-desc.c, * frv-desc.h, * frv-opc.c,
47 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c,
48 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c,
49 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opinst.c,
50 * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
51 * m32r-desc.c, * m32r-desc.h, * m32r-opc.c, * m32r-opinst.c,
52 * mep-desc.c, * mep-desc.h, * mep-opc.c,
53 * mt-desc.c, * mt-desc.h, * mt-opc.c,
54 * openrisc-desc.c, * openrisc-desc.h, * openrisc-opc.c,
55 * xc16x-desc.c, * xc16x-desc.h, * xc16x-opc.c,
56 * xstormy16-desc.c, * xstormy16-desc.h, * xstormy16-opc.c: Regenerate.
57
58 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
59
60 * i386-dis.c: Update copyright.
61 * i386-gen.c: Likewise.
62 * i386-opc.h: Likewise.
63 * i386-opc.tbl: Likewise.
64
65 2010-02-10 Quentin Neill <quentin.neill@amd.com>
66 Sebastian Pop <sebastian.pop@amd.com>
67
68 * i386-dis.c (OP_EX_VexImmW): Reintroduced
69 function to handle 5th imm8 operand.
70 (PREFIX_VEX_3A48): Added.
71 (PREFIX_VEX_3A49): Added.
72 (VEX_W_3A48_P_2): Added.
73 (VEX_W_3A49_P_2): Added.
74 (prefix table): Added entries for PREFIX_VEX_3A48
75 and PREFIX_VEX_3A49.
76 (vex table): Added entries for VEX_W_3A48_P_2 and
77 and VEX_W_3A49_P_2.
78 * i386-gen.c (operand_type_init): Added OPERAND_TYPE_VEC_IMM4
79 for Vec_Imm4 operands.
80 * i386-opc.h (enum): Added Vec_Imm4.
81 (i386_operand_type): Added vec_imm4.
82 * i386-opc.tbl: Add entries for vpermilp[ds].
83 * i386-init.h: Regenerated.
84 * i386-tbl.h: Regenerated.
85
86 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
87
88 * ppc-dis.c (ppc_opts): Add "pwr4", "pwr5", "pwr5x", "pwr6"
89 and "pwr7". Move "a2" into alphabetical order.
90
91 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
92
93 * ppc-dis.c (ppc_opts): Add titan entry.
94 * ppc-opc.c (TITAN, MULHW): Define.
95 (powerpc_opcodes): Support AppliedMicro Titan core (APM83xxx).
96
97 2010-02-03 Quentin Neill <quentin.neill@amd.com>
98
99 * i386-gen.c (cpu_flag_init): Rename CPU_AMDFAM15_FLAGS
100 to CPU_BDVER1_FLAGS
101 * i386-init.h: Regenerated.
102
103 2010-02-03 Anthony Green <green@moxielogic.com>
104
105 * moxie-opc.c (moxie_form1_opc_info): Move "nop" from 0x00 to
106 0x0f, and make 0x00 an illegal instruction.
107
108 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
109
110 * opcodes/arm-dis.c (struct arm_private_data): New.
111 (print_insn_coprocessor, print_insn_arm): Update to use struct
112 arm_private_data.
113 (is_mapping_symbol, get_map_sym_type): New functions.
114 (get_sym_code_type): Check the symbol's section. Do not check
115 mapping symbols.
116 (print_insn): Default to disassembling ARM mode code. Check
117 for mapping symbols separately from other symbols. Use
118 struct arm_private_data.
119
120 2010-01-28 H.J. Lu <hongjiu.lu@intel.com>
121
122 * i386-dis.c (EXVexWdqScalar): New.
123 (vex_scalar_w_dq_mode): Likewise.
124 (prefix_table): Update entries for PREFIX_VEX_3899,
125 PREFIX_VEX_389B, PREFIX_VEX_389D, PREFIX_VEX_389F,
126 PREFIX_VEX_38A9, PREFIX_VEX_38AB, PREFIX_VEX_38AD,
127 PREFIX_VEX_38AF, PREFIX_VEX_38B9, PREFIX_VEX_38BB,
128 PREFIX_VEX_38BD and PREFIX_VEX_38BF.
129 (intel_operand_size): Handle vex_scalar_w_dq_mode.
130 (OP_EX): Likewise.
131
132 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
133
134 * i386-dis.c (XMScalar): New.
135 (EXdScalar): Likewise.
136 (EXqScalar): Likewise.
137 (EXqScalarS): Likewise.
138 (VexScalar): Likewise.
139 (EXdVexScalarS): Likewise.
140 (EXqVexScalarS): Likewise.
141 (XMVexScalar): Likewise.
142 (scalar_mode): Likewise.
143 (d_scalar_mode): Likewise.
144 (d_scalar_swap_mode): Likewise.
145 (q_scalar_mode): Likewise.
146 (q_scalar_swap_mode): Likewise.
147 (vex_scalar_mode): Likewise.
148 (vex_len_table): Duplcate entries for VEX_LEN_10_P_1,
149 VEX_LEN_10_P_3, VEX_LEN_11_P_1, VEX_LEN_11_P_3, VEX_LEN_2A_P_1,
150 VEX_LEN_2A_P_3, VEX_LEN_2C_P_3, VEX_LEN_2D_P_1, VEX_LEN_2E_P_0,
151 VEX_LEN_2E_P_2, VEX_LEN_2F_P_2, VEX_LEN_51_P_1, VEX_LEN_51_P_3,
152 VEX_LEN_52_P_1, VEX_LEN_53_P_1, VEX_LEN_58_P_1, VEX_LEN_58_P_3,
153 VEX_LEN_59_P_1, VEX_LEN_5A_P_1, VEX_LEN_5A_P_3, VEX_LEN_5C_P_1,
154 VEX_LEN_5C_P_3, VEX_LEN_5D_P_1, VEX_LEN_5D_P_3, VEX_LEN_5E_P_1,
155 VEX_LEN_5E_P_3, VEX_LEN_5F_P_1, VEX_LEN_5F_P_3, VEX_LEN_6E_P_2,
156 VEX_LEN_7E_P_1, VEX_LEN_7E_P_2, VEX_LEN_D6_P_2, VEX_LEN_C2_P_1,
157 VEX_LEN_C2_P_3, VEX_LEN_3A0A_P_2 and VEX_LEN_3A0B_P_2.
158 (vex_w_table): Update entries for VEX_W_10_P_1, VEX_W_10_P_3,
159 VEX_W_11_P_1, VEX_W_11_P_3, VEX_W_2E_P_0, VEX_W_2E_P_2,
160 VEX_W_2F_P_0, VEX_W_2F_P_2, VEX_W_51_P_1, VEX_W_51_P_3,
161 VEX_W_52_P_1, VEX_W_53_P_1, VEX_W_58_P_1, VEX_W_58_P_3,
162 VEX_W_59_P_1, VEX_W_59_P_3, VEX_W_5A_P_1, VEX_W_5A_P_3,
163 VEX_W_5C_P_1, VEX_W_5C_P_3, VEX_W_5D_P_1, VEX_W_5D_P_3,
164 VEX_W_5E_P_1, VEX_W_5E_P_3, VEX_W_5F_P_1, VEX_W_5F_P_3,
165 VEX_W_7E_P_1, VEX_W_D6_P_2 VEX_W_C2_P_1, VEX_W_C2_P_3,
166 VEX_W_3A0A_P_2 and VEX_W_3A0B_P_2.
167 (intel_operand_size): Handle d_scalar_mode, d_scalar_swap_mode,
168 q_scalar_mode, q_scalar_swap_mode.
169 (OP_XMM): Handle scalar_mode.
170 (OP_EX): Handle d_scalar_mode, d_scalar_swap_mode, q_scalar_mode
171 and q_scalar_swap_mode.
172 (OP_VEX): Handle vex_scalar_mode.
173
174 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
175
176 * i386-dis.c (prefix_table): Remove trailing { Bad_Opcode }.
177
178 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
179
180 * i386-dis.c (vex_len_table): Remove trailing { Bad_Opcode }.
181
182 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
183
184 * i386-dis.c (prefix_table): Remove trailing { Bad_Opcode }.
185
186 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
187
188 * i386-dis.c (Bad_Opcode): New.
189 (bad_opcode): Likewise.
190 (dis386): Replace { "(bad)", { XX } } with { Bad_Opcode }.
191 (dis386_twobyte): Likewise.
192 (reg_table): Likewise.
193 (prefix_table): Likewise.
194 (x86_64_table): Likewise.
195 (vex_len_table): Likewise.
196 (vex_w_table): Likewise.
197 (mod_table): Likewise.
198 (rm_table): Likewise.
199 (float_reg): Likewise.
200 (reg_table): Remove trailing "(bad)" entries.
201 (prefix_table): Likewise.
202 (x86_64_table): Likewise.
203 (vex_len_table): Likewise.
204 (vex_w_table): Likewise.
205 (mod_table): Likewise.
206 (rm_table): Likewise.
207 (get_valid_dis386): Handle bytemode 0.
208
209 2010-01-23 H.J. Lu <hongjiu.lu@intel.com>
210
211 * i386-opc.h (VEXScalar): New.
212
213 * i386-opc.tbl: Replace "Vex" with "Vex=3" on AVX scalar
214 instructions.
215 * i386-tbl.h: Regenerated.
216
217 2010-01-21 H.J. Lu <hongjiu.lu@intel.com>
218
219 * i386-dis.c (mod_table): Use FXSAVE on xsave and xrstor.
220
221 * i386-opc.tbl: Add xsave64 and xrstor64.
222 * i386-tbl.h: Regenerated.
223
224 2010-01-20 Nick Clifton <nickc@redhat.com>
225
226 PR 11170
227 * arm-dis.c (print_arm_address): Do not ignore negative bit in PC
228 based post-indexed addressing.
229
230 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
231
232 * i386-opc.tbl: Support all the possible aliases for VPCOM* insns.
233 * i386-tbl.h: Regenerated.
234
235 2010-01-14 H.J. Lu <hongjiu.lu@intel.com>
236
237 * i386-opc.h (VexVVVV): Replace VEX.DNS with VEX.NDS in
238 comments.
239
240 2010-01-14 H.J. Lu <hongjiu.lu@intel.com>
241
242 * i386-dis.c (names_mm): New.
243 (intel_names_mm): Likewise.
244 (att_names_mm): Likewise.
245 (names_xmm): Likewise.
246 (intel_names_xmm): Likewise.
247 (att_names_xmm): Likewise.
248 (names_ymm): Likewise.
249 (intel_names_ymm): Likewise.
250 (att_names_ymm): Likewise.
251 (print_insn): Set names_mm, names_xmm and names_ymm.
252 (OP_MMX): Use names_mm, names_xmm and names_ymm.
253 (OP_XMM): Likewise.
254 (OP_EM): Likewise.
255 (OP_EMC): Likewise.
256 (OP_MXC): Likewise.
257 (OP_EX): Likewise.
258 (XMM_Fixup): Likewise.
259 (OP_VEX): Likewise.
260 (OP_EX_VexReg): Likewise.
261 (OP_Vex_2src): Likewise.
262 (OP_Vex_2src_1): Likewise.
263 (OP_Vex_2src_2): Likewise.
264 (OP_REG_VexI4): Likewise.
265
266 2010-01-13 H.J. Lu <hongjiu.lu@intel.com>
267
268 * i386-dis.c (print_insn): Update comments.
269
270 2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
271
272 * i386-dis.c (rex_original): Removed.
273 (ckprefix): Remove rex_original.
274 (print_insn): Update comments.
275
276 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
277
278 * Makefile.in: Regenerate.
279 * configure: Regenerate.
280
281 2010-01-07 Doug Evans <dje@sebabeach.org>
282
283 * cgen-ibld.in (insert_normal, extract_normal): Minor cleanup.
284 * fr30-ibld.c, * frv-ibld.c, * ip2k-ibld.c, * iq2000-ibld.c,
285 * lm32-ibld.c, * m32c-ibld.c, * m32r-ibld.c, * mep-ibld.c,
286 * mt-ibld.c, * openrisc-ibld.c, * xc16x-ibld.c,
287 * xstormy16-ibld.c: Regenerate.
288
289 2010-01-06 Quentin Neill <quentin.neill@amd.com>
290
291 * i386-gen.c (cpu_flag_init): Add new CPU_AMDFAM15_FLAGS.
292 * i386-init.h: Regenerated.
293
294 2010-01-06 Daniel Gutson <dgutson@codesourcery.com>
295
296 * arm-dis.c (print_insn): Fixed search for next symbol and data
297 dumping condition, and the initial mapping symbol state.
298
299 2010-01-05 Doug Evans <dje@sebabeach.org>
300
301 * cgen-ibld.in: #include "cgen/basic-modes.h".
302 * fr30-ibld.c, * frv-ibld.c, * ip2k-ibld.c, * iq2000-ibld.c,
303 * lm32-ibld.c, * m32c-ibld.c, * m32r-ibld.c, * mep-ibld.c,
304 * mt-ibld.c, * openrisc-ibld.c, * xc16x-ibld.c,
305 * xstormy16-ibld.c: Regenerate.
306
307 2010-01-04 Nick Clifton <nickc@redhat.com>
308
309 PR 11123
310 * arm-dis.c (print_insn_coprocessor): Initialise value.
311
312 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
313
314 * ppc-dis.c (ppc_opts): Add entry for "e500mc64".
315
316 2010-01-02 Doug Evans <dje@sebabeach.org>
317
318 * cgen-asm.in: Update copyright year.
319 * cgen-dis.in: Update copyright year.
320 * cgen-ibld.in: Update copyright year.
321 * fr30-asm.c, * fr30-desc.c, * fr30-desc.h, * fr30-dis.c,
322 * fr30-ibld.c, * fr30-opc.c, * fr30-opc.h, * frv-asm.c, * frv-desc.c,
323 * frv-desc.h, * frv-dis.c, * frv-ibld.c, * frv-opc.c, * frv-opc.h,
324 * ip2k-asm.c, * ip2k-desc.c, * ip2k-desc.h, * ip2k-dis.c,
325 * ip2k-ibld.c, * ip2k-opc.c, * ip2k-opc.h, * iq2000-asm.c,
326 * iq2000-desc.c, * iq2000-desc.h, * iq2000-dis.c, * iq2000-ibld.c,
327 * iq2000-opc.c, * iq2000-opc.h, * lm32-asm.c, * lm32-desc.c,
328 * lm32-desc.h, * lm32-dis.c, * lm32-ibld.c, * lm32-opc.c, * lm32-opc.h,
329 * lm32-opinst.c, * m32c-asm.c, * m32c-desc.c, * m32c-desc.h,
330 * m32c-dis.c, * m32c-ibld.c, * m32c-opc.c, * m32c-opc.h, * m32r-asm.c,
331 * m32r-desc.c, * m32r-desc.h, * m32r-dis.c, * m32r-ibld.c,
332 * m32r-opc.c, * m32r-opc.h, * m32r-opinst.c, * mep-asm.c, * mep-desc.c,
333 * mep-desc.h, * mep-dis.c, * mep-ibld.c, * mep-opc.c, * mep-opc.h,
334 * mt-asm.c, * mt-desc.c, * mt-desc.h, * mt-dis.c, * mt-ibld.c,
335 * mt-opc.c, * mt-opc.h, * openrisc-asm.c, * openrisc-desc.c,
336 * openrisc-desc.h, * openrisc-dis.c, * openrisc-ibld.c,
337 * openrisc-opc.c, * openrisc-opc.h, * xc16x-asm.c, * xc16x-desc.c,
338 * xc16x-desc.h, * xc16x-dis.c, * xc16x-ibld.c, * xc16x-opc.c,
339 * xc16x-opc.h, * xstormy16-asm.c, * xstormy16-desc.c,
340 * xstormy16-desc.h, * xstormy16-dis.c, * xstormy16-ibld.c,
341 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
342
343 For older changes see ChangeLog-2009
344 \f
345 Local Variables:
346 mode: change-log
347 left-margin: 8
348 fill-column: 74
349 version-control: never
350 End: