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