1 2009-12-09 Nick Clifton <nickc@redhat.com>
4 * arm-dis.c (print_insn_arm): Mark insns that use the PC in
5 post-indexed addressing as unpredictable.
7 2009-12-03 H.J. Lu <hongjiu.lu@intel.com>
9 * i386-dis.c (FXSAVE_Fixup): New.
11 (mod_table): Use FXSAVE on fxsave and fxrstor.
13 * i386-opc.tbl: Add fxsave64 and fxrstor64.
14 * i386-tbl.h: Regenerated.
16 2009-12-02 Nick Clifton <nickc@redhat.com>
17 Richard Earnshaw <rearnsha@arm.com>
20 * arm-dis.c (thumb32_opc): Adjust disassembly of QADD, QDADD, QSUB
23 2009-11-30 Massimo Ruo Roch <massimo.ruoroch@polito.it>
26 * m68k-opc.c (m68k_opcodes): Allow the STLDSR instruction on the
29 2009-11-17 Quentin Neill <quentin.neill@amd.com>
30 Sebastian Pop <sebastian.pop@amd.com>
32 * i386-dis.c (get_vex_imm8): Increase bytes_before_imm when
33 decoding the second source operand from the immediate byte.
34 (OP_EX_VexW): Pass an extra integer to identify the second
35 and third source arguments.
37 2009-11-19 H.J. Lu <hongjiu.lu@intel.com>
39 * i386-opc.tbl: Add IsLockable to cmpxch16b.
40 * i386-tbl.h: Regenerated.
42 2009-11-19 Nick Clifton <nickc@redhat.com>
45 * arm-dis.c (print_insn_arm): Do not print an offset of zero when
46 decoding Immediaate Offset addressing.
48 2009-11-18 Sebastian Pop <sebastian.pop@amd.com>
51 * i386-dis.c (get_vex_imm8): Do not increment codep.
52 Avoid incrementing bytes_before_imm when OP_E_memory
53 has already forwarded the codep pointer.
54 (OP_EX_VexW): Increment codep to skip mod/rm byte.
56 2009-11-18 Sebastian Pop <sebastian.pop@amd.com>
58 * i386-dis.c (VEX_LEN_XOP_08_A0): Removed.
59 (VEX_LEN_XOP_08_A1): Removed.
60 (xop_table): Remove entries for VEX_LEN_XOP_08_A0 and
62 (vex_len_table): Same.
63 * i386-gen.c (CPU_CVT16_FLAGS): Removed.
64 (cpu_flags): Remove field for CpuCVT16.
65 * i386-opc.h (CpuCVT16): Removed.
66 (i386_cpu_flags): Remove bitfield cpucvt16.
67 (i386-opc.tbl): Remove CVT16 instructions.
68 * i386-init.h: Regenerated.
69 * i386-tbl.h: Regenerated.
71 2009-11-17 Sebastian Pop <sebastian.pop@amd.com>
72 Quentin Neill <quentin.neill@amd.com>
74 * i386-dis.c (OP_Vex_2src_1): New.
79 (VEX_LEN_XOP_08_A0): Added.
80 (VEX_LEN_XOP_08_A1): Added.
81 (VEX_LEN_XOP_09_80): Added.
82 (VEX_LEN_XOP_09_81): Added.
83 (xop_table): Added an entry for XOP_08. Handle xop instructions.
84 (vex_len_table): Added entries for VEX_LEN_XOP_08_A0,
85 VEX_LEN_XOP_08_A1, VEX_LEN_XOP_09_80, VEX_LEN_XOP_09_81.
86 (get_valid_dis386): Handle XOP_08.
88 * i386-gen.c (cpu_flag_init): Add CPU_XOP_FLAGS and CPU_CVT16_FLAGS.
89 (cpu_flags): Add CpuXOP and CpuCVT16.
90 (opcode_modifiers): Add XOP08, Vex2Sources.
91 * i386-opc.h (CpuXOP): Added.
93 (i386_cpu_flags): Add cpuxop and cpucvt16.
96 (i386_opcode_modifier): Add xop08, vex2sources.
97 * i386-opc.tbl: Add entries for XOP and CVT16 instructions.
98 * i386-init.h: Regenerated.
99 * i386-tbl.h: Regenerated.
101 2009-11-17 Nick Clifton <nickc@redhat.com>
104 * arm-dis.c (arm_opcodes): Add patterns to match undefined LDRB
105 instruction variants. Add pattern for MRS variant that was being
107 (arm_decode_shift): Place error message in a comment.
108 (print_insn_arm): Note that writing back to the PC is
110 Only print 'p' variants of cmp/cmn/teq/tst instructions if
111 decoding for pre-V6 architectures.
113 2009-11-17 Edward Nevill <edward.nevill@arm.com>
115 * arm-dis.c (print_insn_thumb32): Handle undefined instruction.
117 2009-11-14 Doug Evans <dje@sebabeach.org>
119 * Makefile.am (stamp-xc16x): Use ../cpu/xc16x.cpu instead of
121 * Makefile.in: Regenerate.
123 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
125 * i386-dis.c (OP_E_extended): Removed.
127 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
129 * i386-dis.c (print_insn): Check rex_ignored.
131 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
133 * i386-dis.c (ckprefix): Updated to return 0 if number of
134 prefixes > 14 and record the last position for each prefix.
135 (lock_prefix): Removed.
136 (data_prefix): Likewise.
137 (addr_prefix): Likewise.
138 (repz_prefix): Likewise.
139 (repnz_prefix): Likewise.
140 (last_lock_prefix): New.
141 (last_repz_prefix): Likewise.
142 (last_repnz_prefix): Likewise.
143 (last_data_prefix): Likewise.
144 (last_addr_prefix): Likewise.
145 (last_rex_prefix): Likewise.
146 (last_seg_prefix): Likewise.
147 (MAX_CODE_LENGTH): Likewise.
148 (ADDR16_PREFIX): Likewise.
149 (ADDR32_PREFIX): Likewise.
150 (DATA16_PREFIX): Likewise.
151 (DATA32_PREFIX): Likewise.
152 (REP_PREFIX): Likewise.
153 (seg_prefix): Likewise.
154 (all_prefixes): Change size to MAX_CODE_LENGTH - 1.
155 (prefix_name): Handle ADDR16_PREFIX, ADDR32_PREFIX,
156 DATA16_PREFIX, DATA32_PREFIX and REP_PREFIX.
157 (get_valid_dis386): Updated.
159 (OP_Monitor): Likewise.
160 (REP_Fixup): Likewise.
161 (print_insn): Display all prefixes.
162 (putop): Set PREFIX_DATA on used_prefixes only if it is used.
163 (intel_operand_size): Likewise.
164 (OP_E_register): Likewise.
167 (OP_IMREG): Likewise.
171 (CRC32_Fixup): Likewise.
172 (MOVBE_Fixup): Likewise.
173 (OP_E_memory): Set REFIX_DATA on used_prefixes when it is used
175 (OP_J): Set REX_W used if it is used. Set PREFIX_DATA on
176 used_prefixes only if it is used.
178 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
180 * i386-opc.tbl: Remove IsLockable from add, adc, and, dec, inc,
181 or, sbb, sub, xor and xchg with register only operands.
182 * i386-tbl.h: Regenerated.
184 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
186 * i386-gen.c (opcode_modifiers): Add IsLockable.
188 * i386-opc.h (IsLockable): New.
189 (i386_opcode_modifier): Add islockable.
191 * i386-opc.tbl: Add IsLockable to add, adc, and, btc, btr,
192 bts, cmpxchg, cmpxch8b, dec, inc, neg, not, or, sbb, sub,
194 * i386-tbl.h: Regenerated.
196 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
198 * arm-dis.c (coprocessor_opcodes): Use %A instead of %C. Remove
199 generic coprocessor instructions for FPA loads and stores.
200 (print_insn_coprocessor): Remove %C support. Display address for
201 PC-relative offsets in %A.
203 2009-11-11 H.J. Lu <hongjiu.lu@intel.com>
205 * i386-dis.c (all_prefixes): New.
206 (ckprefix): Set all_prefixes.
207 (print_insn): Print all_prefixes instead of lock_prefix,
208 repz_prefix, repnz_prefix, addr_prefix and data_prefix.
210 2009-11-11 Nick Clifton <nickc@redhat.com>
213 * arm-dis.c (UNPREDICTABLE_INSTRUCTION): New macro.
214 (print_insn_arm): Extend %s format control code to check for
215 unpredictable addressing modes. Add support for %S format control
216 code which suppresses this check.
217 (W_BIT, I_BIT, U_BIT, P_BIT): New macros.
218 (WRITEBACK_BIT_SET, IMMEDIATE_BIT_SET, NEGATIVE_BIT_SET,
219 PRE_BIT_SET): New macros.
220 (print_insn_coprocessor): Use the new macros instead of magic
222 (print_arm_address): Likewise.
223 (pirnt_insn_arm): Likewise.
224 (print_insn_thumb32): Likewise.
226 2009-11-11 Nick Clifton <nickc@redhat.com>
228 * po/id.po: Updated Indonesian translation.
230 2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com>
232 * m68k-dis.c (print_insn_arg): Handle RGPIOBAR, ACR[4-7] and MBAR[01].
234 2009-11-06 Sebastian Pop <sebastian.pop@amd.com>
236 * i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to
237 reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to
238 B.mm in the RXB.mmmmm byte, and so when B is set, we still should use
240 (get_valid_dis386): Removed unused condition (from cut/n/paste) for
243 2009-11-05 Sebastian Pop <sebastian.pop@amd.com>
244 Quentin Neill <quentin.neill@amd.com>
246 * opcodes/i386-dis.c (OP_LWPCB_E): New.
249 (USE_XOP_8F_TABLE): New.
251 (REG_XOP_LWPCB): New.
255 (reg_table): Redirect REG_8F to XOP_8F_TABLE.
256 Add entries for REG_XOP_LWPCB and REG_XOP_LWP.
258 (get_valid_dis386): Handle USE_XOP_8F_TABLE.
259 Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values
260 to access to the vex_table.
264 * opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP.
265 (cpu_flags): Add CpuLWP.
266 (opcode_modifiers): Add VexLWP, XOP09, and XOP0A.
267 * opcodes/i386-opc.h (CpuLWP): New.
268 (i386_cpu_flags): Add bit cpulwp.
272 (i386_opcode_modifier): Add vexlwp, xop09, and xop0a.
273 * opcodes/i386-opc.tbl (llwpcb): Added.
277 2009-11-04 DJ Delorie <dj@redhat.com>
279 * rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
280 (mvtcp, mvfcp, opecp): Remove.
281 * rx-decode.c: Regenerate.
282 * rx-dis.c (cpen): Remove.
284 2009-11-03 Doug Evans <dje@sebabeach.org>
286 * m32c-desc.c: Regenerate.
287 * mep-desc.c: Regenerate.
289 2009-11-02 Paul Brook <paul@codesourcery.com>
291 * arm-dis.c (coprocessor_opcodes): Update to use new feature flags.
292 Add VFPv4 instructions.
294 2009-10-29 Sebastian Pop <sebastian.pop@amd.com>
296 * i386-dis.c (OP_VEX_FMA): Removed.
298 (Vex128FMA): Removed.
299 (prefix_table): First source operand of FMA4 insns is decoded
300 with Vex not with VexFMA.
301 (OP_EX_VexW): Second source operand is decoded with get_vex_imm8
302 when vex.w is set. Third source operand is decoded with
304 2009-10-27 Alan Modra <amodra@bigpond.net.au>
306 * Makefile.am (HFILES): Remove cgen-ops.h and cgen-types.h.
307 * Makefile.in: Regenerate.
308 * po/POTFILES.in: Regenerate.
310 2009-10-23 Doug Evans <dje@sebabeach.org>
312 * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h.
313 * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h.
314 * cgen-bitset.c: Update.
315 * fr30-desc.h: Regenerate.
316 * frv-desc.h: Regenerate.
317 * ip2k-desc.h: Regenerate.
318 * iq2000-desc.h: Regenerate.
319 * lm32-desc.h: Regenerate.
320 * m32c-desc.h: Regenerate.
321 * m32c-opc.h: Regenerate.
322 * m32r-desc.h: Regenerate.
323 * mep-desc.h: Regenerate.
324 * mt-desc.h: Regenerate.
325 * openrisc-desc.h: Regenerate.
326 * xc16x-desc.h: Regenerate.
327 * xstormy16-desc.h: Regenerate.
329 2009-10-22 DJ Delorie <dj@redhat.com>
331 * rx-decode.opc (decode_opcode): Fix flags for MUL, SUNTIL, and SWHILE.
332 * rx-decode.c: Regenerated.
334 2009-10-20 H.J. Lu <hongjiu.lu@intel.com>
337 * i386-dis.c: Document LB, LS and LV macros.
338 (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction
339 with the 64-bit displacement or immediate operand.
340 (putop): Handle LB, LS and LV macros.
342 2009-10-18 Doug Evans <dje@sebabeach.org>
344 * lm32-opinst.c: Regenerate.
345 * m32c-desc.c: Regenerate.
346 * m32r-opinst.c: Regenerate.
347 * openrisc-ibld.c: Regenerate.
348 * xc16x-desc.c: Regenerate.
349 * xc16x-desc.h: Regenerate.
351 2009-10-17 Doug Evans <dje@sebabeach.org>
353 * Makefile.am (CGEN_CPUS): Add iq2000, lm32.
354 (FR30_DEPS, FRV_DEPS, IQ2000_DEPS): Move so all cgen *_DEPS are
355 sorted alphabetically.
356 (stamp-fr30, stamp-frv, stamp-iq2000, stamp-xc16x): Move so all cgen
357 stamp-* rules are sorted alphabetically.
358 * Makefile.in: Regenerate.
360 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
362 * i386-opc.h: Use enum instead of nested macros.
364 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
366 * i386-dis.c: Simplify enums.
368 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
369 Ineiev <ineiev@gmail.com>
372 * i386-dis.c: Use enum instead of nested macros.
374 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
376 * i386-dis.c (MAX_BYTEMODE): Removed.
378 2009-10-14 Tomas Hurka <tom@hukatronic.cz>
381 * m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl.
383 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
385 * i386-dis.c (print_insn): Always clear need_vex, need_vex_reg
388 2009-10-07 Michael Eager <eager@eagercon.com>
390 * microblaze-dis.c: Add include for microblaze-dis.h,
391 eliminate local extern decls.
392 * microblaze-dis.h: New.
394 2009-10-06 Nick Clifton <nickc@redhat.com>
396 * po/fi.po: Updated Finnish translation.
398 2009-10-03 Andreas Schwab <schwab@linux-m68k.org>
400 * opc2c.c: Include "libiberty.h" and <errno.h>.
401 (orig_filename): Constify.
402 (dump_lines): Fix line number directive.
403 (main): Set orig_filename to basename of input file. Use
406 * Makefile.am (rx-dis.lo): Remove explicit dependencies.
407 ($(srcdir)/rx-decode.c): Use @MAINT@. Use $(EXEEXT_FOR_BUILD)
408 instead of $(EXEEXT).
409 (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
410 $(LINK_FOR_BUILD). Link with libiberty.
411 (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
412 (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
413 * Makefile.in: Regenerated.
414 * rx-decode.c: Regenerated.
416 2009-10-03 Paul Reed <paulreed@paddedcell.com>
418 * arm-dis.c (print_insn): Check symtab_size not *symtab.
420 2009-10-02 H.J. Lu <hongjiu.lu@intel.com>
422 * i386-opc.tbl: Drop Disp64 on jump and loop instructions.
423 * i386-tbl.h: Regenerated.
425 2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
427 * ppc-dis.c (ppc_opts): Add "476" entry.
428 * ppc-opc.c (PPC476): Define.
429 (powerpc_opcodes): Update mnemonics where required for 476.
431 2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
433 * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
434 * ppc-dis.c (ppc_opts): Likewise.
435 Rename "ppca2" to "a2".
437 2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
439 * crx-dis.c (match_opcode): Truncate mcode to 32-bit.
441 2009-09-29 DJ Delorie <dj@redhat.com>
443 * Makefile.am: Add RX files.
444 * configure.in: Add support for RX target.
445 * disassemble.c: Likewise.
446 * Makefile.in: Regenerate.
447 * configure: Regenerate.
449 * rx-decode.c: New file.
450 * rx-decode.opc: New file.
451 * rx-dis.c: New file.
453 2009-09-29 Peter Bergner <bergner@vnet.ibm.com>
455 * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
456 "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.
458 2009-09-25 Michael Eager <eager@eagercon.com>
460 * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
461 microblaze_decode_insn): Add declarations.
462 (get_delay_slots_microblaze): Remove.
464 2009-09-25 Martin Thuresson <martint@google.com>
466 Update sources to make arc and arm targets compile cleanly with
468 * arc-dis.c Fix casts.
469 * arc-ext.c: Add casts.
470 * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
473 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
475 * i386-gen.c (opcode_modifiers): Remove Vex256.
476 (set_bitfield): Handle XXX=V.
478 * i386-opc.h (Vex): Update comments.
481 (i386_opcode_modifier): Change vex to 2 bits. Remove vex256.
483 * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2.
484 * i386-tbl.h: Regenerated.
486 2009-09-23 Nick Clifton <nickc@redhat.com>
488 * po/fr.po: Updated French translation.
490 2009-09-21 Ben Elliston <bje@au.ibm.com>
491 Peter Bergner <bergner@vnet.ibm.com>
493 * ppc-dis.c (ppc_opts): Add "ppca2" entry.
494 * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
495 eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
496 icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
498 (ERAT_T): New operand.
499 (XWC_MASK): New mask.
503 2009-09-18 Nick Clifton <nickc@redhat.com>
505 * po/es.po: Updated Spanish translation.
506 * po/vi.po: Updated Vietnamese translation.
508 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
510 * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
513 2009-09-14 Nick Clifton <nickc@redhat.com>
515 * po/nl.po: Updated Dutch translation.
517 2009-09-11 Nick Clifton <nickc@redhat.com>
519 * po/opcodes.pot: Updated by the Translation project.
521 2009-09-11 Martin Thuresson <martint@google.com>
523 Updated sources to compile cleanly with -Wc++-compat:
524 * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
525 * ldcref.c: Add casts.
526 * ldctor.c: Add casts.
528 * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
529 * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
530 * ldlang.h (enum statement_enum): Move to top level.
531 * ldmain.c: Add casts.
532 * ldwrite.c: Add casts.
533 * lexsup.c: Add casts. (enum control_enum): Move to top level.
534 * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
536 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
538 * s390-dis.c (print_insn_s390): Avoid 'long long'.
540 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
542 * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
543 (print_insn_s390): Signextend and shift pcrel operands before printing.
545 2009-09-09 H.J. Lu <hongjiu.lu@intel.com>
547 * i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to
548 VEX_LEN_AE_R_X_M_0 in comments.
550 2009-09-08 DJ Delorie <dj@redhat.com>
552 * mep-opc.c: Regenerate.
554 2009-09-08 Andreas Schwab <schwab@linux-m68k.org>
556 * z8kgen.c (struct op): Replace unused flavor with id.
557 (opt): Remove extra xorb entry.
558 (func): Use id field as fallback.
559 (sub): Return new string, caller changed.
560 (internal): Allocate end marker. Assign unique id before sorting.
561 (gas): Likewise. Fix loop end condition.
562 * z8k-opc.h: Regenerate.
564 2009-09-08 Alan Modra <amodra@bigpond.net.au>
566 * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
568 2009-09-07 Alan Modra <amodra@bigpond.net.au>
570 * z8kgen.c (func): Fix thinko last patch.
572 2009-09-07 Alan Modra <amodra@bigpond.net.au>
574 * z8kgen.c (func): Stabilize qsort of identically named entries.
575 * z8k-opc.h: Regenerate.
577 2009-09-07 Tristan Gingold <gingold@adacore.com>
579 * po/opcodes.pot: Regenerate.
581 2009-09-07 Alan Modra <amodra@bigpond.net.au>
583 * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
584 * configure: Regenerate.
585 * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
586 (BUILD_LIBS, BUILD_LIB_DEPS): Define. Use..
587 (i386-gen, ia64-gen, z8kgen): ..here.
588 * Makefile.in: Regenerate.
590 2009-09-07 Tristan Gingold <gingold@adacore.com>
592 * z8k-opc.h: Regenerate.
594 2009-09-05 Martin Thuresson <martin@mtme.org>
596 * ia64-dis.c (print_insn_ia64): Update code to use renamed member.
597 * m88k-dis.c (m88kdis): Rename variable class to in_class.
598 * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol):
599 Rename argument class to symbol_class.
601 2009-09-04 Jie Zhang <jie.zhang@analog.com>
603 * bfin-dis.c (decode_pseudodbg_assert_0): Change according
604 to the new encoding of DBGA, DBGAH, and DBGAL.
605 (_print_insn_bfin): Likewise.
607 2009-09-03 Jie Zhang <jie.zhang@analog.com>
609 * bfin-dis.c (_print_insn_bfin): Don't declare.
610 (print_insn_bfin): Don't declare.
611 (dregs_pair): Remove.
612 (ignore_bits): Remove.
615 2009-09-03 Jie Zhang <jie.zhang@analog.com>
617 * bfin-dis.c (IS_DREG): Define.
623 (decode_REGMV_0): Check illegal register move instructions.
625 2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
627 * Makefile.am (BUILD_LIBINTL): New variable.
628 (i386-gen$(EXEEXT_FOR_BUILD)): Use it.
629 (ia64-gen$(EXEEXT_FOR_BUILD)): And here.
630 (z8kgen$(EXEEXT_FOR_BUILD)): And here.
631 * Makefile.in: Regenerate.
633 2009-09-01 DJ Delorie <dj@redhat.com>
635 * mep-asm.c: Regenerate.
636 * mep-desc.c: Regenerate.
637 * mep-opc.c: Regenerate.
639 2009-09-01 Tristan Gingold <gingold@adacore.com>
641 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
642 dependencies. Remove unused FORMAT variable.
643 * configure.com: New file to create build.com DCL script for
644 Itanium VMS or Alpha VMS.
646 2009-08-29 Martin Thuresson <martin@mtme.org>
648 * cris-dis.c (bytes_to_skip): Update code to use new name.
649 * i386-dis.c (putop): Update code to use new name.
650 * i386-gen.c (process_i386_opcodes): Update code to use
652 * i386-opc.h (struct template): Rename struct template to
653 insn_template. Update code accordingly.
654 * i386-tbl.h (i386_optab): Update type to use new name.
655 * ia64-dis.c (print_insn_ia64): Rename variable template
657 * tic30-dis.c (struct instruction, get_tic30_instruction):
658 Update code to use new name.
659 * tic54x-dis.c (has_lkaddr, get_insn_size)
660 (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
661 Update code to use new name.
662 * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
663 Update type to new name.
664 * z8kgen.c (internal, gas): Rename variable new to new_op.
666 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
668 * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
669 Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
670 (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
671 CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
672 * Makefile.in: Regenerated.
674 2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
676 * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
677 [INSTALL_LIBBFD]: ... here, ...
678 [INSTALL_LIBBFD]: ... and empty overrides here.
679 [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
680 [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
681 * Makefile.in: Regenerate.
682 * configure: Regenerate.
684 2009-08-26 Philippe De Muyter <phdm@macqel.be>
686 * m68k-dis.c (print_insn_arg): Add movecr register names for
687 coldfire v4e families.
689 2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
691 * Makefile.am (SUBDIRS): Build '.' before 'po'.
692 (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
693 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
694 (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
695 using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
696 (i386-gen.o): New rule.
697 ($(srcdir)/i386-init.h): Adjust.
698 (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
699 (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
700 (ia64-gen.o): New rule.
701 (ia64_asmtab_deps): New variable.
702 ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
703 (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
704 (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
706 (s390-opc.tab): Adjust.
707 (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
709 (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
710 * Makefile.in: Regenerate.
711 * z8kgen.c (gas): Avoid '/*' in comment.
712 * z8k-opc.h (func): Regenerate.
714 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
716 * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
717 from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
718 i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
719 ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
721 (LIBOPCODES_CFILES): New variable, adding to
722 TARGET_LIBOPCODES_CFILES also non-target library sources.
723 (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
725 (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
726 (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
727 * Makefile.in: Regenerate.
728 * po/POTFILES.in: Regenerate.
730 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
732 * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
733 [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
734 [INSTALL_LIBBFD] (bfdinclude_DATA): New.
735 [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
736 [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
737 is built shared even if it is not to be installed.
738 (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
739 (install_libopcodes, uninstall_libopcodes): Remove.
740 (AM_CPPFLAGS): Renamed from ...
741 (INCLUDES): ... this.
742 * Makefile.in: Regenerate.
744 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
745 1.11, foreign, no-dist.
746 (MKDEP, m32c_opc_h): Remove variables.
747 (disassemble.lo): Rewrite using automake-style dependency
748 tracking rules; only list the dependency upon the primary source
749 file, but no included headers.
750 (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
751 (i386-gen.o, ia64-gen.o): Remove dependency statements.
752 (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
753 ensure all dependency fragments are included in the Makefile.
754 (s390-opc.lo): Depend on s390-opc.tab.
755 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
756 (mkdep section): Remove.
757 * Makefile.in: Regenerate.
758 * po/POTFILES.in: Regenerate.
760 * Makefile.am (install-pdf, install-html): Remove.
761 * Makefile.in: Regenerate.
763 * Makefile.in: Regenerate.
764 * aclocal.m4: Likewise.
765 * config.in: Likewise.
766 * configure: Likewise.
768 2009-08-06 Michael Eager <eager@eagercon.com>
770 * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
771 CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
772 * Makefile.in: Regenerate.
773 * configure.in: Add bfd_microblaze_arch target.
774 * configure: Regenerate.
775 * disassemble.c: Define ARCH_microblaze, return
776 print_insn_microblaze().
777 * microblaze-dis.c: New MicroBlaze disassembler.
778 * microblaze-opc.h: New MicroBlaze opcode definitions.
779 * microblaze-opcm.h: New MicroBlaze opcode types.
781 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
783 * configure.in: Handle bfd_l1om_arch.
784 * disassemble.c (disassembler): Likewise.
786 * configure: Regenerated.
788 * i386-dis.c (print_insn): Handle bfd_mach_l1om and
789 bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM.
791 * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
793 (cpu_flags): Add CpuL1OM.
794 (set_bitfield): Take an argument to set the value field.
795 (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
796 (process_i386_opcode_modifier): Updated.
797 (process_i386_operand_type): Likewise.
798 * i386-init.h: Regenerated.
799 * i386-tbl.h: Likewise.
801 * i386-opc.h (CpuL1OM): New.
803 (i386_cpu_flags): Add cpul1om.
805 2009-07-24 Jan Beulich <jbeulich@novell.com>
807 * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
809 * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
810 (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
811 (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
812 * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
814 (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
816 * i386-opc.tbl: Qualify floating point instructions by their
817 respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
818 and fsincos to be avilable only on 387. Fix fstsw ax to be
819 available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
821 * i386-init.h, i386-tbl.h: Regenerate.
823 2009-07-20 Nick Clifton <nickc@redhat.com>
826 * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
827 offset or indexed based addressing mode 3.
829 2009-07-14 Nick Clifton <nickc@redhat.com>
832 * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
834 (arm_decode_shift): Catch illegal register based shifts.
835 (print_insn_arm): Properly handle negative register r0
836 post-indexed addressing.
838 2009-07-10 Doug Kwan <dougkwan@google.com>
840 * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only
841 lower 32 bits of long types to make hexadecimal output consistent
842 on both 32-bit and 64-bit hosts.
844 2009-07-10 Alan Modra <amodra@bigpond.net.au>
846 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
847 * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
848 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
849 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
850 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
851 * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
852 * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
853 * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
854 * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
855 * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
856 * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
857 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
859 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
861 * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
863 2009-07-07 Nick Clifton <nickc@redhat.com>
866 * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
869 2009-07-06 DJ Delorie <dj@redhat.com>
871 * mep-desc.c: Regenerate.
872 * mep-desc.h: Regenerate.
873 * mep-opc.c: Regenerate.
874 * mep-opc.h: Regenerate.
876 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
878 * i386-opc.h (CpuFMA4): Add CpuFMA4.
879 (i386_cpu_flags): New.
880 * i386-gen.c: Add CPU_FMA4_FLAGS.
881 * i386-opc.tbl: Add FMA4 instructions.
882 * i386-tbl.h: Regenerate.
883 * i386-init.h: Regenerate.
884 * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
885 (OP_XMM_VexW): Ditto.
887 (VEXI4_Fixup): Ditto.
888 (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
889 (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
890 (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
891 (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
892 (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
893 (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
894 (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
895 (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
896 (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
897 (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
898 (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
899 (get_vex_imm8): New. handle FMA4.
900 (OP_EX_VexReg): Ditto.
902 2009-06-30 Nick Clifton <nickc@redhat.com>
905 * arm-dis.c (coprocessor): Print the LDC and STC versions of the
906 LFM and SFM instructions as comments,.
907 Improve consistency of formatting for instructions displayed as
908 comments and decimal values displayed with their hexadecimal
912 2009-06-29 Nick Clifton <nickc@redhat.com>
915 * arm-dis.c (enum opcode_sentinels): New: Used to mark the
916 boundary between variaant and generic coprocessor instuctions.
917 (coprocessor): Use it.
918 Fix architecture version of MCRR and MRRC instructions.
919 (arm_opcdes): Fix patterns for STRB and STRH instructions.
920 (print_insn_coprocessor): Check architecture and extension masks.
921 Print a hexadecimal version of any decimal constant that is
922 outside of the range of -16 to +32.
923 (print_arm_address): Add a return value of the offset used in the
924 adress, if it is worth printing a hexadecimal version of it.
925 (print_insn_neon): Print a hexadecimal version of any decimal
926 constant that is outside of the range of -16 to +32.
927 (print_insn_arm): Likewise.
928 (print_insn_thumb16): Likewise.
929 (print_insn_thumb32): Likewise.
932 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
933 of an undefined instruction.
934 (arm_opcodes): Use it.
935 (thumb_opcod): Use it.
936 (thumb32_opc): Use it.
938 2009-06-23 DJ Delorie <dj@redhat.com>
940 * mep-desc.c: Regenerate.
941 * mep-desc.h: Regenerate.
942 * mep-dis.c: Regenerate.
943 * mep-ibld.c: Regenerate.
944 * mep-opc.c: Regenerate.
946 * mep-asm.c: Regenerate.
947 * mep-opc.c: Regenerate.
948 * mep-opc.h: Regenerate.
950 2009-06-22 Nick Clifton <nickc@redhat.com>
952 * po/fi.po: Updated Finish translation.
954 2009-06-22 Alan Modra <amodra@bigpond.net.au>
956 * m32c-asm.c: Regenerate.
958 2009-06-22 Alan Modra <amodra@bigpond.net.au>
960 * score-dis.c (print_insn_score48, print_insn_score32): Move default
961 case label to proper lexical block.
962 * score7-dis.c (print_insn_score32): Likewise.
964 2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
966 * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
967 MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
968 * s390-opc.txt (nopr, nop): Use new instruction format.
970 2009-06-18 Nick Clifton <nickc@redhat.com>
973 * arm-dis.c (print_insn_coprocessor): Check that a user specified
974 ARM architecture supports the matched instruction.
975 (print_insn_arm): Likewise.
976 (select_arm_features): New function. Fills in the fields of an
977 arm_feature_set structure based on a given arm machine number.
978 (print_insn): Initialise an arm_feature_set structure.
980 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
982 * vax-dis.c (is_function_entry): Return success for synthetic
984 (is_plt_tail): New function.
985 (print_insn_vax): Decode PLT entry offset longword.
987 2009-06-15 Nick Clifton <nickc@redhat.com>
990 * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
994 * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
996 2009-06-15 Nick Clifton <nickc@redhat.com>
999 * arm-dis.c (print_insn): Ignore is_data if the user has requested
1000 the disassembly of data as well as instructions.
1002 2009-06-11 Doug Evans <dje@sebabeach.org>
1004 * cgen.sh: Handle multiple simultaneous runs for parallel makes.
1006 2009-06-11 Anthony Green <green@moxielogic.com>
1008 * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
1009 (moxie_form3_opc_info): Add branch instructions.
1010 * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
1011 encoded instructions.
1013 2009-06-06 Anthony Green <green@moxielogic.com>
1015 * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
1016 * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
1018 2009-06-04 Alan Modra <amodra@bigpond.net.au>
1020 * dep-in.sed: Don't use \n in replacement part of s command.
1021 * Makefile.am (DEP1): LC_ALL for uniq.
1022 * Makefile.in: Regenerate.
1024 2009-06-02 Nick Clifton <nickc@redhat.com>
1026 * po/nl.po: Updated Dutch translation.
1028 2009-06-02 Tristan Gingold <gingold@adacore.com>
1030 * ia64-gen.c (parse_resource_users, print_dependency_table,
1031 add_dis_table_ent, finish_distable, insert_bit_table_ent,
1032 add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
1033 get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
1034 insert_completer_entry, print_completer_entry, print_completer_table,
1035 opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
1037 2009-05-28 DJ Delorie <dj@redhat.com>
1039 * mep-asm.c: Regenerate.
1040 * mep-desc.c: Regenerate.
1042 2009-05-26 DJ Delorie <dj@redhat.com>
1044 * mep-asm.c: Regenerate.
1045 * mep-desc.c: Regenerate.
1046 * mep-desc.h: Regenerate.
1047 * mep-dis.c: Regenerate.
1048 * mep-ibld.c: Regenerate.
1049 * mep-opc.c: Regenerate.
1050 * mep-opc.h: Regenerate.
1052 2009-05-26 Nick Clifton <nickc@redhat.com>
1054 * po/id.po: Updated Indonesian translation.
1055 * po/opcodes.pot: Updated template file.
1057 2009-05-26 Alan Modra <amodra@bigpond.net.au>
1059 * dep-in.sed: Don't modify .o to .lo here. Output one filename
1060 per line with all lines having continuation backslash. Prefix
1061 first line with "A", following lines with "B".
1062 * Makefile.am (DEP): Don't use dep.sed here.
1063 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
1064 dep.sed here on dependencies, sort and uniq.
1065 * Makefile.in: Regenerate.
1067 2009-05-25 Tristan Gingold <gingold@adacore.com>
1069 * makefile.vms (OPT): New variable.
1070 (CFLAGS): Update compilation flags.
1072 2009-05-22 DJ Delorie <dj@redhat.com>
1074 * mep-asm.c: Regenerate.
1075 * mep-desc.c: Regenerate.
1076 * mep-desc.h: Regenerate.
1077 * mep-dis.c: Regenerate.
1078 * mep-ibld.c: Regenerate.
1079 * mep-opc.c: Regenerate.
1080 * mep-opc.h: Regenerate.
1082 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1084 * i386-opc.h (Cpusse5): Delete.
1085 (i386_cpu_flags): Delete.
1086 * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
1087 * i386-opc.tbl: Remove SSE5 instructions.
1088 * i386-tbl.h: Regenerate.
1089 * i386-init.h: Regenerate.
1090 * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
1091 (print_drex_arg): Delete.
1094 (OP_DREX_ICMP): Delete.
1095 (OP_DREX_FCMP): Delete.
1097 (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
1099 2009-05-22 Alan Modra <amodra@bigpond.net.au>
1101 * Makefile.am: Run "make dep-am".
1102 * Makefile.in: Regenerate.
1103 * po/POTFILES.in: Regenerate.
1105 2009-05-19 DJ Delorie <dj@redhat.com>
1107 * mep-asm.c: Regenerate.
1108 * mep-opc.c: Regenerate.
1110 2009-04-30 DJ Delorie <dj@redhat.com>
1112 * mep-asm.c: Regenerate.
1113 * mep-desc.c: Regenerate.
1114 * mep-desc.h: Regenerate.
1115 * mep-dis.c: Regenerate.
1116 * mep-ibld.c: Regenerate.
1117 * mep-opc.c: Regenerate.
1118 * mep-opc.h: Regenerate.
1120 2009-04-17 DJ Delorie <dj@redhat.com
1122 * mep-desc.c: Regenerate.
1123 * mep-ibld.c: Regenerate.
1124 * mep-opc.c: Regenerate.
1125 * mep-opc.h: Regenerate.
1127 2009-04-15 Anthony Green <green@moxielogic.com>
1129 * moxie-opc.c, moxie-dis.c: Created.
1130 * Makefile.am: Build the moxie source files.
1131 * configure.in: Add moxie support.
1132 * Makefile.in, configure: Rebuilt.
1133 * disassemble.c (disassembler): Add moxie support.
1134 (ARCH_moxie): Define.
1136 2009-04-15 Jan Beulich <jbeulich@novell.com>
1138 * i386-opc.tbl (protb, protw, protd, protq): Set opcode
1140 (pshab, pshaw, pshad, pshaq): Likewise.
1141 * i386-tbl.h: Re-generate.
1143 2009-04-08 DJ Delorie <dj@redhat.com
1145 * mep-asm.c: Regenerate.
1146 * mep-desc.c: Regenerate.
1147 * mep-desc.h: Regenerate.
1148 * mep-dis.c: Regenerate.
1149 * mep-ibld.c: Regenerate.
1150 * mep-opc.c: Regenerate.
1151 * mep-opc.h: Regenerate.
1153 2009-04-07 Peter Bergner <bergner@vnet.ibm.com>
1155 * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
1156 "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
1157 Reorder entries so the extended mnemonics are listed before tlbilx.
1159 2009-04-02 Peter Bergner <bergner@vnet.ibm.com>
1161 * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
1163 (print_insn_powerpc): Make sure we only deprecate instructions using
1164 the original dialect and not a modified dialect due to -Many handling.
1165 Move the handling of the condition register and default operands to
1166 the end of the if/else if/else chain.
1167 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1168 instructions from newer processors are listed before older ones.
1169 <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
1170 that have instructions with conflicting opcodes.
1172 2009-04-01 Peter Bergner <bergner@vnet.ibm.com>
1174 * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
1177 2009-04-01 Christophe Lyon <christophe.lyon@st.com>
1179 * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
1181 2009-03-30 Joseph Myers <joseph@codesourcery.com>
1183 * arm-dis.c (print_insn): Also check section matches in backwards
1184 search for mapping symbol.
1186 2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
1188 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
1190 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1192 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
1193 * Makefile.am: Run "make dep-am".
1194 * Makefile.in: Regenerate.
1195 * openrisc-opc.c: Regenerate.
1197 2009-03-10 Nick Clifton <nickc@redhat.com>
1199 * po/id.po: Updated Indonesian translation.
1201 2009-03-10 Alan Modra <amodra@bigpond.net.au>
1203 * ppc-dis.c: Include "opintl.h".
1204 (struct ppc_mopt, ppc_opts): New.
1205 (ppc_parse_cpu): New function.
1206 (powerpc_init_dialect): Use it.
1207 (print_ppc_disassembler_options): Dump options from ppc_opts.
1208 Internationalize message.
1210 2009-03-06 Nick Clifton <nickc@redhat.com>
1212 * po/es.po: Updated Spanish translation.
1214 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1217 * configure.in: Test for ld --as-needed support. Link shared
1218 libopcodes against libm.
1219 * configure: Regenerate.
1221 2009-03-03 Peter Bergner <bergner@vnet.ibm.com>
1223 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1224 instructions from newer processors are listed before older ones.
1226 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1228 * Makefile.am: Run "make dep-am".
1229 (HFILES): Move lm32-desc.h and lm32-opc.h from..
1231 * Makefile.in: Regenerate.
1233 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1235 * score7-dis.c: New file.
1236 * Makefile.am: Add dependencies for score7-dis.c.
1237 * Makefile.in: Regenerate.
1238 * configure.in: Add score7-dis to score files.
1239 * configure: Regenerate.
1240 * score-dis.c: Add support for score7 architecture.
1241 * score-opc.h: Likewise.
1243 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1245 * configure: Regenerate.
1247 2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
1249 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
1251 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1253 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
1254 the power7 and the isel instructions.
1255 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
1256 (insert_dm, extract_dm): Likewise.
1257 (XB6): Update comment to include XX2 form.
1258 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
1259 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
1260 (RemoveXX3DM): Delete.
1261 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
1262 "mftgpr">: Deprecate for POWER7.
1263 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
1264 "frsqrte.">: Deprecate the three operand form and enable the two
1265 operand form for POWER7 and later.
1266 <"wait">: Extend to accept optional parameter. Enable for POWER7.
1267 <"waitsrv", "waitimpl">: Add extended opcodes.
1268 <"ldbrx", "stdbrx">: Enable for POWER7.
1269 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
1270 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
1271 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
1272 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
1273 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
1274 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
1275 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
1276 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
1277 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
1278 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
1279 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
1280 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
1281 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
1282 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
1283 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
1284 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
1285 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
1286 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
1287 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
1288 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
1289 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
1290 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
1291 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
1292 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
1293 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
1294 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
1295 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
1296 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
1297 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
1298 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
1299 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
1300 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
1301 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
1302 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
1303 "xxspltw", "xxswapd">: Add VSX opcodes.
1305 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1307 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
1308 (operand_types): Remove Vex_Imm4.
1310 * i386-opc.h (Vex_Imm4): Removed.
1312 (i386_operand_type): Remove vex_imm4.
1314 * i386-opc.tbl: Remove Vex_Imm4 comments.
1315 * i386-init.h: Regenerated.
1316 * i386-tbl.h: Likewise.
1318 2009-02-23 Richard Earnshaw <rearnsha@arm.com>
1320 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
1321 vq{r}shr{u}n.s64 insnstructions.
1323 2009-02-19 Peter Bergner <bergner@vnet.ibm.com>
1325 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
1326 operand to be a float point register (FRT/FRS).
1328 2009-02-18 Adam Nemet <anemet@caviumnetworks.com>
1330 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
1331 dmfc2 and dmtc2 before the architecture-level variants.
1333 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1335 * fr30-opc.c: Regenerate.
1336 * frv-opc.c: Regenerate.
1337 * ip2k-opc.c: Regenerate.
1338 * iq2000-opc.c: Regenerate.
1339 * lm32-opc.c: Regenerate.
1340 * m32c-opc.c: Regenerate.
1341 * m32r-opc.c: Regenerate.
1342 * mep-opc.c: Regenerate.
1343 * mt-opc.c: Regenerate.
1344 * xc16x-opc.c: Regenerate.
1345 * xstormy16-opc.c: Regenerate.
1346 * tic54x-dis.c (print_instruction): Avoid compiler warning on
1349 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1351 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
1353 2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
1355 * ppc-opc.c: Update copyright year.
1356 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
1357 ordering for POWER4 and later and use the correct Server ordering.
1359 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1361 AVX Programming Reference (January, 2009)
1362 * i386-dis.c (PREFIX_VEX_3A44): New.
1363 (VEX_LEN_3A44_P_2): Likewise.
1364 (PREFIX_VEX_3A48): Updated.
1365 (VEX_LEN_3A4C_P_2): Likewise.
1366 (prefix_table): Add PREFIX_VEX_3A44.
1367 (vex_table): Likewise.
1368 (vex_len_table): Add VEX_LEN_3A44_P_2.
1370 * i386-opc.tbl: Add PCLMUL + AVX instructions.
1371 * i386-tbl.h: Regenerated.
1373 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1375 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
1376 (mips_arch_choices): Add XLR entry.
1377 * mips-opc.c (XLR): Define.
1378 (mips_builtin_opcodes): Add XLR instructions.
1380 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1382 * Makefile.am: Add install-pdf target.
1383 * po/Make-in: Add install-pdf target.
1384 * Makefile.in: Regenerate.
1386 2009-02-02 DJ Delorie <dj@redhat.com>
1388 * mep-asm.c: Regenerate.
1389 * mep-desc.c: Regenerate.
1390 * mep-desc.h: Regenerate.
1391 * mep-dis.c: Regenerate.
1392 * mep-ibld.c: Regenerate.
1393 * mep-opc.c: Regenerate.
1394 * mep-opc.h: Regenerate.
1396 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1398 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
1401 2009-01-28 Chao-ying Fu <fu@mips.com>
1403 * mips-opc.c (suxc1): Add the flag of FP_D.
1405 2009-01-20 Alan Modra <amodra@bigpond.net.au>
1407 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
1408 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
1409 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
1410 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
1411 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
1412 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
1413 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
1414 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
1416 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1418 * configure.in (commonbfdlib): Delete.
1419 (SHARED_LIBADD): Add pic libiberty if such is available.
1420 * configure: Regenerate.
1421 * po/POTFILES.in: Regenerate.
1423 2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
1425 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
1426 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
1427 operand form and enable the four operand form for POWER6 and later.
1428 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
1429 three operand form for POWER6 and later.
1431 2009-01-14 Mike Frysinger <vapier@gentoo.org>
1433 * bfin-dis.c (OUTS): Use "%s" as format string.
1435 2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
1437 * i386-gen.c (cpu_flag_init): Remove a white space.
1438 (operand_type_init): Likewise.
1440 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1442 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
1443 * i386-tbl.h: Regenerated.
1445 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1447 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
1448 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
1449 subS, xorS and cmpS.
1451 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1453 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
1454 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
1455 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
1456 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
1459 (set_bitfield): Take an argument, lineno. Don't report lineno
1460 on error if it is -1.
1461 (process_i386_cpu_flag): Take an argument, lineno.
1462 (process_i386_opcode_modifier): Likewise.
1463 (process_i386_operand_type): Likewise.
1464 (output_i386_opcode): Likewise.
1465 (opcode_hash_entry): Add lineno.
1466 (process_i386_opcodes): Updated.
1467 (process_i386_registers): Likewise.
1468 (process_i386_initializers): Likewise.
1470 * i386-opc.h (CpuP4): Removed.
1474 (CpuSYSCALL): Likewise.
1476 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
1477 cpuclflush and cpusyscall.
1479 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
1481 * i386-init.h: Regenerated.
1482 * i386-tbl.h: Likewise.
1484 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1486 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
1487 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
1488 (cpu_flags): Add CpuRdtscp.
1489 (set_bitfield): Remove CpuSledgehammer check.
1491 * i386-opc.h (CpuRdtscp): New.
1493 (i386_cpu_flags): Add cpurdtscp.
1495 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
1496 * i386-init.h: Regenerated.
1497 * i386-tbl.h: Likewise.
1499 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1501 * ppc-opc.c (PPCNONE): Define.
1503 (powerpc_opcodes): Initialize the new "deprecated" field.
1505 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
1507 AVX Programming Reference (December, 2008)
1508 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
1509 (VEX_LEN_E7_P_2_M_0): Likewise.
1510 (VEX_LEN_2C_P_1): Updated.
1511 (VEX_LEN_E8_P_2): Likewise.
1512 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
1513 (mod_table): Likewise.
1515 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
1516 * i386-tbl.h: Regenerated.
1518 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1520 * i386-gen.c (process_copyright): Update for 2009.
1522 * i386-init.h: Regenerated.
1523 * i386-tbl.h: Likewise.
1525 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1527 AVX Programming Reference (December, 2008)
1528 * i386-dis.c (OP_VEX_FMA): Removed.
1529 (OP_EX_VexW): Likewise.
1530 (OP_EX_VexImmW): Likewise.
1531 (OP_XMM_VexW): Likewise.
1532 (VEXI4_Fixup): Likewise.
1533 (VPERMIL2_Fixup): Likewise.
1536 (Vex128FMA): Likewise.
1538 (EXdVexW): Likewise.
1539 (EXqVexW): Likewise.
1540 (EXVexImmW): Likewise.
1542 (VPERMIL2): Likewise.
1543 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
1544 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
1545 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
1546 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
1547 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
1548 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
1549 (get_vex_imm8): Likewise.
1550 (OP_EX_VexReg): Likewise.
1551 vpermil2_op): Likewise.
1553 (vex_w_dq_mode): Likewise.
1554 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
1555 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
1556 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
1558 (PREFIX_VEX_38DB): Likewise.
1559 (PREFIX_VEX_3A4A): Likewise.
1560 (PREFIX_VEX_3A60): Likewise.
1561 (PREFIX_VEX_3ADF): Likewise.
1562 (VEX_LEN_3ADF_P_2): Likewise.
1563 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
1564 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
1565 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
1566 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
1567 PREFIX_VEX_3896...PREFIX_VEX_389F,
1568 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
1569 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
1570 (vex_table): Likewise.
1571 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
1572 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
1573 (putop): Support "%XW".
1574 (intel_operand_size): Handle vex_w_dq_mode.
1576 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
1578 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
1579 instructions. Add new FMA instructions.
1580 * i386-tbl.h: Regenerated.
1582 2009-01-02 Matthias Klose <doko@ubuntu.com>
1584 * or32-opc.c (or32_print_register, or32_print_immediate,
1585 disassemble_insn): Don't rely on undefined sprintf behaviour.
1587 For older changes see ChangeLog-2008
1593 version-control: never