1 2009-09-07 Alan Modra <amodra@bigpond.net.au>
3 * z8kgen.c (func): Fix thinko last patch.
5 2009-09-07 Alan Modra <amodra@bigpond.net.au>
7 * z8kgen.c (func): Stabilize qsort of identically named entries.
8 * z8k-opc.h: Regenerate.
10 2009-09-07 Tristan Gingold <gingold@adacore.com>
12 * po/opcodes.pot: Regenerate.
14 2009-09-07 Alan Modra <amodra@bigpond.net.au>
16 * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
17 * configure: Regenerate.
18 * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
19 (BUILD_LIBS, BUILD_LIB_DEPS): Define. Use..
20 (i386-gen, ia64-gen, z8kgen): ..here.
21 * Makefile.in: Regenerate.
23 2009-09-07 Tristan Gingold <gingold@adacore.com>
25 * z8k-opc.h: Regenerate.
27 2009-09-05 Martin Thuresson <martin@mtme.org>
29 * ia64-dis.c (print_insn_ia64): Update code to use renamed member.
30 * m88k-dis.c (m88kdis): Rename variable class to in_class.
31 * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol):
32 Rename argument class to symbol_class.
34 2009-09-04 Jie Zhang <jie.zhang@analog.com>
36 * bfin-dis.c (decode_pseudodbg_assert_0): Change according
37 to the new encoding of DBGA, DBGAH, and DBGAL.
38 (_print_insn_bfin): Likewise.
40 2009-09-03 Jie Zhang <jie.zhang@analog.com>
42 * bfin-dis.c (_print_insn_bfin): Don't declare.
43 (print_insn_bfin): Don't declare.
45 (ignore_bits): Remove.
48 2009-09-03 Jie Zhang <jie.zhang@analog.com>
50 * bfin-dis.c (IS_DREG): Define.
56 (decode_REGMV_0): Check illegal register move instructions.
58 2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
60 * Makefile.am (BUILD_LIBINTL): New variable.
61 (i386-gen$(EXEEXT_FOR_BUILD)): Use it.
62 (ia64-gen$(EXEEXT_FOR_BUILD)): And here.
63 (z8kgen$(EXEEXT_FOR_BUILD)): And here.
64 * Makefile.in: Regenerate.
66 2009-09-01 DJ Delorie <dj@redhat.com>
68 * mep-asm.c: Regenerate.
69 * mep-desc.c: Regenerate.
70 * mep-opc.c: Regenerate.
72 2009-09-01 Tristan Gingold <gingold@adacore.com>
74 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
75 dependencies. Remove unused FORMAT variable.
76 * configure.com: New file to create build.com DCL script for
77 Itanium VMS or Alpha VMS.
79 2009-08-29 Martin Thuresson <martin@mtme.org>
81 * cris-dis.c (bytes_to_skip): Update code to use new name.
82 * i386-dis.c (putop): Update code to use new name.
83 * i386-gen.c (process_i386_opcodes): Update code to use
85 * i386-opc.h (struct template): Rename struct template to
86 insn_template. Update code accordingly.
87 * i386-tbl.h (i386_optab): Update type to use new name.
88 * ia64-dis.c (print_insn_ia64): Rename variable template
90 * tic30-dis.c (struct instruction, get_tic30_instruction):
91 Update code to use new name.
92 * tic54x-dis.c (has_lkaddr, get_insn_size)
93 (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
94 Update code to use new name.
95 * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
96 Update type to new name.
97 * z8kgen.c (internal, gas): Rename variable new to new_op.
99 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
101 * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
102 Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
103 (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
104 CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
105 * Makefile.in: Regenerated.
107 2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
109 * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
110 [INSTALL_LIBBFD]: ... here, ...
111 [INSTALL_LIBBFD]: ... and empty overrides here.
112 [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
113 [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
114 * Makefile.in: Regenerate.
115 * configure: Regenerate.
117 2009-08-26 Philippe De Muyter <phdm@macqel.be>
119 * m68k-dis.c (print_insn_arg): Add movecr register names for
120 coldfire v4e families.
122 2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
124 * Makefile.am (SUBDIRS): Build '.' before 'po'.
125 (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
126 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
127 (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
128 using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
129 (i386-gen.o): New rule.
130 ($(srcdir)/i386-init.h): Adjust.
131 (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
132 (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
133 (ia64-gen.o): New rule.
134 (ia64_asmtab_deps): New variable.
135 ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
136 (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
137 (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
139 (s390-opc.tab): Adjust.
140 (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
142 (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
143 * Makefile.in: Regenerate.
144 * z8kgen.c (gas): Avoid '/*' in comment.
145 * z8k-opc.h (func): Regenerate.
147 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
149 * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
150 from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
151 i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
152 ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
154 (LIBOPCODES_CFILES): New variable, adding to
155 TARGET_LIBOPCODES_CFILES also non-target library sources.
156 (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
158 (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
159 (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
160 * Makefile.in: Regenerate.
161 * po/POTFILES.in: Regenerate.
163 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
165 * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
166 [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
167 [INSTALL_LIBBFD] (bfdinclude_DATA): New.
168 [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
169 [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
170 is built shared even if it is not to be installed.
171 (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
172 (install_libopcodes, uninstall_libopcodes): Remove.
173 (AM_CPPFLAGS): Renamed from ...
174 (INCLUDES): ... this.
175 * Makefile.in: Regenerate.
177 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
178 1.11, foreign, no-dist.
179 (MKDEP, m32c_opc_h): Remove variables.
180 (disassemble.lo): Rewrite using automake-style dependency
181 tracking rules; only list the dependency upon the primary source
182 file, but no included headers.
183 (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
184 (i386-gen.o, ia64-gen.o): Remove dependency statements.
185 (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
186 ensure all dependency fragments are included in the Makefile.
187 (s390-opc.lo): Depend on s390-opc.tab.
188 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
189 (mkdep section): Remove.
190 * Makefile.in: Regenerate.
191 * po/POTFILES.in: Regenerate.
193 * Makefile.am (install-pdf, install-html): Remove.
194 * Makefile.in: Regenerate.
196 * Makefile.in: Regenerate.
197 * aclocal.m4: Likewise.
198 * config.in: Likewise.
199 * configure: Likewise.
201 2009-08-06 Michael Eager <eager@eagercon.com>
203 * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
204 CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
205 * Makefile.in: Regenerate.
206 * configure.in: Add bfd_microblaze_arch target.
207 * configure: Regenerate.
208 * disassemble.c: Define ARCH_microblaze, return
209 print_insn_microblaze().
210 * microblaze-dis.c: New MicroBlaze disassembler.
211 * microblaze-opc.h: New MicroBlaze opcode definitions.
212 * microblaze-opcm.h: New MicroBlaze opcode types.
214 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
216 * configure.in: Handle bfd_l1om_arch.
217 * disassemble.c (disassembler): Likewise.
219 * configure: Regenerated.
221 * i386-dis.c (print_insn): Handle bfd_mach_l1om and
222 bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM.
224 * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
226 (cpu_flags): Add CpuL1OM.
227 (set_bitfield): Take an argument to set the value field.
228 (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
229 (process_i386_opcode_modifier): Updated.
230 (process_i386_operand_type): Likewise.
231 * i386-init.h: Regenerated.
232 * i386-tbl.h: Likewise.
234 * i386-opc.h (CpuL1OM): New.
236 (i386_cpu_flags): Add cpul1om.
238 2009-07-24 Jan Beulich <jbeulich@novell.com>
240 * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
242 * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
243 (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
244 (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
245 * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
247 (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
249 * i386-opc.tbl: Qualify floating point instructions by their
250 respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
251 and fsincos to be avilable only on 387. Fix fstsw ax to be
252 available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
254 * i386-init.h, i386-tbl.h: Regenerate.
256 2009-07-20 Nick Clifton <nickc@redhat.com>
259 * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
260 offset or indexed based addressing mode 3.
262 2009-07-14 Nick Clifton <nickc@redhat.com>
265 * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
267 (arm_decode_shift): Catch illegal register based shifts.
268 (print_insn_arm): Properly handle negative register r0
269 post-indexed addressing.
271 2009-07-10 Doug Kwan <dougkwan@google.com>
273 * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only
274 lower 32 bits of long types to make hexadecimal output consistent
275 on both 32-bit and 64-bit hosts.
277 2009-07-10 Alan Modra <amodra@bigpond.net.au>
279 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
280 * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
281 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
282 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
283 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
284 * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
285 * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
286 * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
287 * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
288 * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
289 * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
290 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
292 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
294 * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
296 2009-07-07 Nick Clifton <nickc@redhat.com>
299 * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
302 2009-07-06 DJ Delorie <dj@redhat.com>
304 * mep-desc.c: Regenerate.
305 * mep-desc.h: Regenerate.
306 * mep-opc.c: Regenerate.
307 * mep-opc.h: Regenerate.
309 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
311 * i386-opc.h (CpuFMA4): Add CpuFMA4.
312 (i386_cpu_flags): New.
313 * i386-gen.c: Add CPU_FMA4_FLAGS.
314 * i386-opc.tbl: Add FMA4 instructions.
315 * i386-tbl.h: Regenerate.
316 * i386-init.h: Regenerate.
317 * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
318 (OP_XMM_VexW): Ditto.
320 (VEXI4_Fixup): Ditto.
321 (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
322 (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
323 (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
324 (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
325 (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
326 (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
327 (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
328 (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
329 (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
330 (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
331 (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
332 (get_vex_imm8): New. handle FMA4.
333 (OP_EX_VexReg): Ditto.
335 2009-06-30 Nick Clifton <nickc@redhat.com>
338 * arm-dis.c (coprocessor): Print the LDC and STC versions of the
339 LFM and SFM instructions as comments,.
340 Improve consistency of formatting for instructions displayed as
341 comments and decimal values displayed with their hexadecimal
345 2009-06-29 Nick Clifton <nickc@redhat.com>
348 * arm-dis.c (enum opcode_sentinels): New: Used to mark the
349 boundary between variaant and generic coprocessor instuctions.
350 (coprocessor): Use it.
351 Fix architecture version of MCRR and MRRC instructions.
352 (arm_opcdes): Fix patterns for STRB and STRH instructions.
353 (print_insn_coprocessor): Check architecture and extension masks.
354 Print a hexadecimal version of any decimal constant that is
355 outside of the range of -16 to +32.
356 (print_arm_address): Add a return value of the offset used in the
357 adress, if it is worth printing a hexadecimal version of it.
358 (print_insn_neon): Print a hexadecimal version of any decimal
359 constant that is outside of the range of -16 to +32.
360 (print_insn_arm): Likewise.
361 (print_insn_thumb16): Likewise.
362 (print_insn_thumb32): Likewise.
365 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
366 of an undefined instruction.
367 (arm_opcodes): Use it.
368 (thumb_opcod): Use it.
369 (thumb32_opc): Use it.
371 2009-06-23 DJ Delorie <dj@redhat.com>
373 * mep-desc.c: Regenerate.
374 * mep-desc.h: Regenerate.
375 * mep-dis.c: Regenerate.
376 * mep-ibld.c: Regenerate.
377 * mep-opc.c: Regenerate.
379 * mep-asm.c: Regenerate.
380 * mep-opc.c: Regenerate.
381 * mep-opc.h: Regenerate.
383 2009-06-22 Nick Clifton <nickc@redhat.com>
385 * po/fi.po: Updated Finish translation.
387 2009-06-22 Alan Modra <amodra@bigpond.net.au>
389 * m32c-asm.c: Regenerate.
391 2009-06-22 Alan Modra <amodra@bigpond.net.au>
393 * score-dis.c (print_insn_score48, print_insn_score32): Move default
394 case label to proper lexical block.
395 * score7-dis.c (print_insn_score32): Likewise.
397 2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
399 * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
400 MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
401 * s390-opc.txt (nopr, nop): Use new instruction format.
403 2009-06-18 Nick Clifton <nickc@redhat.com>
406 * arm-dis.c (print_insn_coprocessor): Check that a user specified
407 ARM architecture supports the matched instruction.
408 (print_insn_arm): Likewise.
409 (select_arm_features): New function. Fills in the fields of an
410 arm_feature_set structure based on a given arm machine number.
411 (print_insn): Initialise an arm_feature_set structure.
413 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
415 * vax-dis.c (is_function_entry): Return success for synthetic
417 (is_plt_tail): New function.
418 (print_insn_vax): Decode PLT entry offset longword.
420 2009-06-15 Nick Clifton <nickc@redhat.com>
423 * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
427 * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
429 2009-06-15 Nick Clifton <nickc@redhat.com>
432 * arm-dis.c (print_insn): Ignore is_data if the user has requested
433 the disassembly of data as well as instructions.
435 2009-06-11 Doug Evans <dje@sebabeach.org>
437 * cgen.sh: Handle multiple simultaneous runs for parallel makes.
439 2009-06-11 Anthony Green <green@moxielogic.com>
441 * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
442 (moxie_form3_opc_info): Add branch instructions.
443 * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
444 encoded instructions.
446 2009-06-06 Anthony Green <green@moxielogic.com>
448 * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
449 * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
451 2009-06-04 Alan Modra <amodra@bigpond.net.au>
453 * dep-in.sed: Don't use \n in replacement part of s command.
454 * Makefile.am (DEP1): LC_ALL for uniq.
455 * Makefile.in: Regenerate.
457 2009-06-02 Nick Clifton <nickc@redhat.com>
459 * po/nl.po: Updated Dutch translation.
461 2009-06-02 Tristan Gingold <gingold@adacore.com>
463 * ia64-gen.c (parse_resource_users, print_dependency_table,
464 add_dis_table_ent, finish_distable, insert_bit_table_ent,
465 add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
466 get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
467 insert_completer_entry, print_completer_entry, print_completer_table,
468 opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
470 2009-05-28 DJ Delorie <dj@redhat.com>
472 * mep-asm.c: Regenerate.
473 * mep-desc.c: Regenerate.
475 2009-05-26 DJ Delorie <dj@redhat.com>
477 * mep-asm.c: Regenerate.
478 * mep-desc.c: Regenerate.
479 * mep-desc.h: Regenerate.
480 * mep-dis.c: Regenerate.
481 * mep-ibld.c: Regenerate.
482 * mep-opc.c: Regenerate.
483 * mep-opc.h: Regenerate.
485 2009-05-26 Nick Clifton <nickc@redhat.com>
487 * po/id.po: Updated Indonesian translation.
488 * po/opcodes.pot: Updated template file.
490 2009-05-26 Alan Modra <amodra@bigpond.net.au>
492 * dep-in.sed: Don't modify .o to .lo here. Output one filename
493 per line with all lines having continuation backslash. Prefix
494 first line with "A", following lines with "B".
495 * Makefile.am (DEP): Don't use dep.sed here.
496 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
497 dep.sed here on dependencies, sort and uniq.
498 * Makefile.in: Regenerate.
500 2009-05-25 Tristan Gingold <gingold@adacore.com>
502 * makefile.vms (OPT): New variable.
503 (CFLAGS): Update compilation flags.
505 2009-05-22 DJ Delorie <dj@redhat.com>
507 * mep-asm.c: Regenerate.
508 * mep-desc.c: Regenerate.
509 * mep-desc.h: Regenerate.
510 * mep-dis.c: Regenerate.
511 * mep-ibld.c: Regenerate.
512 * mep-opc.c: Regenerate.
513 * mep-opc.h: Regenerate.
515 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
517 * i386-opc.h (Cpusse5): Delete.
518 (i386_cpu_flags): Delete.
519 * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
520 * i386-opc.tbl: Remove SSE5 instructions.
521 * i386-tbl.h: Regenerate.
522 * i386-init.h: Regenerate.
523 * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
524 (print_drex_arg): Delete.
527 (OP_DREX_ICMP): Delete.
528 (OP_DREX_FCMP): Delete.
530 (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
532 2009-05-22 Alan Modra <amodra@bigpond.net.au>
534 * Makefile.am: Run "make dep-am".
535 * Makefile.in: Regenerate.
536 * po/POTFILES.in: Regenerate.
538 2009-05-19 DJ Delorie <dj@redhat.com>
540 * mep-asm.c: Regenerate.
541 * mep-opc.c: Regenerate.
543 2009-04-30 DJ Delorie <dj@redhat.com>
545 * mep-asm.c: Regenerate.
546 * mep-desc.c: Regenerate.
547 * mep-desc.h: Regenerate.
548 * mep-dis.c: Regenerate.
549 * mep-ibld.c: Regenerate.
550 * mep-opc.c: Regenerate.
551 * mep-opc.h: Regenerate.
553 2009-04-17 DJ Delorie <dj@redhat.com
555 * mep-desc.c: Regenerate.
556 * mep-ibld.c: Regenerate.
557 * mep-opc.c: Regenerate.
558 * mep-opc.h: Regenerate.
560 2009-04-15 Anthony Green <green@moxielogic.com>
562 * moxie-opc.c, moxie-dis.c: Created.
563 * Makefile.am: Build the moxie source files.
564 * configure.in: Add moxie support.
565 * Makefile.in, configure: Rebuilt.
566 * disassemble.c (disassembler): Add moxie support.
567 (ARCH_moxie): Define.
569 2009-04-15 Jan Beulich <jbeulich@novell.com>
571 * i386-opc.tbl (protb, protw, protd, protq): Set opcode
573 (pshab, pshaw, pshad, pshaq): Likewise.
574 * i386-tbl.h: Re-generate.
576 2009-04-08 DJ Delorie <dj@redhat.com
578 * mep-asm.c: Regenerate.
579 * mep-desc.c: Regenerate.
580 * mep-desc.h: Regenerate.
581 * mep-dis.c: Regenerate.
582 * mep-ibld.c: Regenerate.
583 * mep-opc.c: Regenerate.
584 * mep-opc.h: Regenerate.
586 2009-04-07 Peter Bergner <bergner@vnet.ibm.com>
588 * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
589 "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
590 Reorder entries so the extended mnemonics are listed before tlbilx.
592 2009-04-02 Peter Bergner <bergner@vnet.ibm.com>
594 * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
596 (print_insn_powerpc): Make sure we only deprecate instructions using
597 the original dialect and not a modified dialect due to -Many handling.
598 Move the handling of the condition register and default operands to
599 the end of the if/else if/else chain.
600 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
601 instructions from newer processors are listed before older ones.
602 <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
603 that have instructions with conflicting opcodes.
605 2009-04-01 Peter Bergner <bergner@vnet.ibm.com>
607 * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
610 2009-04-01 Christophe Lyon <christophe.lyon@st.com>
612 * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
614 2009-03-30 Joseph Myers <joseph@codesourcery.com>
616 * arm-dis.c (print_insn): Also check section matches in backwards
617 search for mapping symbol.
619 2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
621 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
623 2009-03-18 Alan Modra <amodra@bigpond.net.au>
625 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
626 * Makefile.am: Run "make dep-am".
627 * Makefile.in: Regenerate.
628 * openrisc-opc.c: Regenerate.
630 2009-03-10 Nick Clifton <nickc@redhat.com>
632 * po/id.po: Updated Indonesian translation.
634 2009-03-10 Alan Modra <amodra@bigpond.net.au>
636 * ppc-dis.c: Include "opintl.h".
637 (struct ppc_mopt, ppc_opts): New.
638 (ppc_parse_cpu): New function.
639 (powerpc_init_dialect): Use it.
640 (print_ppc_disassembler_options): Dump options from ppc_opts.
641 Internationalize message.
643 2009-03-06 Nick Clifton <nickc@redhat.com>
645 * po/es.po: Updated Spanish translation.
647 2009-03-04 Alan Modra <amodra@bigpond.net.au>
650 * configure.in: Test for ld --as-needed support. Link shared
651 libopcodes against libm.
652 * configure: Regenerate.
654 2009-03-03 Peter Bergner <bergner@vnet.ibm.com>
656 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
657 instructions from newer processors are listed before older ones.
659 2009-03-03 Alan Modra <amodra@bigpond.net.au>
661 * Makefile.am: Run "make dep-am".
662 (HFILES): Move lm32-desc.h and lm32-opc.h from..
664 * Makefile.in: Regenerate.
666 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
668 * score7-dis.c: New file.
669 * Makefile.am: Add dependencies for score7-dis.c.
670 * Makefile.in: Regenerate.
671 * configure.in: Add score7-dis to score files.
672 * configure: Regenerate.
673 * score-dis.c: Add support for score7 architecture.
674 * score-opc.h: Likewise.
676 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
678 * configure: Regenerate.
680 2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
682 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
684 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
686 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
687 the power7 and the isel instructions.
688 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
689 (insert_dm, extract_dm): Likewise.
690 (XB6): Update comment to include XX2 form.
691 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
692 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
693 (RemoveXX3DM): Delete.
694 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
695 "mftgpr">: Deprecate for POWER7.
696 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
697 "frsqrte.">: Deprecate the three operand form and enable the two
698 operand form for POWER7 and later.
699 <"wait">: Extend to accept optional parameter. Enable for POWER7.
700 <"waitsrv", "waitimpl">: Add extended opcodes.
701 <"ldbrx", "stdbrx">: Enable for POWER7.
702 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
703 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
704 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
705 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
706 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
707 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
708 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
709 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
710 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
711 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
712 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
713 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
714 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
715 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
716 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
717 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
718 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
719 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
720 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
721 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
722 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
723 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
724 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
725 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
726 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
727 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
728 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
729 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
730 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
731 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
732 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
733 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
734 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
735 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
736 "xxspltw", "xxswapd">: Add VSX opcodes.
738 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
740 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
741 (operand_types): Remove Vex_Imm4.
743 * i386-opc.h (Vex_Imm4): Removed.
745 (i386_operand_type): Remove vex_imm4.
747 * i386-opc.tbl: Remove Vex_Imm4 comments.
748 * i386-init.h: Regenerated.
749 * i386-tbl.h: Likewise.
751 2009-02-23 Richard Earnshaw <rearnsha@arm.com>
753 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
754 vq{r}shr{u}n.s64 insnstructions.
756 2009-02-19 Peter Bergner <bergner@vnet.ibm.com>
758 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
759 operand to be a float point register (FRT/FRS).
761 2009-02-18 Adam Nemet <anemet@caviumnetworks.com>
763 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
764 dmfc2 and dmtc2 before the architecture-level variants.
766 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
768 * fr30-opc.c: Regenerate.
769 * frv-opc.c: Regenerate.
770 * ip2k-opc.c: Regenerate.
771 * iq2000-opc.c: Regenerate.
772 * lm32-opc.c: Regenerate.
773 * m32c-opc.c: Regenerate.
774 * m32r-opc.c: Regenerate.
775 * mep-opc.c: Regenerate.
776 * mt-opc.c: Regenerate.
777 * xc16x-opc.c: Regenerate.
778 * xstormy16-opc.c: Regenerate.
779 * tic54x-dis.c (print_instruction): Avoid compiler warning on
782 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
784 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
786 2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
788 * ppc-opc.c: Update copyright year.
789 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
790 ordering for POWER4 and later and use the correct Server ordering.
792 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
794 AVX Programming Reference (January, 2009)
795 * i386-dis.c (PREFIX_VEX_3A44): New.
796 (VEX_LEN_3A44_P_2): Likewise.
797 (PREFIX_VEX_3A48): Updated.
798 (VEX_LEN_3A4C_P_2): Likewise.
799 (prefix_table): Add PREFIX_VEX_3A44.
800 (vex_table): Likewise.
801 (vex_len_table): Add VEX_LEN_3A44_P_2.
803 * i386-opc.tbl: Add PCLMUL + AVX instructions.
804 * i386-tbl.h: Regenerated.
806 2009-02-03 Sandip Matte <sandip@rmicorp.com>
808 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
809 (mips_arch_choices): Add XLR entry.
810 * mips-opc.c (XLR): Define.
811 (mips_builtin_opcodes): Add XLR instructions.
813 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
815 * Makefile.am: Add install-pdf target.
816 * po/Make-in: Add install-pdf target.
817 * Makefile.in: Regenerate.
819 2009-02-02 DJ Delorie <dj@redhat.com>
821 * mep-asm.c: Regenerate.
822 * mep-desc.c: Regenerate.
823 * mep-desc.h: Regenerate.
824 * mep-dis.c: Regenerate.
825 * mep-ibld.c: Regenerate.
826 * mep-opc.c: Regenerate.
827 * mep-opc.h: Regenerate.
829 2009-01-29 Mark Mitchell <mark@codesourcery.com>
831 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
834 2009-01-28 Chao-ying Fu <fu@mips.com>
836 * mips-opc.c (suxc1): Add the flag of FP_D.
838 2009-01-20 Alan Modra <amodra@bigpond.net.au>
840 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
841 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
842 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
843 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
844 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
845 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
846 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
847 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
849 2009-01-16 Alan Modra <amodra@bigpond.net.au>
851 * configure.in (commonbfdlib): Delete.
852 (SHARED_LIBADD): Add pic libiberty if such is available.
853 * configure: Regenerate.
854 * po/POTFILES.in: Regenerate.
856 2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
858 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
859 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
860 operand form and enable the four operand form for POWER6 and later.
861 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
862 three operand form for POWER6 and later.
864 2009-01-14 Mike Frysinger <vapier@gentoo.org>
866 * bfin-dis.c (OUTS): Use "%s" as format string.
868 2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
870 * i386-gen.c (cpu_flag_init): Remove a white space.
871 (operand_type_init): Likewise.
873 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
875 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
876 * i386-tbl.h: Regenerated.
878 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
880 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
881 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
884 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
886 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
887 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
888 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
889 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
892 (set_bitfield): Take an argument, lineno. Don't report lineno
893 on error if it is -1.
894 (process_i386_cpu_flag): Take an argument, lineno.
895 (process_i386_opcode_modifier): Likewise.
896 (process_i386_operand_type): Likewise.
897 (output_i386_opcode): Likewise.
898 (opcode_hash_entry): Add lineno.
899 (process_i386_opcodes): Updated.
900 (process_i386_registers): Likewise.
901 (process_i386_initializers): Likewise.
903 * i386-opc.h (CpuP4): Removed.
907 (CpuSYSCALL): Likewise.
909 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
910 cpuclflush and cpusyscall.
912 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
914 * i386-init.h: Regenerated.
915 * i386-tbl.h: Likewise.
917 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
919 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
920 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
921 (cpu_flags): Add CpuRdtscp.
922 (set_bitfield): Remove CpuSledgehammer check.
924 * i386-opc.h (CpuRdtscp): New.
926 (i386_cpu_flags): Add cpurdtscp.
928 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
929 * i386-init.h: Regenerated.
930 * i386-tbl.h: Likewise.
932 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
934 * ppc-opc.c (PPCNONE): Define.
936 (powerpc_opcodes): Initialize the new "deprecated" field.
938 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
940 AVX Programming Reference (December, 2008)
941 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
942 (VEX_LEN_E7_P_2_M_0): Likewise.
943 (VEX_LEN_2C_P_1): Updated.
944 (VEX_LEN_E8_P_2): Likewise.
945 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
946 (mod_table): Likewise.
948 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
949 * i386-tbl.h: Regenerated.
951 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
953 * i386-gen.c (process_copyright): Update for 2009.
955 * i386-init.h: Regenerated.
956 * i386-tbl.h: Likewise.
958 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
960 AVX Programming Reference (December, 2008)
961 * i386-dis.c (OP_VEX_FMA): Removed.
962 (OP_EX_VexW): Likewise.
963 (OP_EX_VexImmW): Likewise.
964 (OP_XMM_VexW): Likewise.
965 (VEXI4_Fixup): Likewise.
966 (VPERMIL2_Fixup): Likewise.
969 (Vex128FMA): Likewise.
973 (EXVexImmW): Likewise.
975 (VPERMIL2): Likewise.
976 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
977 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
978 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
979 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
980 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
981 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
982 (get_vex_imm8): Likewise.
983 (OP_EX_VexReg): Likewise.
984 vpermil2_op): Likewise.
986 (vex_w_dq_mode): Likewise.
987 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
988 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
989 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
991 (PREFIX_VEX_38DB): Likewise.
992 (PREFIX_VEX_3A4A): Likewise.
993 (PREFIX_VEX_3A60): Likewise.
994 (PREFIX_VEX_3ADF): Likewise.
995 (VEX_LEN_3ADF_P_2): Likewise.
996 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
997 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
998 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
999 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
1000 PREFIX_VEX_3896...PREFIX_VEX_389F,
1001 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
1002 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
1003 (vex_table): Likewise.
1004 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
1005 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
1006 (putop): Support "%XW".
1007 (intel_operand_size): Handle vex_w_dq_mode.
1009 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
1011 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
1012 instructions. Add new FMA instructions.
1013 * i386-tbl.h: Regenerated.
1015 2009-01-02 Matthias Klose <doko@ubuntu.com>
1017 * or32-opc.c (or32_print_register, or32_print_immediate,
1018 disassemble_insn): Don't rely on undefined sprintf behaviour.
1020 For older changes see ChangeLog-2008
1026 version-control: never