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