1 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
3 * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
4 Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
5 (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
6 CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
7 * Makefile.in: Regenerated.
9 2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11 * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
12 [INSTALL_LIBBFD]: ... here, ...
13 [INSTALL_LIBBFD]: ... and empty overrides here.
14 [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
15 [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
16 * Makefile.in: Regenerate.
17 * configure: Regenerate.
19 2009-08-26 Philippe De Muyter <phdm@macqel.be>
21 * m68k-dis.c (print_insn_arg): Add movecr register names for
22 coldfire v4e families.
24 2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
26 * Makefile.am (SUBDIRS): Build '.' before 'po'.
27 (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
28 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
29 (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
30 using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
31 (i386-gen.o): New rule.
32 ($(srcdir)/i386-init.h): Adjust.
33 (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
34 (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
35 (ia64-gen.o): New rule.
36 (ia64_asmtab_deps): New variable.
37 ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
38 (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
39 (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
41 (s390-opc.tab): Adjust.
42 (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
44 (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
45 * Makefile.in: Regenerate.
46 * z8kgen.c (gas): Avoid '/*' in comment.
47 * z8k-opc.h (func): Regenerate.
49 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
51 * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
52 from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
53 i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
54 ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
56 (LIBOPCODES_CFILES): New variable, adding to
57 TARGET_LIBOPCODES_CFILES also non-target library sources.
58 (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
60 (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
61 (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
62 * Makefile.in: Regenerate.
63 * po/POTFILES.in: Regenerate.
65 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
67 * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
68 [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
69 [INSTALL_LIBBFD] (bfdinclude_DATA): New.
70 [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
71 [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
72 is built shared even if it is not to be installed.
73 (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
74 (install_libopcodes, uninstall_libopcodes): Remove.
75 (AM_CPPFLAGS): Renamed from ...
77 * Makefile.in: Regenerate.
79 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
80 1.11, foreign, no-dist.
81 (MKDEP, m32c_opc_h): Remove variables.
82 (disassemble.lo): Rewrite using automake-style dependency
83 tracking rules; only list the dependency upon the primary source
84 file, but no included headers.
85 (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
86 (i386-gen.o, ia64-gen.o): Remove dependency statements.
87 (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
88 ensure all dependency fragments are included in the Makefile.
89 (s390-opc.lo): Depend on s390-opc.tab.
90 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
91 (mkdep section): Remove.
92 * Makefile.in: Regenerate.
93 * po/POTFILES.in: Regenerate.
95 * Makefile.am (install-pdf, install-html): Remove.
96 * Makefile.in: Regenerate.
98 * Makefile.in: Regenerate.
99 * aclocal.m4: Likewise.
100 * config.in: Likewise.
101 * configure: Likewise.
103 2009-08-06 Michael Eager <eager@eagercon.com>
105 * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
106 CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
107 * Makefile.in: Regenerate.
108 * configure.in: Add bfd_microblaze_arch target.
109 * configure: Regenerate.
110 * disassemble.c: Define ARCH_microblaze, return
111 print_insn_microblaze().
112 * microblaze-dis.c: New MicroBlaze disassembler.
113 * microblaze-opc.h: New MicroBlaze opcode definitions.
114 * microblaze-opcm.h: New MicroBlaze opcode types.
116 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
118 * configure.in: Handle bfd_l1om_arch.
119 * disassemble.c (disassembler): Likewise.
121 * configure: Regenerated.
123 * i386-dis.c (print_insn): Handle bfd_mach_l1om and
124 bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM.
126 * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
128 (cpu_flags): Add CpuL1OM.
129 (set_bitfield): Take an argument to set the value field.
130 (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
131 (process_i386_opcode_modifier): Updated.
132 (process_i386_operand_type): Likewise.
133 * i386-init.h: Regenerated.
134 * i386-tbl.h: Likewise.
136 * i386-opc.h (CpuL1OM): New.
138 (i386_cpu_flags): Add cpul1om.
140 2009-07-24 Jan Beulich <jbeulich@novell.com>
142 * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
144 * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
145 (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
146 (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
147 * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
149 (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
151 * i386-opc.tbl: Qualify floating point instructions by their
152 respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
153 and fsincos to be avilable only on 387. Fix fstsw ax to be
154 available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
156 * i386-init.h, i386-tbl.h: Regenerate.
158 2009-07-20 Nick Clifton <nickc@redhat.com>
161 * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
162 offset or indexed based addressing mode 3.
164 2009-07-14 Nick Clifton <nickc@redhat.com>
167 * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
169 (arm_decode_shift): Catch illegal register based shifts.
170 (print_insn_arm): Properly handle negative register r0
171 post-indexed addressing.
173 2009-07-10 Doug Kwan <dougkwan@google.com>
175 * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only
176 lower 32 bits of long types to make hexadecimal output consistent
177 on both 32-bit and 64-bit hosts.
179 2009-07-10 Alan Modra <amodra@bigpond.net.au>
181 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
182 * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
183 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
184 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
185 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
186 * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
187 * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
188 * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
189 * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
190 * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
191 * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
192 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
194 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
196 * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
198 2009-07-07 Nick Clifton <nickc@redhat.com>
201 * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
204 2009-07-06 DJ Delorie <dj@redhat.com>
206 * mep-desc.c: Regenerate.
207 * mep-desc.h: Regenerate.
208 * mep-opc.c: Regenerate.
209 * mep-opc.h: Regenerate.
211 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
213 * i386-opc.h (CpuFMA4): Add CpuFMA4.
214 (i386_cpu_flags): New.
215 * i386-gen.c: Add CPU_FMA4_FLAGS.
216 * i386-opc.tbl: Add FMA4 instructions.
217 * i386-tbl.h: Regenerate.
218 * i386-init.h: Regenerate.
219 * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
220 (OP_XMM_VexW): Ditto.
222 (VEXI4_Fixup): Ditto.
223 (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
224 (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
225 (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
226 (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
227 (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
228 (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
229 (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
230 (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
231 (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
232 (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
233 (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
234 (get_vex_imm8): New. handle FMA4.
235 (OP_EX_VexReg): Ditto.
237 2009-06-30 Nick Clifton <nickc@redhat.com>
240 * arm-dis.c (coprocessor): Print the LDC and STC versions of the
241 LFM and SFM instructions as comments,.
242 Improve consistency of formatting for instructions displayed as
243 comments and decimal values displayed with their hexadecimal
247 2009-06-29 Nick Clifton <nickc@redhat.com>
250 * arm-dis.c (enum opcode_sentinels): New: Used to mark the
251 boundary between variaant and generic coprocessor instuctions.
252 (coprocessor): Use it.
253 Fix architecture version of MCRR and MRRC instructions.
254 (arm_opcdes): Fix patterns for STRB and STRH instructions.
255 (print_insn_coprocessor): Check architecture and extension masks.
256 Print a hexadecimal version of any decimal constant that is
257 outside of the range of -16 to +32.
258 (print_arm_address): Add a return value of the offset used in the
259 adress, if it is worth printing a hexadecimal version of it.
260 (print_insn_neon): Print a hexadecimal version of any decimal
261 constant that is outside of the range of -16 to +32.
262 (print_insn_arm): Likewise.
263 (print_insn_thumb16): Likewise.
264 (print_insn_thumb32): Likewise.
267 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
268 of an undefined instruction.
269 (arm_opcodes): Use it.
270 (thumb_opcod): Use it.
271 (thumb32_opc): Use it.
273 2009-06-23 DJ Delorie <dj@redhat.com>
275 * mep-desc.c: Regenerate.
276 * mep-desc.h: Regenerate.
277 * mep-dis.c: Regenerate.
278 * mep-ibld.c: Regenerate.
279 * mep-opc.c: Regenerate.
281 * mep-asm.c: Regenerate.
282 * mep-opc.c: Regenerate.
283 * mep-opc.h: Regenerate.
285 2009-06-22 Nick Clifton <nickc@redhat.com>
287 * po/fi.po: Updated Finish translation.
289 2009-06-22 Alan Modra <amodra@bigpond.net.au>
291 * m32c-asm.c: Regenerate.
293 2009-06-22 Alan Modra <amodra@bigpond.net.au>
295 * score-dis.c (print_insn_score48, print_insn_score32): Move default
296 case label to proper lexical block.
297 * score7-dis.c (print_insn_score32): Likewise.
299 2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
301 * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
302 MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
303 * s390-opc.txt (nopr, nop): Use new instruction format.
305 2009-06-18 Nick Clifton <nickc@redhat.com>
308 * arm-dis.c (print_insn_coprocessor): Check that a user specified
309 ARM architecture supports the matched instruction.
310 (print_insn_arm): Likewise.
311 (select_arm_features): New function. Fills in the fields of an
312 arm_feature_set structure based on a given arm machine number.
313 (print_insn): Initialise an arm_feature_set structure.
315 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
317 * vax-dis.c (is_function_entry): Return success for synthetic
319 (is_plt_tail): New function.
320 (print_insn_vax): Decode PLT entry offset longword.
322 2009-06-15 Nick Clifton <nickc@redhat.com>
325 * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
329 * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
331 2009-06-15 Nick Clifton <nickc@redhat.com>
334 * arm-dis.c (print_insn): Ignore is_data if the user has requested
335 the disassembly of data as well as instructions.
337 2009-06-11 Doug Evans <dje@sebabeach.org>
339 * cgen.sh: Handle multiple simultaneous runs for parallel makes.
341 2009-06-11 Anthony Green <green@moxielogic.com>
343 * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
344 (moxie_form3_opc_info): Add branch instructions.
345 * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
346 encoded instructions.
348 2009-06-06 Anthony Green <green@moxielogic.com>
350 * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
351 * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
353 2009-06-04 Alan Modra <amodra@bigpond.net.au>
355 * dep-in.sed: Don't use \n in replacement part of s command.
356 * Makefile.am (DEP1): LC_ALL for uniq.
357 * Makefile.in: Regenerate.
359 2009-06-02 Nick Clifton <nickc@redhat.com>
361 * po/nl.po: Updated Dutch translation.
363 2009-06-02 Tristan Gingold <gingold@adacore.com>
365 * ia64-gen.c (parse_resource_users, print_dependency_table,
366 add_dis_table_ent, finish_distable, insert_bit_table_ent,
367 add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
368 get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
369 insert_completer_entry, print_completer_entry, print_completer_table,
370 opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
372 2009-05-28 DJ Delorie <dj@redhat.com>
374 * mep-asm.c: Regenerate.
375 * mep-desc.c: Regenerate.
377 2009-05-26 DJ Delorie <dj@redhat.com>
379 * mep-asm.c: Regenerate.
380 * mep-desc.c: Regenerate.
381 * mep-desc.h: Regenerate.
382 * mep-dis.c: Regenerate.
383 * mep-ibld.c: Regenerate.
384 * mep-opc.c: Regenerate.
385 * mep-opc.h: Regenerate.
387 2009-05-26 Nick Clifton <nickc@redhat.com>
389 * po/id.po: Updated Indonesian translation.
390 * po/opcodes.pot: Updated template file.
392 2009-05-26 Alan Modra <amodra@bigpond.net.au>
394 * dep-in.sed: Don't modify .o to .lo here. Output one filename
395 per line with all lines having continuation backslash. Prefix
396 first line with "A", following lines with "B".
397 * Makefile.am (DEP): Don't use dep.sed here.
398 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
399 dep.sed here on dependencies, sort and uniq.
400 * Makefile.in: Regenerate.
402 2009-05-25 Tristan Gingold <gingold@adacore.com>
404 * makefile.vms (OPT): New variable.
405 (CFLAGS): Update compilation flags.
407 2009-05-22 DJ Delorie <dj@redhat.com>
409 * mep-asm.c: Regenerate.
410 * mep-desc.c: Regenerate.
411 * mep-desc.h: Regenerate.
412 * mep-dis.c: Regenerate.
413 * mep-ibld.c: Regenerate.
414 * mep-opc.c: Regenerate.
415 * mep-opc.h: Regenerate.
417 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
419 * i386-opc.h (Cpusse5): Delete.
420 (i386_cpu_flags): Delete.
421 * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
422 * i386-opc.tbl: Remove SSE5 instructions.
423 * i386-tbl.h: Regenerate.
424 * i386-init.h: Regenerate.
425 * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
426 (print_drex_arg): Delete.
429 (OP_DREX_ICMP): Delete.
430 (OP_DREX_FCMP): Delete.
432 (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
434 2009-05-22 Alan Modra <amodra@bigpond.net.au>
436 * Makefile.am: Run "make dep-am".
437 * Makefile.in: Regenerate.
438 * po/POTFILES.in: Regenerate.
440 2009-05-19 DJ Delorie <dj@redhat.com>
442 * mep-asm.c: Regenerate.
443 * mep-opc.c: Regenerate.
445 2009-04-30 DJ Delorie <dj@redhat.com>
447 * mep-asm.c: Regenerate.
448 * mep-desc.c: Regenerate.
449 * mep-desc.h: Regenerate.
450 * mep-dis.c: Regenerate.
451 * mep-ibld.c: Regenerate.
452 * mep-opc.c: Regenerate.
453 * mep-opc.h: Regenerate.
455 2009-04-17 DJ Delorie <dj@redhat.com
457 * mep-desc.c: Regenerate.
458 * mep-ibld.c: Regenerate.
459 * mep-opc.c: Regenerate.
460 * mep-opc.h: Regenerate.
462 2009-04-15 Anthony Green <green@moxielogic.com>
464 * moxie-opc.c, moxie-dis.c: Created.
465 * Makefile.am: Build the moxie source files.
466 * configure.in: Add moxie support.
467 * Makefile.in, configure: Rebuilt.
468 * disassemble.c (disassembler): Add moxie support.
469 (ARCH_moxie): Define.
471 2009-04-15 Jan Beulich <jbeulich@novell.com>
473 * i386-opc.tbl (protb, protw, protd, protq): Set opcode
475 (pshab, pshaw, pshad, pshaq): Likewise.
476 * i386-tbl.h: Re-generate.
478 2009-04-08 DJ Delorie <dj@redhat.com
480 * mep-asm.c: Regenerate.
481 * mep-desc.c: Regenerate.
482 * mep-desc.h: Regenerate.
483 * mep-dis.c: Regenerate.
484 * mep-ibld.c: Regenerate.
485 * mep-opc.c: Regenerate.
486 * mep-opc.h: Regenerate.
488 2009-04-07 Peter Bergner <bergner@vnet.ibm.com>
490 * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
491 "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
492 Reorder entries so the extended mnemonics are listed before tlbilx.
494 2009-04-02 Peter Bergner <bergner@vnet.ibm.com>
496 * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
498 (print_insn_powerpc): Make sure we only deprecate instructions using
499 the original dialect and not a modified dialect due to -Many handling.
500 Move the handling of the condition register and default operands to
501 the end of the if/else if/else chain.
502 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
503 instructions from newer processors are listed before older ones.
504 <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
505 that have instructions with conflicting opcodes.
507 2009-04-01 Peter Bergner <bergner@vnet.ibm.com>
509 * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
512 2009-04-01 Christophe Lyon <christophe.lyon@st.com>
514 * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
516 2009-03-30 Joseph Myers <joseph@codesourcery.com>
518 * arm-dis.c (print_insn): Also check section matches in backwards
519 search for mapping symbol.
521 2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
523 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
525 2009-03-18 Alan Modra <amodra@bigpond.net.au>
527 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
528 * Makefile.am: Run "make dep-am".
529 * Makefile.in: Regenerate.
530 * openrisc-opc.c: Regenerate.
532 2009-03-10 Nick Clifton <nickc@redhat.com>
534 * po/id.po: Updated Indonesian translation.
536 2009-03-10 Alan Modra <amodra@bigpond.net.au>
538 * ppc-dis.c: Include "opintl.h".
539 (struct ppc_mopt, ppc_opts): New.
540 (ppc_parse_cpu): New function.
541 (powerpc_init_dialect): Use it.
542 (print_ppc_disassembler_options): Dump options from ppc_opts.
543 Internationalize message.
545 2009-03-06 Nick Clifton <nickc@redhat.com>
547 * po/es.po: Updated Spanish translation.
549 2009-03-04 Alan Modra <amodra@bigpond.net.au>
552 * configure.in: Test for ld --as-needed support. Link shared
553 libopcodes against libm.
554 * configure: Regenerate.
556 2009-03-03 Peter Bergner <bergner@vnet.ibm.com>
558 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
559 instructions from newer processors are listed before older ones.
561 2009-03-03 Alan Modra <amodra@bigpond.net.au>
563 * Makefile.am: Run "make dep-am".
564 (HFILES): Move lm32-desc.h and lm32-opc.h from..
566 * Makefile.in: Regenerate.
568 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
570 * score7-dis.c: New file.
571 * Makefile.am: Add dependencies for score7-dis.c.
572 * Makefile.in: Regenerate.
573 * configure.in: Add score7-dis to score files.
574 * configure: Regenerate.
575 * score-dis.c: Add support for score7 architecture.
576 * score-opc.h: Likewise.
578 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
580 * configure: Regenerate.
582 2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
584 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
586 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
588 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
589 the power7 and the isel instructions.
590 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
591 (insert_dm, extract_dm): Likewise.
592 (XB6): Update comment to include XX2 form.
593 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
594 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
595 (RemoveXX3DM): Delete.
596 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
597 "mftgpr">: Deprecate for POWER7.
598 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
599 "frsqrte.">: Deprecate the three operand form and enable the two
600 operand form for POWER7 and later.
601 <"wait">: Extend to accept optional parameter. Enable for POWER7.
602 <"waitsrv", "waitimpl">: Add extended opcodes.
603 <"ldbrx", "stdbrx">: Enable for POWER7.
604 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
605 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
606 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
607 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
608 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
609 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
610 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
611 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
612 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
613 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
614 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
615 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
616 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
617 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
618 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
619 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
620 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
621 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
622 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
623 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
624 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
625 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
626 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
627 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
628 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
629 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
630 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
631 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
632 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
633 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
634 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
635 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
636 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
637 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
638 "xxspltw", "xxswapd">: Add VSX opcodes.
640 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
642 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
643 (operand_types): Remove Vex_Imm4.
645 * i386-opc.h (Vex_Imm4): Removed.
647 (i386_operand_type): Remove vex_imm4.
649 * i386-opc.tbl: Remove Vex_Imm4 comments.
650 * i386-init.h: Regenerated.
651 * i386-tbl.h: Likewise.
653 2009-02-23 Richard Earnshaw <rearnsha@arm.com>
655 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
656 vq{r}shr{u}n.s64 insnstructions.
658 2009-02-19 Peter Bergner <bergner@vnet.ibm.com>
660 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
661 operand to be a float point register (FRT/FRS).
663 2009-02-18 Adam Nemet <anemet@caviumnetworks.com>
665 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
666 dmfc2 and dmtc2 before the architecture-level variants.
668 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
670 * fr30-opc.c: Regenerate.
671 * frv-opc.c: Regenerate.
672 * ip2k-opc.c: Regenerate.
673 * iq2000-opc.c: Regenerate.
674 * lm32-opc.c: Regenerate.
675 * m32c-opc.c: Regenerate.
676 * m32r-opc.c: Regenerate.
677 * mep-opc.c: Regenerate.
678 * mt-opc.c: Regenerate.
679 * xc16x-opc.c: Regenerate.
680 * xstormy16-opc.c: Regenerate.
681 * tic54x-dis.c (print_instruction): Avoid compiler warning on
684 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
686 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
688 2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
690 * ppc-opc.c: Update copyright year.
691 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
692 ordering for POWER4 and later and use the correct Server ordering.
694 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
696 AVX Programming Reference (January, 2009)
697 * i386-dis.c (PREFIX_VEX_3A44): New.
698 (VEX_LEN_3A44_P_2): Likewise.
699 (PREFIX_VEX_3A48): Updated.
700 (VEX_LEN_3A4C_P_2): Likewise.
701 (prefix_table): Add PREFIX_VEX_3A44.
702 (vex_table): Likewise.
703 (vex_len_table): Add VEX_LEN_3A44_P_2.
705 * i386-opc.tbl: Add PCLMUL + AVX instructions.
706 * i386-tbl.h: Regenerated.
708 2009-02-03 Sandip Matte <sandip@rmicorp.com>
710 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
711 (mips_arch_choices): Add XLR entry.
712 * mips-opc.c (XLR): Define.
713 (mips_builtin_opcodes): Add XLR instructions.
715 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
717 * Makefile.am: Add install-pdf target.
718 * po/Make-in: Add install-pdf target.
719 * Makefile.in: Regenerate.
721 2009-02-02 DJ Delorie <dj@redhat.com>
723 * mep-asm.c: Regenerate.
724 * mep-desc.c: Regenerate.
725 * mep-desc.h: Regenerate.
726 * mep-dis.c: Regenerate.
727 * mep-ibld.c: Regenerate.
728 * mep-opc.c: Regenerate.
729 * mep-opc.h: Regenerate.
731 2009-01-29 Mark Mitchell <mark@codesourcery.com>
733 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
736 2009-01-28 Chao-ying Fu <fu@mips.com>
738 * mips-opc.c (suxc1): Add the flag of FP_D.
740 2009-01-20 Alan Modra <amodra@bigpond.net.au>
742 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
743 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
744 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
745 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
746 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
747 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
748 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
749 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
751 2009-01-16 Alan Modra <amodra@bigpond.net.au>
753 * configure.in (commonbfdlib): Delete.
754 (SHARED_LIBADD): Add pic libiberty if such is available.
755 * configure: Regenerate.
756 * po/POTFILES.in: Regenerate.
758 2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
760 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
761 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
762 operand form and enable the four operand form for POWER6 and later.
763 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
764 three operand form for POWER6 and later.
766 2009-01-14 Mike Frysinger <vapier@gentoo.org>
768 * bfin-dis.c (OUTS): Use "%s" as format string.
770 2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
772 * i386-gen.c (cpu_flag_init): Remove a white space.
773 (operand_type_init): Likewise.
775 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
777 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
778 * i386-tbl.h: Regenerated.
780 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
782 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
783 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
786 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
788 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
789 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
790 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
791 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
794 (set_bitfield): Take an argument, lineno. Don't report lineno
795 on error if it is -1.
796 (process_i386_cpu_flag): Take an argument, lineno.
797 (process_i386_opcode_modifier): Likewise.
798 (process_i386_operand_type): Likewise.
799 (output_i386_opcode): Likewise.
800 (opcode_hash_entry): Add lineno.
801 (process_i386_opcodes): Updated.
802 (process_i386_registers): Likewise.
803 (process_i386_initializers): Likewise.
805 * i386-opc.h (CpuP4): Removed.
809 (CpuSYSCALL): Likewise.
811 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
812 cpuclflush and cpusyscall.
814 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
816 * i386-init.h: Regenerated.
817 * i386-tbl.h: Likewise.
819 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
821 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
822 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
823 (cpu_flags): Add CpuRdtscp.
824 (set_bitfield): Remove CpuSledgehammer check.
826 * i386-opc.h (CpuRdtscp): New.
828 (i386_cpu_flags): Add cpurdtscp.
830 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
831 * i386-init.h: Regenerated.
832 * i386-tbl.h: Likewise.
834 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
836 * ppc-opc.c (PPCNONE): Define.
838 (powerpc_opcodes): Initialize the new "deprecated" field.
840 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
842 AVX Programming Reference (December, 2008)
843 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
844 (VEX_LEN_E7_P_2_M_0): Likewise.
845 (VEX_LEN_2C_P_1): Updated.
846 (VEX_LEN_E8_P_2): Likewise.
847 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
848 (mod_table): Likewise.
850 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
851 * i386-tbl.h: Regenerated.
853 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
855 * i386-gen.c (process_copyright): Update for 2009.
857 * i386-init.h: Regenerated.
858 * i386-tbl.h: Likewise.
860 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
862 AVX Programming Reference (December, 2008)
863 * i386-dis.c (OP_VEX_FMA): Removed.
864 (OP_EX_VexW): Likewise.
865 (OP_EX_VexImmW): Likewise.
866 (OP_XMM_VexW): Likewise.
867 (VEXI4_Fixup): Likewise.
868 (VPERMIL2_Fixup): Likewise.
871 (Vex128FMA): Likewise.
875 (EXVexImmW): Likewise.
877 (VPERMIL2): Likewise.
878 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
879 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
880 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
881 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
882 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
883 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
884 (get_vex_imm8): Likewise.
885 (OP_EX_VexReg): Likewise.
886 vpermil2_op): Likewise.
888 (vex_w_dq_mode): Likewise.
889 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
890 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
891 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
893 (PREFIX_VEX_38DB): Likewise.
894 (PREFIX_VEX_3A4A): Likewise.
895 (PREFIX_VEX_3A60): Likewise.
896 (PREFIX_VEX_3ADF): Likewise.
897 (VEX_LEN_3ADF_P_2): Likewise.
898 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
899 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
900 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
901 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
902 PREFIX_VEX_3896...PREFIX_VEX_389F,
903 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
904 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
905 (vex_table): Likewise.
906 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
907 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
908 (putop): Support "%XW".
909 (intel_operand_size): Handle vex_w_dq_mode.
911 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
913 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
914 instructions. Add new FMA instructions.
915 * i386-tbl.h: Regenerated.
917 2009-01-02 Matthias Klose <doko@ubuntu.com>
919 * or32-opc.c (or32_print_register, or32_print_immediate,
920 disassemble_insn): Don't rely on undefined sprintf behaviour.
922 For older changes see ChangeLog-2008
928 version-control: never