gas/testsuite:
[binutils-gdb.git] / opcodes / ChangeLog
1 2009-03-30 Joseph Myers <joseph@codesourcery.com>
2
3 * arm-dis.c (print_insn): Also check section matches in backwards
4 search for mapping symbol.
5
6 2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
7
8 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
9
10 2009-03-18 Alan Modra <amodra@bigpond.net.au>
11
12 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
13 * Makefile.am: Run "make dep-am".
14 * Makefile.in: Regenerate.
15 * openrisc-opc.c: Regenerate.
16
17 2009-03-10 Nick Clifton <nickc@redhat.com>
18
19 * po/id.po: Updated Indonesian translation.
20
21 2009-03-10 Alan Modra <amodra@bigpond.net.au>
22
23 * ppc-dis.c: Include "opintl.h".
24 (struct ppc_mopt, ppc_opts): New.
25 (ppc_parse_cpu): New function.
26 (powerpc_init_dialect): Use it.
27 (print_ppc_disassembler_options): Dump options from ppc_opts.
28 Internationalize message.
29
30 2009-03-06 Nick Clifton <nickc@redhat.com>
31
32 * po/es.po: Updated Spanish translation.
33
34 2009-03-04 Alan Modra <amodra@bigpond.net.au>
35
36 PR 6768
37 * configure.in: Test for ld --as-needed support. Link shared
38 libopcodes against libm.
39 * configure: Regenerate.
40
41 2009-03-03 Peter Bergner <bergner@vnet.ibm.com>
42
43 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
44 instructions from newer processors are listed before older ones.
45
46 2009-03-03 Alan Modra <amodra@bigpond.net.au>
47
48 * Makefile.am: Run "make dep-am".
49 (HFILES): Move lm32-desc.h and lm32-opc.h from..
50 (CFILES): ..here.
51 * Makefile.in: Regenerate.
52
53 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
54
55 * score7-dis.c: New file.
56 * Makefile.am: Add dependencies for score7-dis.c.
57 * Makefile.in: Regenerate.
58 * configure.in: Add score7-dis to score files.
59 * configure: Regenerate.
60 * score-dis.c: Add support for score7 architecture.
61 * score-opc.h: Likewise.
62
63 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
64
65 * configure: Regenerate.
66
67 2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
68
69 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
70
71 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
72
73 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
74 the power7 and the isel instructions.
75 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
76 (insert_dm, extract_dm): Likewise.
77 (XB6): Update comment to include XX2 form.
78 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
79 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
80 (RemoveXX3DM): Delete.
81 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
82 "mftgpr">: Deprecate for POWER7.
83 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
84 "frsqrte.">: Deprecate the three operand form and enable the two
85 operand form for POWER7 and later.
86 <"wait">: Extend to accept optional parameter. Enable for POWER7.
87 <"waitsrv", "waitimpl">: Add extended opcodes.
88 <"ldbrx", "stdbrx">: Enable for POWER7.
89 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
90 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
91 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
92 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
93 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
94 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
95 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
96 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
97 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
98 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
99 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
100 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
101 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
102 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
103 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
104 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
105 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
106 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
107 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
108 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
109 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
110 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
111 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
112 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
113 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
114 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
115 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
116 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
117 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
118 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
119 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
120 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
121 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
122 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
123 "xxspltw", "xxswapd">: Add VSX opcodes.
124
125 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
126
127 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
128 (operand_types): Remove Vex_Imm4.
129
130 * i386-opc.h (Vex_Imm4): Removed.
131 (OTMax): Updated.
132 (i386_operand_type): Remove vex_imm4.
133
134 * i386-opc.tbl: Remove Vex_Imm4 comments.
135 * i386-init.h: Regenerated.
136 * i386-tbl.h: Likewise.
137
138 2009-02-23 Richard Earnshaw <rearnsha@arm.com>
139
140 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
141 vq{r}shr{u}n.s64 insnstructions.
142
143 2009-02-19 Peter Bergner <bergner@vnet.ibm.com>
144
145 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
146 operand to be a float point register (FRT/FRS).
147
148 2009-02-18 Adam Nemet <anemet@caviumnetworks.com>
149
150 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
151 dmfc2 and dmtc2 before the architecture-level variants.
152
153 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
154
155 * fr30-opc.c: Regenerate.
156 * frv-opc.c: Regenerate.
157 * ip2k-opc.c: Regenerate.
158 * iq2000-opc.c: Regenerate.
159 * lm32-opc.c: Regenerate.
160 * m32c-opc.c: Regenerate.
161 * m32r-opc.c: Regenerate.
162 * mep-opc.c: Regenerate.
163 * mt-opc.c: Regenerate.
164 * xc16x-opc.c: Regenerate.
165 * xstormy16-opc.c: Regenerate.
166 * tic54x-dis.c (print_instruction): Avoid compiler warning on
167 sprintf call.
168
169 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
170
171 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
172
173 2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
174
175 * ppc-opc.c: Update copyright year.
176 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
177 ordering for POWER4 and later and use the correct Server ordering.
178
179 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
180
181 AVX Programming Reference (January, 2009)
182 * i386-dis.c (PREFIX_VEX_3A44): New.
183 (VEX_LEN_3A44_P_2): Likewise.
184 (PREFIX_VEX_3A48): Updated.
185 (VEX_LEN_3A4C_P_2): Likewise.
186 (prefix_table): Add PREFIX_VEX_3A44.
187 (vex_table): Likewise.
188 (vex_len_table): Add VEX_LEN_3A44_P_2.
189
190 * i386-opc.tbl: Add PCLMUL + AVX instructions.
191 * i386-tbl.h: Regenerated.
192
193 2009-02-03 Sandip Matte <sandip@rmicorp.com>
194
195 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
196 (mips_arch_choices): Add XLR entry.
197 * mips-opc.c (XLR): Define.
198 (mips_builtin_opcodes): Add XLR instructions.
199
200 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
201
202 * Makefile.am: Add install-pdf target.
203 * po/Make-in: Add install-pdf target.
204 * Makefile.in: Regenerate.
205
206 2009-02-02 DJ Delorie <dj@redhat.com>
207
208 * mep-asm.c: Regenerate.
209 * mep-desc.c: Regenerate.
210 * mep-desc.h: Regenerate.
211 * mep-dis.c: Regenerate.
212 * mep-ibld.c: Regenerate.
213 * mep-opc.c: Regenerate.
214 * mep-opc.h: Regenerate.
215
216 2009-01-29 Mark Mitchell <mark@codesourcery.com>
217
218 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
219 qsub, and qdsub.
220
221 2009-01-28 Chao-ying Fu <fu@mips.com>
222
223 * mips-opc.c (suxc1): Add the flag of FP_D.
224
225 2009-01-20 Alan Modra <amodra@bigpond.net.au>
226
227 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
228 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
229 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
230 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
231 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
232 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
233 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
234 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
235
236 2009-01-16 Alan Modra <amodra@bigpond.net.au>
237
238 * configure.in (commonbfdlib): Delete.
239 (SHARED_LIBADD): Add pic libiberty if such is available.
240 * configure: Regenerate.
241 * po/POTFILES.in: Regenerate.
242
243 2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
244
245 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
246 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
247 operand form and enable the four operand form for POWER6 and later.
248 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
249 three operand form for POWER6 and later.
250
251 2009-01-14 Mike Frysinger <vapier@gentoo.org>
252
253 * bfin-dis.c (OUTS): Use "%s" as format string.
254
255 2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
256
257 * i386-gen.c (cpu_flag_init): Remove a white space.
258 (operand_type_init): Likewise.
259
260 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
261
262 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
263 * i386-tbl.h: Regenerated.
264
265 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
266
267 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
268 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
269 subS, xorS and cmpS.
270
271 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
272
273 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
274 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
275 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
276 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
277 and CpuSYSCALL.
278 (lineno): Removed.
279 (set_bitfield): Take an argument, lineno. Don't report lineno
280 on error if it is -1.
281 (process_i386_cpu_flag): Take an argument, lineno.
282 (process_i386_opcode_modifier): Likewise.
283 (process_i386_operand_type): Likewise.
284 (output_i386_opcode): Likewise.
285 (opcode_hash_entry): Add lineno.
286 (process_i386_opcodes): Updated.
287 (process_i386_registers): Likewise.
288 (process_i386_initializers): Likewise.
289
290 * i386-opc.h (CpuP4): Removed.
291 (CpuK6): Likewise.
292 (CpuK8): Likewise.
293 (CpuClflush): New.
294 (CpuSYSCALL): Likewise.
295 (CpuMMX): Updated.
296 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
297 cpuclflush and cpusyscall.
298
299 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
300 syscall and sysret.
301 * i386-init.h: Regenerated.
302 * i386-tbl.h: Likewise.
303
304 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
305
306 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
307 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
308 (cpu_flags): Add CpuRdtscp.
309 (set_bitfield): Remove CpuSledgehammer check.
310
311 * i386-opc.h (CpuRdtscp): New.
312 (CpuLM): Updated.
313 (i386_cpu_flags): Add cpurdtscp.
314
315 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
316 * i386-init.h: Regenerated.
317 * i386-tbl.h: Likewise.
318
319 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
320
321 * ppc-opc.c (PPCNONE): Define.
322 (NOPOWER4): Delete.
323 (powerpc_opcodes): Initialize the new "deprecated" field.
324
325 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
326
327 AVX Programming Reference (December, 2008)
328 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
329 (VEX_LEN_E7_P_2_M_0): Likewise.
330 (VEX_LEN_2C_P_1): Updated.
331 (VEX_LEN_E8_P_2): Likewise.
332 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
333 (mod_table): Likewise.
334
335 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
336 * i386-tbl.h: Regenerated.
337
338 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
339
340 * i386-gen.c (process_copyright): Update for 2009.
341
342 * i386-init.h: Regenerated.
343 * i386-tbl.h: Likewise.
344
345 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
346
347 AVX Programming Reference (December, 2008)
348 * i386-dis.c (OP_VEX_FMA): Removed.
349 (OP_EX_VexW): Likewise.
350 (OP_EX_VexImmW): Likewise.
351 (OP_XMM_VexW): Likewise.
352 (VEXI4_Fixup): Likewise.
353 (VPERMIL2_Fixup): Likewise.
354 (VexI4): Likewise.
355 (VexFMA): Likewise.
356 (Vex128FMA): Likewise.
357 (EXVexW): Likewise.
358 (EXdVexW): Likewise.
359 (EXqVexW): Likewise.
360 (EXVexImmW): Likewise.
361 (XMVexW): Likewise.
362 (VPERMIL2): Likewise.
363 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
364 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
365 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
366 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
367 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
368 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
369 (get_vex_imm8): Likewise.
370 (OP_EX_VexReg): Likewise.
371 vpermil2_op): Likewise.
372 (EXVexWdq): New.
373 (vex_w_dq_mode): Likewise.
374 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
375 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
376 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
377 (es_reg): Updated.
378 (PREFIX_VEX_38DB): Likewise.
379 (PREFIX_VEX_3A4A): Likewise.
380 (PREFIX_VEX_3A60): Likewise.
381 (PREFIX_VEX_3ADF): Likewise.
382 (VEX_LEN_3ADF_P_2): Likewise.
383 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
384 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
385 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
386 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
387 PREFIX_VEX_3896...PREFIX_VEX_389F,
388 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
389 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
390 (vex_table): Likewise.
391 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
392 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
393 (putop): Support "%XW".
394 (intel_operand_size): Handle vex_w_dq_mode.
395
396 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
397
398 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
399 instructions. Add new FMA instructions.
400 * i386-tbl.h: Regenerated.
401
402 2009-01-02 Matthias Klose <doko@ubuntu.com>
403
404 * or32-opc.c (or32_print_register, or32_print_immediate,
405 disassemble_insn): Don't rely on undefined sprintf behaviour.
406
407 For older changes see ChangeLog-2008
408 \f
409 Local Variables:
410 mode: change-log
411 left-margin: 8
412 fill-column: 74
413 version-control: never
414 End: