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