1 2009-11-17 Edward Nevill <edward.nevill@arm.com>
3 * arm-dis.c (print_insn_thumb32): Handle undefined instruction.
5 2009-11-14 Doug Evans <dje@sebabeach.org>
7 * Makefile.am (stamp-xc16x): Use ../cpu/xc16x.cpu instead of
9 * Makefile.in: Regenerate.
11 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
13 * i386-dis.c (OP_E_extended): Removed.
15 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
17 * i386-dis.c (print_insn): Check rex_ignored.
19 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
21 * i386-dis.c (ckprefix): Updated to return 0 if number of
22 prefixes > 14 and record the last position for each prefix.
23 (lock_prefix): Removed.
24 (data_prefix): Likewise.
25 (addr_prefix): Likewise.
26 (repz_prefix): Likewise.
27 (repnz_prefix): Likewise.
28 (last_lock_prefix): New.
29 (last_repz_prefix): Likewise.
30 (last_repnz_prefix): Likewise.
31 (last_data_prefix): Likewise.
32 (last_addr_prefix): Likewise.
33 (last_rex_prefix): Likewise.
34 (last_seg_prefix): Likewise.
35 (MAX_CODE_LENGTH): Likewise.
36 (ADDR16_PREFIX): Likewise.
37 (ADDR32_PREFIX): Likewise.
38 (DATA16_PREFIX): Likewise.
39 (DATA32_PREFIX): Likewise.
40 (REP_PREFIX): Likewise.
41 (seg_prefix): Likewise.
42 (all_prefixes): Change size to MAX_CODE_LENGTH - 1.
43 (prefix_name): Handle ADDR16_PREFIX, ADDR32_PREFIX,
44 DATA16_PREFIX, DATA32_PREFIX and REP_PREFIX.
45 (get_valid_dis386): Updated.
47 (OP_Monitor): Likewise.
48 (REP_Fixup): Likewise.
49 (print_insn): Display all prefixes.
50 (putop): Set PREFIX_DATA on used_prefixes only if it is used.
51 (intel_operand_size): Likewise.
52 (OP_E_register): Likewise.
59 (CRC32_Fixup): Likewise.
60 (MOVBE_Fixup): Likewise.
61 (OP_E_memory): Set REFIX_DATA on used_prefixes when it is used
63 (OP_J): Set REX_W used if it is used. Set PREFIX_DATA on
64 used_prefixes only if it is used.
66 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
68 * i386-opc.tbl: Remove IsLockable from add, adc, and, dec, inc,
69 or, sbb, sub, xor and xchg with register only operands.
70 * i386-tbl.h: Regenerated.
72 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
74 * i386-gen.c (opcode_modifiers): Add IsLockable.
76 * i386-opc.h (IsLockable): New.
77 (i386_opcode_modifier): Add islockable.
79 * i386-opc.tbl: Add IsLockable to add, adc, and, btc, btr,
80 bts, cmpxchg, cmpxch8b, dec, inc, neg, not, or, sbb, sub,
82 * i386-tbl.h: Regenerated.
84 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
86 * arm-dis.c (coprocessor_opcodes): Use %A instead of %C. Remove
87 generic coprocessor instructions for FPA loads and stores.
88 (print_insn_coprocessor): Remove %C support. Display address for
89 PC-relative offsets in %A.
91 2009-11-11 H.J. Lu <hongjiu.lu@intel.com>
93 * i386-dis.c (all_prefixes): New.
94 (ckprefix): Set all_prefixes.
95 (print_insn): Print all_prefixes instead of lock_prefix,
96 repz_prefix, repnz_prefix, addr_prefix and data_prefix.
98 2009-11-11 Nick Clifton <nickc@redhat.com>
101 * arm-dis.c (UNPREDICTABLE_INSTRUCTION): New macro.
102 (print_insn_arm): Extend %s format control code to check for
103 unpredictable addressing modes. Add support for %S format control
104 code which suppresses this check.
105 (W_BIT, I_BIT, U_BIT, P_BIT): New macros.
106 (WRITEBACK_BIT_SET, IMMEDIATE_BIT_SET, NEGATIVE_BIT_SET,
107 PRE_BIT_SET): New macros.
108 (print_insn_coprocessor): Use the new macros instead of magic
110 (print_arm_address): Likewise.
111 (pirnt_insn_arm): Likewise.
112 (print_insn_thumb32): Likewise.
114 2009-11-11 Nick Clifton <nickc@redhat.com>
116 * po/id.po: Updated Indonesian translation.
118 2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com>
120 * m68k-dis.c (print_insn_arg): Handle RGPIOBAR, ACR[4-7] and MBAR[01].
122 2009-11-06 Sebastian Pop <sebastian.pop@amd.com>
124 * i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to
125 reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to
126 B.mm in the RXB.mmmmm byte, and so when B is set, we still should use
128 (get_valid_dis386): Removed unused condition (from cut/n/paste) for
131 2009-11-05 Sebastian Pop <sebastian.pop@amd.com>
132 Quentin Neill <quentin.neill@amd.com>
134 * opcodes/i386-dis.c (OP_LWPCB_E): New.
137 (USE_XOP_8F_TABLE): New.
139 (REG_XOP_LWPCB): New.
143 (reg_table): Redirect REG_8F to XOP_8F_TABLE.
144 Add entries for REG_XOP_LWPCB and REG_XOP_LWP.
146 (get_valid_dis386): Handle USE_XOP_8F_TABLE.
147 Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values
148 to access to the vex_table.
152 * opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP.
153 (cpu_flags): Add CpuLWP.
154 (opcode_modifiers): Add VexLWP, XOP09, and XOP0A.
155 * opcodes/i386-opc.h (CpuLWP): New.
156 (i386_cpu_flags): Add bit cpulwp.
160 (i386_opcode_modifier): Add vexlwp, xop09, and xop0a.
161 * opcodes/i386-opc.tbl (llwpcb): Added.
165 2009-11-04 DJ Delorie <dj@redhat.com>
167 * rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
168 (mvtcp, mvfcp, opecp): Remove.
169 * rx-decode.c: Regenerate.
170 * rx-dis.c (cpen): Remove.
172 2009-11-03 Doug Evans <dje@sebabeach.org>
174 * m32c-desc.c: Regenerate.
175 * mep-desc.c: Regenerate.
177 2009-11-02 Paul Brook <paul@codesourcery.com>
179 * arm-dis.c (coprocessor_opcodes): Update to use new feature flags.
180 Add VFPv4 instructions.
182 2009-10-29 Sebastian Pop <sebastian.pop@amd.com>
184 * i386-dis.c (OP_VEX_FMA): Removed.
186 (Vex128FMA): Removed.
187 (prefix_table): First source operand of FMA4 insns is decoded
188 with Vex not with VexFMA.
189 (OP_EX_VexW): Second source operand is decoded with get_vex_imm8
190 when vex.w is set. Third source operand is decoded with
192 2009-10-27 Alan Modra <amodra@bigpond.net.au>
194 * Makefile.am (HFILES): Remove cgen-ops.h and cgen-types.h.
195 * Makefile.in: Regenerate.
196 * po/POTFILES.in: Regenerate.
198 2009-10-23 Doug Evans <dje@sebabeach.org>
200 * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h.
201 * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h.
202 * cgen-bitset.c: Update.
203 * fr30-desc.h: Regenerate.
204 * frv-desc.h: Regenerate.
205 * ip2k-desc.h: Regenerate.
206 * iq2000-desc.h: Regenerate.
207 * lm32-desc.h: Regenerate.
208 * m32c-desc.h: Regenerate.
209 * m32c-opc.h: Regenerate.
210 * m32r-desc.h: Regenerate.
211 * mep-desc.h: Regenerate.
212 * mt-desc.h: Regenerate.
213 * openrisc-desc.h: Regenerate.
214 * xc16x-desc.h: Regenerate.
215 * xstormy16-desc.h: Regenerate.
217 2009-10-22 DJ Delorie <dj@redhat.com>
219 * rx-decode.opc (decode_opcode): Fix flags for MUL, SUNTIL, and SWHILE.
220 * rx-decode.c: Regenerated.
222 2009-10-20 H.J. Lu <hongjiu.lu@intel.com>
225 * i386-dis.c: Document LB, LS and LV macros.
226 (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction
227 with the 64-bit displacement or immediate operand.
228 (putop): Handle LB, LS and LV macros.
230 2009-10-18 Doug Evans <dje@sebabeach.org>
232 * lm32-opinst.c: Regenerate.
233 * m32c-desc.c: Regenerate.
234 * m32r-opinst.c: Regenerate.
235 * openrisc-ibld.c: Regenerate.
236 * xc16x-desc.c: Regenerate.
237 * xc16x-desc.h: Regenerate.
239 2009-10-17 Doug Evans <dje@sebabeach.org>
241 * Makefile.am (CGEN_CPUS): Add iq2000, lm32.
242 (FR30_DEPS, FRV_DEPS, IQ2000_DEPS): Move so all cgen *_DEPS are
243 sorted alphabetically.
244 (stamp-fr30, stamp-frv, stamp-iq2000, stamp-xc16x): Move so all cgen
245 stamp-* rules are sorted alphabetically.
246 * Makefile.in: Regenerate.
248 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
250 * i386-opc.h: Use enum instead of nested macros.
252 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
254 * i386-dis.c: Simplify enums.
256 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
257 Ineiev <ineiev@gmail.com>
260 * i386-dis.c: Use enum instead of nested macros.
262 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
264 * i386-dis.c (MAX_BYTEMODE): Removed.
266 2009-10-14 Tomas Hurka <tom@hukatronic.cz>
269 * m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl.
271 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
273 * i386-dis.c (print_insn): Always clear need_vex, need_vex_reg
276 2009-10-07 Michael Eager <eager@eagercon.com>
278 * microblaze-dis.c: Add include for microblaze-dis.h,
279 eliminate local extern decls.
280 * microblaze-dis.h: New.
282 2009-10-06 Nick Clifton <nickc@redhat.com>
284 * po/fi.po: Updated Finnish translation.
286 2009-10-03 Andreas Schwab <schwab@linux-m68k.org>
288 * opc2c.c: Include "libiberty.h" and <errno.h>.
289 (orig_filename): Constify.
290 (dump_lines): Fix line number directive.
291 (main): Set orig_filename to basename of input file. Use
294 * Makefile.am (rx-dis.lo): Remove explicit dependencies.
295 ($(srcdir)/rx-decode.c): Use @MAINT@. Use $(EXEEXT_FOR_BUILD)
296 instead of $(EXEEXT).
297 (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
298 $(LINK_FOR_BUILD). Link with libiberty.
299 (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
300 (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
301 * Makefile.in: Regenerated.
302 * rx-decode.c: Regenerated.
304 2009-10-03 Paul Reed <paulreed@paddedcell.com>
306 * arm-dis.c (print_insn): Check symtab_size not *symtab.
308 2009-10-02 H.J. Lu <hongjiu.lu@intel.com>
310 * i386-opc.tbl: Drop Disp64 on jump and loop instructions.
311 * i386-tbl.h: Regenerated.
313 2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
315 * ppc-dis.c (ppc_opts): Add "476" entry.
316 * ppc-opc.c (PPC476): Define.
317 (powerpc_opcodes): Update mnemonics where required for 476.
319 2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
321 * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
322 * ppc-dis.c (ppc_opts): Likewise.
323 Rename "ppca2" to "a2".
325 2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
327 * crx-dis.c (match_opcode): Truncate mcode to 32-bit.
329 2009-09-29 DJ Delorie <dj@redhat.com>
331 * Makefile.am: Add RX files.
332 * configure.in: Add support for RX target.
333 * disassemble.c: Likewise.
334 * Makefile.in: Regenerate.
335 * configure: Regenerate.
337 * rx-decode.c: New file.
338 * rx-decode.opc: New file.
339 * rx-dis.c: New file.
341 2009-09-29 Peter Bergner <bergner@vnet.ibm.com>
343 * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
344 "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.
346 2009-09-25 Michael Eager <eager@eagercon.com>
348 * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
349 microblaze_decode_insn): Add declarations.
350 (get_delay_slots_microblaze): Remove.
352 2009-09-25 Martin Thuresson <martint@google.com>
354 Update sources to make arc and arm targets compile cleanly with
356 * arc-dis.c Fix casts.
357 * arc-ext.c: Add casts.
358 * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
361 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
363 * i386-gen.c (opcode_modifiers): Remove Vex256.
364 (set_bitfield): Handle XXX=V.
366 * i386-opc.h (Vex): Update comments.
369 (i386_opcode_modifier): Change vex to 2 bits. Remove vex256.
371 * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2.
372 * i386-tbl.h: Regenerated.
374 2009-09-23 Nick Clifton <nickc@redhat.com>
376 * po/fr.po: Updated French translation.
378 2009-09-21 Ben Elliston <bje@au.ibm.com>
379 Peter Bergner <bergner@vnet.ibm.com>
381 * ppc-dis.c (ppc_opts): Add "ppca2" entry.
382 * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
383 eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
384 icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
386 (ERAT_T): New operand.
387 (XWC_MASK): New mask.
391 2009-09-18 Nick Clifton <nickc@redhat.com>
393 * po/es.po: Updated Spanish translation.
394 * po/vi.po: Updated Vietnamese translation.
396 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
398 * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
401 2009-09-14 Nick Clifton <nickc@redhat.com>
403 * po/nl.po: Updated Dutch translation.
405 2009-09-11 Nick Clifton <nickc@redhat.com>
407 * po/opcodes.pot: Updated by the Translation project.
409 2009-09-11 Martin Thuresson <martint@google.com>
411 Updated sources to compile cleanly with -Wc++-compat:
412 * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
413 * ldcref.c: Add casts.
414 * ldctor.c: Add casts.
416 * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
417 * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
418 * ldlang.h (enum statement_enum): Move to top level.
419 * ldmain.c: Add casts.
420 * ldwrite.c: Add casts.
421 * lexsup.c: Add casts. (enum control_enum): Move to top level.
422 * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
424 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
426 * s390-dis.c (print_insn_s390): Avoid 'long long'.
428 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
430 * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
431 (print_insn_s390): Signextend and shift pcrel operands before printing.
433 2009-09-09 H.J. Lu <hongjiu.lu@intel.com>
435 * i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to
436 VEX_LEN_AE_R_X_M_0 in comments.
438 2009-09-08 DJ Delorie <dj@redhat.com>
440 * mep-opc.c: Regenerate.
442 2009-09-08 Andreas Schwab <schwab@linux-m68k.org>
444 * z8kgen.c (struct op): Replace unused flavor with id.
445 (opt): Remove extra xorb entry.
446 (func): Use id field as fallback.
447 (sub): Return new string, caller changed.
448 (internal): Allocate end marker. Assign unique id before sorting.
449 (gas): Likewise. Fix loop end condition.
450 * z8k-opc.h: Regenerate.
452 2009-09-08 Alan Modra <amodra@bigpond.net.au>
454 * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
456 2009-09-07 Alan Modra <amodra@bigpond.net.au>
458 * z8kgen.c (func): Fix thinko last patch.
460 2009-09-07 Alan Modra <amodra@bigpond.net.au>
462 * z8kgen.c (func): Stabilize qsort of identically named entries.
463 * z8k-opc.h: Regenerate.
465 2009-09-07 Tristan Gingold <gingold@adacore.com>
467 * po/opcodes.pot: Regenerate.
469 2009-09-07 Alan Modra <amodra@bigpond.net.au>
471 * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
472 * configure: Regenerate.
473 * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
474 (BUILD_LIBS, BUILD_LIB_DEPS): Define. Use..
475 (i386-gen, ia64-gen, z8kgen): ..here.
476 * Makefile.in: Regenerate.
478 2009-09-07 Tristan Gingold <gingold@adacore.com>
480 * z8k-opc.h: Regenerate.
482 2009-09-05 Martin Thuresson <martin@mtme.org>
484 * ia64-dis.c (print_insn_ia64): Update code to use renamed member.
485 * m88k-dis.c (m88kdis): Rename variable class to in_class.
486 * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol):
487 Rename argument class to symbol_class.
489 2009-09-04 Jie Zhang <jie.zhang@analog.com>
491 * bfin-dis.c (decode_pseudodbg_assert_0): Change according
492 to the new encoding of DBGA, DBGAH, and DBGAL.
493 (_print_insn_bfin): Likewise.
495 2009-09-03 Jie Zhang <jie.zhang@analog.com>
497 * bfin-dis.c (_print_insn_bfin): Don't declare.
498 (print_insn_bfin): Don't declare.
499 (dregs_pair): Remove.
500 (ignore_bits): Remove.
503 2009-09-03 Jie Zhang <jie.zhang@analog.com>
505 * bfin-dis.c (IS_DREG): Define.
511 (decode_REGMV_0): Check illegal register move instructions.
513 2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
515 * Makefile.am (BUILD_LIBINTL): New variable.
516 (i386-gen$(EXEEXT_FOR_BUILD)): Use it.
517 (ia64-gen$(EXEEXT_FOR_BUILD)): And here.
518 (z8kgen$(EXEEXT_FOR_BUILD)): And here.
519 * Makefile.in: Regenerate.
521 2009-09-01 DJ Delorie <dj@redhat.com>
523 * mep-asm.c: Regenerate.
524 * mep-desc.c: Regenerate.
525 * mep-opc.c: Regenerate.
527 2009-09-01 Tristan Gingold <gingold@adacore.com>
529 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
530 dependencies. Remove unused FORMAT variable.
531 * configure.com: New file to create build.com DCL script for
532 Itanium VMS or Alpha VMS.
534 2009-08-29 Martin Thuresson <martin@mtme.org>
536 * cris-dis.c (bytes_to_skip): Update code to use new name.
537 * i386-dis.c (putop): Update code to use new name.
538 * i386-gen.c (process_i386_opcodes): Update code to use
540 * i386-opc.h (struct template): Rename struct template to
541 insn_template. Update code accordingly.
542 * i386-tbl.h (i386_optab): Update type to use new name.
543 * ia64-dis.c (print_insn_ia64): Rename variable template
545 * tic30-dis.c (struct instruction, get_tic30_instruction):
546 Update code to use new name.
547 * tic54x-dis.c (has_lkaddr, get_insn_size)
548 (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
549 Update code to use new name.
550 * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
551 Update type to new name.
552 * z8kgen.c (internal, gas): Rename variable new to new_op.
554 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
556 * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
557 Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
558 (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
559 CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
560 * Makefile.in: Regenerated.
562 2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
564 * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
565 [INSTALL_LIBBFD]: ... here, ...
566 [INSTALL_LIBBFD]: ... and empty overrides here.
567 [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
568 [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
569 * Makefile.in: Regenerate.
570 * configure: Regenerate.
572 2009-08-26 Philippe De Muyter <phdm@macqel.be>
574 * m68k-dis.c (print_insn_arg): Add movecr register names for
575 coldfire v4e families.
577 2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
579 * Makefile.am (SUBDIRS): Build '.' before 'po'.
580 (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
581 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
582 (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
583 using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
584 (i386-gen.o): New rule.
585 ($(srcdir)/i386-init.h): Adjust.
586 (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
587 (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
588 (ia64-gen.o): New rule.
589 (ia64_asmtab_deps): New variable.
590 ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
591 (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
592 (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
594 (s390-opc.tab): Adjust.
595 (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
597 (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
598 * Makefile.in: Regenerate.
599 * z8kgen.c (gas): Avoid '/*' in comment.
600 * z8k-opc.h (func): Regenerate.
602 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
604 * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
605 from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
606 i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
607 ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
609 (LIBOPCODES_CFILES): New variable, adding to
610 TARGET_LIBOPCODES_CFILES also non-target library sources.
611 (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
613 (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
614 (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
615 * Makefile.in: Regenerate.
616 * po/POTFILES.in: Regenerate.
618 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
620 * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
621 [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
622 [INSTALL_LIBBFD] (bfdinclude_DATA): New.
623 [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
624 [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
625 is built shared even if it is not to be installed.
626 (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
627 (install_libopcodes, uninstall_libopcodes): Remove.
628 (AM_CPPFLAGS): Renamed from ...
629 (INCLUDES): ... this.
630 * Makefile.in: Regenerate.
632 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
633 1.11, foreign, no-dist.
634 (MKDEP, m32c_opc_h): Remove variables.
635 (disassemble.lo): Rewrite using automake-style dependency
636 tracking rules; only list the dependency upon the primary source
637 file, but no included headers.
638 (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
639 (i386-gen.o, ia64-gen.o): Remove dependency statements.
640 (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
641 ensure all dependency fragments are included in the Makefile.
642 (s390-opc.lo): Depend on s390-opc.tab.
643 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
644 (mkdep section): Remove.
645 * Makefile.in: Regenerate.
646 * po/POTFILES.in: Regenerate.
648 * Makefile.am (install-pdf, install-html): Remove.
649 * Makefile.in: Regenerate.
651 * Makefile.in: Regenerate.
652 * aclocal.m4: Likewise.
653 * config.in: Likewise.
654 * configure: Likewise.
656 2009-08-06 Michael Eager <eager@eagercon.com>
658 * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
659 CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
660 * Makefile.in: Regenerate.
661 * configure.in: Add bfd_microblaze_arch target.
662 * configure: Regenerate.
663 * disassemble.c: Define ARCH_microblaze, return
664 print_insn_microblaze().
665 * microblaze-dis.c: New MicroBlaze disassembler.
666 * microblaze-opc.h: New MicroBlaze opcode definitions.
667 * microblaze-opcm.h: New MicroBlaze opcode types.
669 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
671 * configure.in: Handle bfd_l1om_arch.
672 * disassemble.c (disassembler): Likewise.
674 * configure: Regenerated.
676 * i386-dis.c (print_insn): Handle bfd_mach_l1om and
677 bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM.
679 * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
681 (cpu_flags): Add CpuL1OM.
682 (set_bitfield): Take an argument to set the value field.
683 (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
684 (process_i386_opcode_modifier): Updated.
685 (process_i386_operand_type): Likewise.
686 * i386-init.h: Regenerated.
687 * i386-tbl.h: Likewise.
689 * i386-opc.h (CpuL1OM): New.
691 (i386_cpu_flags): Add cpul1om.
693 2009-07-24 Jan Beulich <jbeulich@novell.com>
695 * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
697 * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
698 (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
699 (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
700 * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
702 (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
704 * i386-opc.tbl: Qualify floating point instructions by their
705 respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
706 and fsincos to be avilable only on 387. Fix fstsw ax to be
707 available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
709 * i386-init.h, i386-tbl.h: Regenerate.
711 2009-07-20 Nick Clifton <nickc@redhat.com>
714 * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
715 offset or indexed based addressing mode 3.
717 2009-07-14 Nick Clifton <nickc@redhat.com>
720 * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
722 (arm_decode_shift): Catch illegal register based shifts.
723 (print_insn_arm): Properly handle negative register r0
724 post-indexed addressing.
726 2009-07-10 Doug Kwan <dougkwan@google.com>
728 * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only
729 lower 32 bits of long types to make hexadecimal output consistent
730 on both 32-bit and 64-bit hosts.
732 2009-07-10 Alan Modra <amodra@bigpond.net.au>
734 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
735 * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
736 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
737 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
738 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
739 * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
740 * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
741 * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
742 * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
743 * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
744 * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
745 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
747 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
749 * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
751 2009-07-07 Nick Clifton <nickc@redhat.com>
754 * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
757 2009-07-06 DJ Delorie <dj@redhat.com>
759 * mep-desc.c: Regenerate.
760 * mep-desc.h: Regenerate.
761 * mep-opc.c: Regenerate.
762 * mep-opc.h: Regenerate.
764 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
766 * i386-opc.h (CpuFMA4): Add CpuFMA4.
767 (i386_cpu_flags): New.
768 * i386-gen.c: Add CPU_FMA4_FLAGS.
769 * i386-opc.tbl: Add FMA4 instructions.
770 * i386-tbl.h: Regenerate.
771 * i386-init.h: Regenerate.
772 * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
773 (OP_XMM_VexW): Ditto.
775 (VEXI4_Fixup): Ditto.
776 (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
777 (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
778 (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
779 (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
780 (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
781 (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
782 (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
783 (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
784 (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
785 (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
786 (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
787 (get_vex_imm8): New. handle FMA4.
788 (OP_EX_VexReg): Ditto.
790 2009-06-30 Nick Clifton <nickc@redhat.com>
793 * arm-dis.c (coprocessor): Print the LDC and STC versions of the
794 LFM and SFM instructions as comments,.
795 Improve consistency of formatting for instructions displayed as
796 comments and decimal values displayed with their hexadecimal
800 2009-06-29 Nick Clifton <nickc@redhat.com>
803 * arm-dis.c (enum opcode_sentinels): New: Used to mark the
804 boundary between variaant and generic coprocessor instuctions.
805 (coprocessor): Use it.
806 Fix architecture version of MCRR and MRRC instructions.
807 (arm_opcdes): Fix patterns for STRB and STRH instructions.
808 (print_insn_coprocessor): Check architecture and extension masks.
809 Print a hexadecimal version of any decimal constant that is
810 outside of the range of -16 to +32.
811 (print_arm_address): Add a return value of the offset used in the
812 adress, if it is worth printing a hexadecimal version of it.
813 (print_insn_neon): Print a hexadecimal version of any decimal
814 constant that is outside of the range of -16 to +32.
815 (print_insn_arm): Likewise.
816 (print_insn_thumb16): Likewise.
817 (print_insn_thumb32): Likewise.
820 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
821 of an undefined instruction.
822 (arm_opcodes): Use it.
823 (thumb_opcod): Use it.
824 (thumb32_opc): Use it.
826 2009-06-23 DJ Delorie <dj@redhat.com>
828 * mep-desc.c: Regenerate.
829 * mep-desc.h: Regenerate.
830 * mep-dis.c: Regenerate.
831 * mep-ibld.c: Regenerate.
832 * mep-opc.c: Regenerate.
834 * mep-asm.c: Regenerate.
835 * mep-opc.c: Regenerate.
836 * mep-opc.h: Regenerate.
838 2009-06-22 Nick Clifton <nickc@redhat.com>
840 * po/fi.po: Updated Finish translation.
842 2009-06-22 Alan Modra <amodra@bigpond.net.au>
844 * m32c-asm.c: Regenerate.
846 2009-06-22 Alan Modra <amodra@bigpond.net.au>
848 * score-dis.c (print_insn_score48, print_insn_score32): Move default
849 case label to proper lexical block.
850 * score7-dis.c (print_insn_score32): Likewise.
852 2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
854 * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
855 MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
856 * s390-opc.txt (nopr, nop): Use new instruction format.
858 2009-06-18 Nick Clifton <nickc@redhat.com>
861 * arm-dis.c (print_insn_coprocessor): Check that a user specified
862 ARM architecture supports the matched instruction.
863 (print_insn_arm): Likewise.
864 (select_arm_features): New function. Fills in the fields of an
865 arm_feature_set structure based on a given arm machine number.
866 (print_insn): Initialise an arm_feature_set structure.
868 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
870 * vax-dis.c (is_function_entry): Return success for synthetic
872 (is_plt_tail): New function.
873 (print_insn_vax): Decode PLT entry offset longword.
875 2009-06-15 Nick Clifton <nickc@redhat.com>
878 * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
882 * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
884 2009-06-15 Nick Clifton <nickc@redhat.com>
887 * arm-dis.c (print_insn): Ignore is_data if the user has requested
888 the disassembly of data as well as instructions.
890 2009-06-11 Doug Evans <dje@sebabeach.org>
892 * cgen.sh: Handle multiple simultaneous runs for parallel makes.
894 2009-06-11 Anthony Green <green@moxielogic.com>
896 * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
897 (moxie_form3_opc_info): Add branch instructions.
898 * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
899 encoded instructions.
901 2009-06-06 Anthony Green <green@moxielogic.com>
903 * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
904 * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
906 2009-06-04 Alan Modra <amodra@bigpond.net.au>
908 * dep-in.sed: Don't use \n in replacement part of s command.
909 * Makefile.am (DEP1): LC_ALL for uniq.
910 * Makefile.in: Regenerate.
912 2009-06-02 Nick Clifton <nickc@redhat.com>
914 * po/nl.po: Updated Dutch translation.
916 2009-06-02 Tristan Gingold <gingold@adacore.com>
918 * ia64-gen.c (parse_resource_users, print_dependency_table,
919 add_dis_table_ent, finish_distable, insert_bit_table_ent,
920 add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
921 get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
922 insert_completer_entry, print_completer_entry, print_completer_table,
923 opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
925 2009-05-28 DJ Delorie <dj@redhat.com>
927 * mep-asm.c: Regenerate.
928 * mep-desc.c: Regenerate.
930 2009-05-26 DJ Delorie <dj@redhat.com>
932 * mep-asm.c: Regenerate.
933 * mep-desc.c: Regenerate.
934 * mep-desc.h: Regenerate.
935 * mep-dis.c: Regenerate.
936 * mep-ibld.c: Regenerate.
937 * mep-opc.c: Regenerate.
938 * mep-opc.h: Regenerate.
940 2009-05-26 Nick Clifton <nickc@redhat.com>
942 * po/id.po: Updated Indonesian translation.
943 * po/opcodes.pot: Updated template file.
945 2009-05-26 Alan Modra <amodra@bigpond.net.au>
947 * dep-in.sed: Don't modify .o to .lo here. Output one filename
948 per line with all lines having continuation backslash. Prefix
949 first line with "A", following lines with "B".
950 * Makefile.am (DEP): Don't use dep.sed here.
951 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
952 dep.sed here on dependencies, sort and uniq.
953 * Makefile.in: Regenerate.
955 2009-05-25 Tristan Gingold <gingold@adacore.com>
957 * makefile.vms (OPT): New variable.
958 (CFLAGS): Update compilation flags.
960 2009-05-22 DJ Delorie <dj@redhat.com>
962 * mep-asm.c: Regenerate.
963 * mep-desc.c: Regenerate.
964 * mep-desc.h: Regenerate.
965 * mep-dis.c: Regenerate.
966 * mep-ibld.c: Regenerate.
967 * mep-opc.c: Regenerate.
968 * mep-opc.h: Regenerate.
970 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
972 * i386-opc.h (Cpusse5): Delete.
973 (i386_cpu_flags): Delete.
974 * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
975 * i386-opc.tbl: Remove SSE5 instructions.
976 * i386-tbl.h: Regenerate.
977 * i386-init.h: Regenerate.
978 * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
979 (print_drex_arg): Delete.
982 (OP_DREX_ICMP): Delete.
983 (OP_DREX_FCMP): Delete.
985 (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
987 2009-05-22 Alan Modra <amodra@bigpond.net.au>
989 * Makefile.am: Run "make dep-am".
990 * Makefile.in: Regenerate.
991 * po/POTFILES.in: Regenerate.
993 2009-05-19 DJ Delorie <dj@redhat.com>
995 * mep-asm.c: Regenerate.
996 * mep-opc.c: Regenerate.
998 2009-04-30 DJ Delorie <dj@redhat.com>
1000 * mep-asm.c: Regenerate.
1001 * mep-desc.c: Regenerate.
1002 * mep-desc.h: Regenerate.
1003 * mep-dis.c: Regenerate.
1004 * mep-ibld.c: Regenerate.
1005 * mep-opc.c: Regenerate.
1006 * mep-opc.h: Regenerate.
1008 2009-04-17 DJ Delorie <dj@redhat.com
1010 * mep-desc.c: Regenerate.
1011 * mep-ibld.c: Regenerate.
1012 * mep-opc.c: Regenerate.
1013 * mep-opc.h: Regenerate.
1015 2009-04-15 Anthony Green <green@moxielogic.com>
1017 * moxie-opc.c, moxie-dis.c: Created.
1018 * Makefile.am: Build the moxie source files.
1019 * configure.in: Add moxie support.
1020 * Makefile.in, configure: Rebuilt.
1021 * disassemble.c (disassembler): Add moxie support.
1022 (ARCH_moxie): Define.
1024 2009-04-15 Jan Beulich <jbeulich@novell.com>
1026 * i386-opc.tbl (protb, protw, protd, protq): Set opcode
1028 (pshab, pshaw, pshad, pshaq): Likewise.
1029 * i386-tbl.h: Re-generate.
1031 2009-04-08 DJ Delorie <dj@redhat.com
1033 * mep-asm.c: Regenerate.
1034 * mep-desc.c: Regenerate.
1035 * mep-desc.h: Regenerate.
1036 * mep-dis.c: Regenerate.
1037 * mep-ibld.c: Regenerate.
1038 * mep-opc.c: Regenerate.
1039 * mep-opc.h: Regenerate.
1041 2009-04-07 Peter Bergner <bergner@vnet.ibm.com>
1043 * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
1044 "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
1045 Reorder entries so the extended mnemonics are listed before tlbilx.
1047 2009-04-02 Peter Bergner <bergner@vnet.ibm.com>
1049 * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
1051 (print_insn_powerpc): Make sure we only deprecate instructions using
1052 the original dialect and not a modified dialect due to -Many handling.
1053 Move the handling of the condition register and default operands to
1054 the end of the if/else if/else chain.
1055 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1056 instructions from newer processors are listed before older ones.
1057 <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
1058 that have instructions with conflicting opcodes.
1060 2009-04-01 Peter Bergner <bergner@vnet.ibm.com>
1062 * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
1065 2009-04-01 Christophe Lyon <christophe.lyon@st.com>
1067 * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
1069 2009-03-30 Joseph Myers <joseph@codesourcery.com>
1071 * arm-dis.c (print_insn): Also check section matches in backwards
1072 search for mapping symbol.
1074 2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
1076 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
1078 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1080 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
1081 * Makefile.am: Run "make dep-am".
1082 * Makefile.in: Regenerate.
1083 * openrisc-opc.c: Regenerate.
1085 2009-03-10 Nick Clifton <nickc@redhat.com>
1087 * po/id.po: Updated Indonesian translation.
1089 2009-03-10 Alan Modra <amodra@bigpond.net.au>
1091 * ppc-dis.c: Include "opintl.h".
1092 (struct ppc_mopt, ppc_opts): New.
1093 (ppc_parse_cpu): New function.
1094 (powerpc_init_dialect): Use it.
1095 (print_ppc_disassembler_options): Dump options from ppc_opts.
1096 Internationalize message.
1098 2009-03-06 Nick Clifton <nickc@redhat.com>
1100 * po/es.po: Updated Spanish translation.
1102 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1105 * configure.in: Test for ld --as-needed support. Link shared
1106 libopcodes against libm.
1107 * configure: Regenerate.
1109 2009-03-03 Peter Bergner <bergner@vnet.ibm.com>
1111 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1112 instructions from newer processors are listed before older ones.
1114 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1116 * Makefile.am: Run "make dep-am".
1117 (HFILES): Move lm32-desc.h and lm32-opc.h from..
1119 * Makefile.in: Regenerate.
1121 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1123 * score7-dis.c: New file.
1124 * Makefile.am: Add dependencies for score7-dis.c.
1125 * Makefile.in: Regenerate.
1126 * configure.in: Add score7-dis to score files.
1127 * configure: Regenerate.
1128 * score-dis.c: Add support for score7 architecture.
1129 * score-opc.h: Likewise.
1131 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1133 * configure: Regenerate.
1135 2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
1137 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
1139 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1141 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
1142 the power7 and the isel instructions.
1143 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
1144 (insert_dm, extract_dm): Likewise.
1145 (XB6): Update comment to include XX2 form.
1146 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
1147 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
1148 (RemoveXX3DM): Delete.
1149 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
1150 "mftgpr">: Deprecate for POWER7.
1151 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
1152 "frsqrte.">: Deprecate the three operand form and enable the two
1153 operand form for POWER7 and later.
1154 <"wait">: Extend to accept optional parameter. Enable for POWER7.
1155 <"waitsrv", "waitimpl">: Add extended opcodes.
1156 <"ldbrx", "stdbrx">: Enable for POWER7.
1157 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
1158 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
1159 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
1160 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
1161 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
1162 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
1163 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
1164 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
1165 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
1166 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
1167 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
1168 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
1169 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
1170 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
1171 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
1172 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
1173 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
1174 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
1175 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
1176 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
1177 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
1178 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
1179 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
1180 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
1181 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
1182 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
1183 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
1184 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
1185 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
1186 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
1187 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
1188 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
1189 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
1190 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
1191 "xxspltw", "xxswapd">: Add VSX opcodes.
1193 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1195 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
1196 (operand_types): Remove Vex_Imm4.
1198 * i386-opc.h (Vex_Imm4): Removed.
1200 (i386_operand_type): Remove vex_imm4.
1202 * i386-opc.tbl: Remove Vex_Imm4 comments.
1203 * i386-init.h: Regenerated.
1204 * i386-tbl.h: Likewise.
1206 2009-02-23 Richard Earnshaw <rearnsha@arm.com>
1208 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
1209 vq{r}shr{u}n.s64 insnstructions.
1211 2009-02-19 Peter Bergner <bergner@vnet.ibm.com>
1213 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
1214 operand to be a float point register (FRT/FRS).
1216 2009-02-18 Adam Nemet <anemet@caviumnetworks.com>
1218 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
1219 dmfc2 and dmtc2 before the architecture-level variants.
1221 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1223 * fr30-opc.c: Regenerate.
1224 * frv-opc.c: Regenerate.
1225 * ip2k-opc.c: Regenerate.
1226 * iq2000-opc.c: Regenerate.
1227 * lm32-opc.c: Regenerate.
1228 * m32c-opc.c: Regenerate.
1229 * m32r-opc.c: Regenerate.
1230 * mep-opc.c: Regenerate.
1231 * mt-opc.c: Regenerate.
1232 * xc16x-opc.c: Regenerate.
1233 * xstormy16-opc.c: Regenerate.
1234 * tic54x-dis.c (print_instruction): Avoid compiler warning on
1237 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1239 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
1241 2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
1243 * ppc-opc.c: Update copyright year.
1244 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
1245 ordering for POWER4 and later and use the correct Server ordering.
1247 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1249 AVX Programming Reference (January, 2009)
1250 * i386-dis.c (PREFIX_VEX_3A44): New.
1251 (VEX_LEN_3A44_P_2): Likewise.
1252 (PREFIX_VEX_3A48): Updated.
1253 (VEX_LEN_3A4C_P_2): Likewise.
1254 (prefix_table): Add PREFIX_VEX_3A44.
1255 (vex_table): Likewise.
1256 (vex_len_table): Add VEX_LEN_3A44_P_2.
1258 * i386-opc.tbl: Add PCLMUL + AVX instructions.
1259 * i386-tbl.h: Regenerated.
1261 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1263 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
1264 (mips_arch_choices): Add XLR entry.
1265 * mips-opc.c (XLR): Define.
1266 (mips_builtin_opcodes): Add XLR instructions.
1268 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1270 * Makefile.am: Add install-pdf target.
1271 * po/Make-in: Add install-pdf target.
1272 * Makefile.in: Regenerate.
1274 2009-02-02 DJ Delorie <dj@redhat.com>
1276 * mep-asm.c: Regenerate.
1277 * mep-desc.c: Regenerate.
1278 * mep-desc.h: Regenerate.
1279 * mep-dis.c: Regenerate.
1280 * mep-ibld.c: Regenerate.
1281 * mep-opc.c: Regenerate.
1282 * mep-opc.h: Regenerate.
1284 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1286 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
1289 2009-01-28 Chao-ying Fu <fu@mips.com>
1291 * mips-opc.c (suxc1): Add the flag of FP_D.
1293 2009-01-20 Alan Modra <amodra@bigpond.net.au>
1295 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
1296 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
1297 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
1298 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
1299 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
1300 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
1301 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
1302 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
1304 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1306 * configure.in (commonbfdlib): Delete.
1307 (SHARED_LIBADD): Add pic libiberty if such is available.
1308 * configure: Regenerate.
1309 * po/POTFILES.in: Regenerate.
1311 2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
1313 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
1314 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
1315 operand form and enable the four operand form for POWER6 and later.
1316 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
1317 three operand form for POWER6 and later.
1319 2009-01-14 Mike Frysinger <vapier@gentoo.org>
1321 * bfin-dis.c (OUTS): Use "%s" as format string.
1323 2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
1325 * i386-gen.c (cpu_flag_init): Remove a white space.
1326 (operand_type_init): Likewise.
1328 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1330 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
1331 * i386-tbl.h: Regenerated.
1333 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1335 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
1336 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
1337 subS, xorS and cmpS.
1339 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1341 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
1342 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
1343 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
1344 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
1347 (set_bitfield): Take an argument, lineno. Don't report lineno
1348 on error if it is -1.
1349 (process_i386_cpu_flag): Take an argument, lineno.
1350 (process_i386_opcode_modifier): Likewise.
1351 (process_i386_operand_type): Likewise.
1352 (output_i386_opcode): Likewise.
1353 (opcode_hash_entry): Add lineno.
1354 (process_i386_opcodes): Updated.
1355 (process_i386_registers): Likewise.
1356 (process_i386_initializers): Likewise.
1358 * i386-opc.h (CpuP4): Removed.
1362 (CpuSYSCALL): Likewise.
1364 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
1365 cpuclflush and cpusyscall.
1367 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
1369 * i386-init.h: Regenerated.
1370 * i386-tbl.h: Likewise.
1372 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1374 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
1375 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
1376 (cpu_flags): Add CpuRdtscp.
1377 (set_bitfield): Remove CpuSledgehammer check.
1379 * i386-opc.h (CpuRdtscp): New.
1381 (i386_cpu_flags): Add cpurdtscp.
1383 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
1384 * i386-init.h: Regenerated.
1385 * i386-tbl.h: Likewise.
1387 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1389 * ppc-opc.c (PPCNONE): Define.
1391 (powerpc_opcodes): Initialize the new "deprecated" field.
1393 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
1395 AVX Programming Reference (December, 2008)
1396 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
1397 (VEX_LEN_E7_P_2_M_0): Likewise.
1398 (VEX_LEN_2C_P_1): Updated.
1399 (VEX_LEN_E8_P_2): Likewise.
1400 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
1401 (mod_table): Likewise.
1403 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
1404 * i386-tbl.h: Regenerated.
1406 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1408 * i386-gen.c (process_copyright): Update for 2009.
1410 * i386-init.h: Regenerated.
1411 * i386-tbl.h: Likewise.
1413 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1415 AVX Programming Reference (December, 2008)
1416 * i386-dis.c (OP_VEX_FMA): Removed.
1417 (OP_EX_VexW): Likewise.
1418 (OP_EX_VexImmW): Likewise.
1419 (OP_XMM_VexW): Likewise.
1420 (VEXI4_Fixup): Likewise.
1421 (VPERMIL2_Fixup): Likewise.
1424 (Vex128FMA): Likewise.
1426 (EXdVexW): Likewise.
1427 (EXqVexW): Likewise.
1428 (EXVexImmW): Likewise.
1430 (VPERMIL2): Likewise.
1431 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
1432 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
1433 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
1434 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
1435 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
1436 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
1437 (get_vex_imm8): Likewise.
1438 (OP_EX_VexReg): Likewise.
1439 vpermil2_op): Likewise.
1441 (vex_w_dq_mode): Likewise.
1442 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
1443 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
1444 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
1446 (PREFIX_VEX_38DB): Likewise.
1447 (PREFIX_VEX_3A4A): Likewise.
1448 (PREFIX_VEX_3A60): Likewise.
1449 (PREFIX_VEX_3ADF): Likewise.
1450 (VEX_LEN_3ADF_P_2): Likewise.
1451 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
1452 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
1453 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
1454 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
1455 PREFIX_VEX_3896...PREFIX_VEX_389F,
1456 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
1457 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
1458 (vex_table): Likewise.
1459 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
1460 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
1461 (putop): Support "%XW".
1462 (intel_operand_size): Handle vex_w_dq_mode.
1464 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
1466 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
1467 instructions. Add new FMA instructions.
1468 * i386-tbl.h: Regenerated.
1470 2009-01-02 Matthias Klose <doko@ubuntu.com>
1472 * or32-opc.c (or32_print_register, or32_print_immediate,
1473 disassemble_insn): Don't rely on undefined sprintf behaviour.
1475 For older changes see ChangeLog-2008
1481 version-control: never