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