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