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