1 2009-11-19 Nick Clifton <nickc@redhat.com>
4 * arm-dis.c (print_insn_arm): Do not print an offset of zero when
5 decoding Immediaate Offset addressing.
7 2009-11-18 Sebastian Pop <sebastian.pop@amd.com>
10 * i386-dis.c (get_vex_imm8): Do not increment codep.
11 Avoid incrementing bytes_before_imm when OP_E_memory
12 has already forwarded the codep pointer.
13 (OP_EX_VexW): Increment codep to skip mod/rm byte.
15 2009-11-18 Sebastian Pop <sebastian.pop@amd.com>
17 * i386-dis.c (VEX_LEN_XOP_08_A0): Removed.
18 (VEX_LEN_XOP_08_A1): Removed.
19 (xop_table): Remove entries for VEX_LEN_XOP_08_A0 and
21 (vex_len_table): Same.
22 * i386-gen.c (CPU_CVT16_FLAGS): Removed.
23 (cpu_flags): Remove field for CpuCVT16.
24 * i386-opc.h (CpuCVT16): Removed.
25 (i386_cpu_flags): Remove bitfield cpucvt16.
26 (i386-opc.tbl): Remove CVT16 instructions.
27 * i386-init.h: Regenerated.
28 * i386-tbl.h: Regenerated.
30 2009-11-17 Sebastian Pop <sebastian.pop@amd.com>
31 Quentin Neill <quentin.neill@amd.com>
33 * i386-dis.c (OP_Vex_2src_1): New.
38 (VEX_LEN_XOP_08_A0): Added.
39 (VEX_LEN_XOP_08_A1): Added.
40 (VEX_LEN_XOP_09_80): Added.
41 (VEX_LEN_XOP_09_81): Added.
42 (xop_table): Added an entry for XOP_08. Handle xop instructions.
43 (vex_len_table): Added entries for VEX_LEN_XOP_08_A0,
44 VEX_LEN_XOP_08_A1, VEX_LEN_XOP_09_80, VEX_LEN_XOP_09_81.
45 (get_valid_dis386): Handle XOP_08.
47 * i386-gen.c (cpu_flag_init): Add CPU_XOP_FLAGS and CPU_CVT16_FLAGS.
48 (cpu_flags): Add CpuXOP and CpuCVT16.
49 (opcode_modifiers): Add XOP08, Vex2Sources.
50 * i386-opc.h (CpuXOP): Added.
52 (i386_cpu_flags): Add cpuxop and cpucvt16.
55 (i386_opcode_modifier): Add xop08, vex2sources.
56 * i386-opc.tbl: Add entries for XOP and CVT16 instructions.
57 * i386-init.h: Regenerated.
58 * i386-tbl.h: Regenerated.
60 2009-11-17 Nick Clifton <nickc@redhat.com>
63 * arm-dis.c (arm_opcodes): Add patterns to match undefined LDRB
64 instruction variants. Add pattern for MRS variant that was being
66 (arm_decode_shift): Place error message in a comment.
67 (print_insn_arm): Note that writing back to the PC is
69 Only print 'p' variants of cmp/cmn/teq/tst instructions if
70 decoding for pre-V6 architectures.
72 2009-11-17 Edward Nevill <edward.nevill@arm.com>
74 * arm-dis.c (print_insn_thumb32): Handle undefined instruction.
76 2009-11-14 Doug Evans <dje@sebabeach.org>
78 * Makefile.am (stamp-xc16x): Use ../cpu/xc16x.cpu instead of
80 * Makefile.in: Regenerate.
82 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
84 * i386-dis.c (OP_E_extended): Removed.
86 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
88 * i386-dis.c (print_insn): Check rex_ignored.
90 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
92 * i386-dis.c (ckprefix): Updated to return 0 if number of
93 prefixes > 14 and record the last position for each prefix.
94 (lock_prefix): Removed.
95 (data_prefix): Likewise.
96 (addr_prefix): Likewise.
97 (repz_prefix): Likewise.
98 (repnz_prefix): Likewise.
99 (last_lock_prefix): New.
100 (last_repz_prefix): Likewise.
101 (last_repnz_prefix): Likewise.
102 (last_data_prefix): Likewise.
103 (last_addr_prefix): Likewise.
104 (last_rex_prefix): Likewise.
105 (last_seg_prefix): Likewise.
106 (MAX_CODE_LENGTH): Likewise.
107 (ADDR16_PREFIX): Likewise.
108 (ADDR32_PREFIX): Likewise.
109 (DATA16_PREFIX): Likewise.
110 (DATA32_PREFIX): Likewise.
111 (REP_PREFIX): Likewise.
112 (seg_prefix): Likewise.
113 (all_prefixes): Change size to MAX_CODE_LENGTH - 1.
114 (prefix_name): Handle ADDR16_PREFIX, ADDR32_PREFIX,
115 DATA16_PREFIX, DATA32_PREFIX and REP_PREFIX.
116 (get_valid_dis386): Updated.
118 (OP_Monitor): Likewise.
119 (REP_Fixup): Likewise.
120 (print_insn): Display all prefixes.
121 (putop): Set PREFIX_DATA on used_prefixes only if it is used.
122 (intel_operand_size): Likewise.
123 (OP_E_register): Likewise.
126 (OP_IMREG): Likewise.
130 (CRC32_Fixup): Likewise.
131 (MOVBE_Fixup): Likewise.
132 (OP_E_memory): Set REFIX_DATA on used_prefixes when it is used
134 (OP_J): Set REX_W used if it is used. Set PREFIX_DATA on
135 used_prefixes only if it is used.
137 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
139 * i386-opc.tbl: Remove IsLockable from add, adc, and, dec, inc,
140 or, sbb, sub, xor and xchg with register only operands.
141 * i386-tbl.h: Regenerated.
143 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
145 * i386-gen.c (opcode_modifiers): Add IsLockable.
147 * i386-opc.h (IsLockable): New.
148 (i386_opcode_modifier): Add islockable.
150 * i386-opc.tbl: Add IsLockable to add, adc, and, btc, btr,
151 bts, cmpxchg, cmpxch8b, dec, inc, neg, not, or, sbb, sub,
153 * i386-tbl.h: Regenerated.
155 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
157 * arm-dis.c (coprocessor_opcodes): Use %A instead of %C. Remove
158 generic coprocessor instructions for FPA loads and stores.
159 (print_insn_coprocessor): Remove %C support. Display address for
160 PC-relative offsets in %A.
162 2009-11-11 H.J. Lu <hongjiu.lu@intel.com>
164 * i386-dis.c (all_prefixes): New.
165 (ckprefix): Set all_prefixes.
166 (print_insn): Print all_prefixes instead of lock_prefix,
167 repz_prefix, repnz_prefix, addr_prefix and data_prefix.
169 2009-11-11 Nick Clifton <nickc@redhat.com>
172 * arm-dis.c (UNPREDICTABLE_INSTRUCTION): New macro.
173 (print_insn_arm): Extend %s format control code to check for
174 unpredictable addressing modes. Add support for %S format control
175 code which suppresses this check.
176 (W_BIT, I_BIT, U_BIT, P_BIT): New macros.
177 (WRITEBACK_BIT_SET, IMMEDIATE_BIT_SET, NEGATIVE_BIT_SET,
178 PRE_BIT_SET): New macros.
179 (print_insn_coprocessor): Use the new macros instead of magic
181 (print_arm_address): Likewise.
182 (pirnt_insn_arm): Likewise.
183 (print_insn_thumb32): Likewise.
185 2009-11-11 Nick Clifton <nickc@redhat.com>
187 * po/id.po: Updated Indonesian translation.
189 2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com>
191 * m68k-dis.c (print_insn_arg): Handle RGPIOBAR, ACR[4-7] and MBAR[01].
193 2009-11-06 Sebastian Pop <sebastian.pop@amd.com>
195 * i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to
196 reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to
197 B.mm in the RXB.mmmmm byte, and so when B is set, we still should use
199 (get_valid_dis386): Removed unused condition (from cut/n/paste) for
202 2009-11-05 Sebastian Pop <sebastian.pop@amd.com>
203 Quentin Neill <quentin.neill@amd.com>
205 * opcodes/i386-dis.c (OP_LWPCB_E): New.
208 (USE_XOP_8F_TABLE): New.
210 (REG_XOP_LWPCB): New.
214 (reg_table): Redirect REG_8F to XOP_8F_TABLE.
215 Add entries for REG_XOP_LWPCB and REG_XOP_LWP.
217 (get_valid_dis386): Handle USE_XOP_8F_TABLE.
218 Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values
219 to access to the vex_table.
223 * opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP.
224 (cpu_flags): Add CpuLWP.
225 (opcode_modifiers): Add VexLWP, XOP09, and XOP0A.
226 * opcodes/i386-opc.h (CpuLWP): New.
227 (i386_cpu_flags): Add bit cpulwp.
231 (i386_opcode_modifier): Add vexlwp, xop09, and xop0a.
232 * opcodes/i386-opc.tbl (llwpcb): Added.
236 2009-11-04 DJ Delorie <dj@redhat.com>
238 * rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
239 (mvtcp, mvfcp, opecp): Remove.
240 * rx-decode.c: Regenerate.
241 * rx-dis.c (cpen): Remove.
243 2009-11-03 Doug Evans <dje@sebabeach.org>
245 * m32c-desc.c: Regenerate.
246 * mep-desc.c: Regenerate.
248 2009-11-02 Paul Brook <paul@codesourcery.com>
250 * arm-dis.c (coprocessor_opcodes): Update to use new feature flags.
251 Add VFPv4 instructions.
253 2009-10-29 Sebastian Pop <sebastian.pop@amd.com>
255 * i386-dis.c (OP_VEX_FMA): Removed.
257 (Vex128FMA): Removed.
258 (prefix_table): First source operand of FMA4 insns is decoded
259 with Vex not with VexFMA.
260 (OP_EX_VexW): Second source operand is decoded with get_vex_imm8
261 when vex.w is set. Third source operand is decoded with
263 2009-10-27 Alan Modra <amodra@bigpond.net.au>
265 * Makefile.am (HFILES): Remove cgen-ops.h and cgen-types.h.
266 * Makefile.in: Regenerate.
267 * po/POTFILES.in: Regenerate.
269 2009-10-23 Doug Evans <dje@sebabeach.org>
271 * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h.
272 * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h.
273 * cgen-bitset.c: Update.
274 * fr30-desc.h: Regenerate.
275 * frv-desc.h: Regenerate.
276 * ip2k-desc.h: Regenerate.
277 * iq2000-desc.h: Regenerate.
278 * lm32-desc.h: Regenerate.
279 * m32c-desc.h: Regenerate.
280 * m32c-opc.h: Regenerate.
281 * m32r-desc.h: Regenerate.
282 * mep-desc.h: Regenerate.
283 * mt-desc.h: Regenerate.
284 * openrisc-desc.h: Regenerate.
285 * xc16x-desc.h: Regenerate.
286 * xstormy16-desc.h: Regenerate.
288 2009-10-22 DJ Delorie <dj@redhat.com>
290 * rx-decode.opc (decode_opcode): Fix flags for MUL, SUNTIL, and SWHILE.
291 * rx-decode.c: Regenerated.
293 2009-10-20 H.J. Lu <hongjiu.lu@intel.com>
296 * i386-dis.c: Document LB, LS and LV macros.
297 (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction
298 with the 64-bit displacement or immediate operand.
299 (putop): Handle LB, LS and LV macros.
301 2009-10-18 Doug Evans <dje@sebabeach.org>
303 * lm32-opinst.c: Regenerate.
304 * m32c-desc.c: Regenerate.
305 * m32r-opinst.c: Regenerate.
306 * openrisc-ibld.c: Regenerate.
307 * xc16x-desc.c: Regenerate.
308 * xc16x-desc.h: Regenerate.
310 2009-10-17 Doug Evans <dje@sebabeach.org>
312 * Makefile.am (CGEN_CPUS): Add iq2000, lm32.
313 (FR30_DEPS, FRV_DEPS, IQ2000_DEPS): Move so all cgen *_DEPS are
314 sorted alphabetically.
315 (stamp-fr30, stamp-frv, stamp-iq2000, stamp-xc16x): Move so all cgen
316 stamp-* rules are sorted alphabetically.
317 * Makefile.in: Regenerate.
319 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
321 * i386-opc.h: Use enum instead of nested macros.
323 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
325 * i386-dis.c: Simplify enums.
327 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
328 Ineiev <ineiev@gmail.com>
331 * i386-dis.c: Use enum instead of nested macros.
333 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
335 * i386-dis.c (MAX_BYTEMODE): Removed.
337 2009-10-14 Tomas Hurka <tom@hukatronic.cz>
340 * m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl.
342 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
344 * i386-dis.c (print_insn): Always clear need_vex, need_vex_reg
347 2009-10-07 Michael Eager <eager@eagercon.com>
349 * microblaze-dis.c: Add include for microblaze-dis.h,
350 eliminate local extern decls.
351 * microblaze-dis.h: New.
353 2009-10-06 Nick Clifton <nickc@redhat.com>
355 * po/fi.po: Updated Finnish translation.
357 2009-10-03 Andreas Schwab <schwab@linux-m68k.org>
359 * opc2c.c: Include "libiberty.h" and <errno.h>.
360 (orig_filename): Constify.
361 (dump_lines): Fix line number directive.
362 (main): Set orig_filename to basename of input file. Use
365 * Makefile.am (rx-dis.lo): Remove explicit dependencies.
366 ($(srcdir)/rx-decode.c): Use @MAINT@. Use $(EXEEXT_FOR_BUILD)
367 instead of $(EXEEXT).
368 (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
369 $(LINK_FOR_BUILD). Link with libiberty.
370 (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
371 (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
372 * Makefile.in: Regenerated.
373 * rx-decode.c: Regenerated.
375 2009-10-03 Paul Reed <paulreed@paddedcell.com>
377 * arm-dis.c (print_insn): Check symtab_size not *symtab.
379 2009-10-02 H.J. Lu <hongjiu.lu@intel.com>
381 * i386-opc.tbl: Drop Disp64 on jump and loop instructions.
382 * i386-tbl.h: Regenerated.
384 2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
386 * ppc-dis.c (ppc_opts): Add "476" entry.
387 * ppc-opc.c (PPC476): Define.
388 (powerpc_opcodes): Update mnemonics where required for 476.
390 2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
392 * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
393 * ppc-dis.c (ppc_opts): Likewise.
394 Rename "ppca2" to "a2".
396 2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
398 * crx-dis.c (match_opcode): Truncate mcode to 32-bit.
400 2009-09-29 DJ Delorie <dj@redhat.com>
402 * Makefile.am: Add RX files.
403 * configure.in: Add support for RX target.
404 * disassemble.c: Likewise.
405 * Makefile.in: Regenerate.
406 * configure: Regenerate.
408 * rx-decode.c: New file.
409 * rx-decode.opc: New file.
410 * rx-dis.c: New file.
412 2009-09-29 Peter Bergner <bergner@vnet.ibm.com>
414 * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
415 "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.
417 2009-09-25 Michael Eager <eager@eagercon.com>
419 * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
420 microblaze_decode_insn): Add declarations.
421 (get_delay_slots_microblaze): Remove.
423 2009-09-25 Martin Thuresson <martint@google.com>
425 Update sources to make arc and arm targets compile cleanly with
427 * arc-dis.c Fix casts.
428 * arc-ext.c: Add casts.
429 * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
432 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
434 * i386-gen.c (opcode_modifiers): Remove Vex256.
435 (set_bitfield): Handle XXX=V.
437 * i386-opc.h (Vex): Update comments.
440 (i386_opcode_modifier): Change vex to 2 bits. Remove vex256.
442 * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2.
443 * i386-tbl.h: Regenerated.
445 2009-09-23 Nick Clifton <nickc@redhat.com>
447 * po/fr.po: Updated French translation.
449 2009-09-21 Ben Elliston <bje@au.ibm.com>
450 Peter Bergner <bergner@vnet.ibm.com>
452 * ppc-dis.c (ppc_opts): Add "ppca2" entry.
453 * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
454 eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
455 icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
457 (ERAT_T): New operand.
458 (XWC_MASK): New mask.
462 2009-09-18 Nick Clifton <nickc@redhat.com>
464 * po/es.po: Updated Spanish translation.
465 * po/vi.po: Updated Vietnamese translation.
467 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
469 * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
472 2009-09-14 Nick Clifton <nickc@redhat.com>
474 * po/nl.po: Updated Dutch translation.
476 2009-09-11 Nick Clifton <nickc@redhat.com>
478 * po/opcodes.pot: Updated by the Translation project.
480 2009-09-11 Martin Thuresson <martint@google.com>
482 Updated sources to compile cleanly with -Wc++-compat:
483 * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
484 * ldcref.c: Add casts.
485 * ldctor.c: Add casts.
487 * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
488 * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
489 * ldlang.h (enum statement_enum): Move to top level.
490 * ldmain.c: Add casts.
491 * ldwrite.c: Add casts.
492 * lexsup.c: Add casts. (enum control_enum): Move to top level.
493 * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
495 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
497 * s390-dis.c (print_insn_s390): Avoid 'long long'.
499 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
501 * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
502 (print_insn_s390): Signextend and shift pcrel operands before printing.
504 2009-09-09 H.J. Lu <hongjiu.lu@intel.com>
506 * i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to
507 VEX_LEN_AE_R_X_M_0 in comments.
509 2009-09-08 DJ Delorie <dj@redhat.com>
511 * mep-opc.c: Regenerate.
513 2009-09-08 Andreas Schwab <schwab@linux-m68k.org>
515 * z8kgen.c (struct op): Replace unused flavor with id.
516 (opt): Remove extra xorb entry.
517 (func): Use id field as fallback.
518 (sub): Return new string, caller changed.
519 (internal): Allocate end marker. Assign unique id before sorting.
520 (gas): Likewise. Fix loop end condition.
521 * z8k-opc.h: Regenerate.
523 2009-09-08 Alan Modra <amodra@bigpond.net.au>
525 * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
527 2009-09-07 Alan Modra <amodra@bigpond.net.au>
529 * z8kgen.c (func): Fix thinko last patch.
531 2009-09-07 Alan Modra <amodra@bigpond.net.au>
533 * z8kgen.c (func): Stabilize qsort of identically named entries.
534 * z8k-opc.h: Regenerate.
536 2009-09-07 Tristan Gingold <gingold@adacore.com>
538 * po/opcodes.pot: Regenerate.
540 2009-09-07 Alan Modra <amodra@bigpond.net.au>
542 * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
543 * configure: Regenerate.
544 * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
545 (BUILD_LIBS, BUILD_LIB_DEPS): Define. Use..
546 (i386-gen, ia64-gen, z8kgen): ..here.
547 * Makefile.in: Regenerate.
549 2009-09-07 Tristan Gingold <gingold@adacore.com>
551 * z8k-opc.h: Regenerate.
553 2009-09-05 Martin Thuresson <martin@mtme.org>
555 * ia64-dis.c (print_insn_ia64): Update code to use renamed member.
556 * m88k-dis.c (m88kdis): Rename variable class to in_class.
557 * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol):
558 Rename argument class to symbol_class.
560 2009-09-04 Jie Zhang <jie.zhang@analog.com>
562 * bfin-dis.c (decode_pseudodbg_assert_0): Change according
563 to the new encoding of DBGA, DBGAH, and DBGAL.
564 (_print_insn_bfin): Likewise.
566 2009-09-03 Jie Zhang <jie.zhang@analog.com>
568 * bfin-dis.c (_print_insn_bfin): Don't declare.
569 (print_insn_bfin): Don't declare.
570 (dregs_pair): Remove.
571 (ignore_bits): Remove.
574 2009-09-03 Jie Zhang <jie.zhang@analog.com>
576 * bfin-dis.c (IS_DREG): Define.
582 (decode_REGMV_0): Check illegal register move instructions.
584 2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
586 * Makefile.am (BUILD_LIBINTL): New variable.
587 (i386-gen$(EXEEXT_FOR_BUILD)): Use it.
588 (ia64-gen$(EXEEXT_FOR_BUILD)): And here.
589 (z8kgen$(EXEEXT_FOR_BUILD)): And here.
590 * Makefile.in: Regenerate.
592 2009-09-01 DJ Delorie <dj@redhat.com>
594 * mep-asm.c: Regenerate.
595 * mep-desc.c: Regenerate.
596 * mep-opc.c: Regenerate.
598 2009-09-01 Tristan Gingold <gingold@adacore.com>
600 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
601 dependencies. Remove unused FORMAT variable.
602 * configure.com: New file to create build.com DCL script for
603 Itanium VMS or Alpha VMS.
605 2009-08-29 Martin Thuresson <martin@mtme.org>
607 * cris-dis.c (bytes_to_skip): Update code to use new name.
608 * i386-dis.c (putop): Update code to use new name.
609 * i386-gen.c (process_i386_opcodes): Update code to use
611 * i386-opc.h (struct template): Rename struct template to
612 insn_template. Update code accordingly.
613 * i386-tbl.h (i386_optab): Update type to use new name.
614 * ia64-dis.c (print_insn_ia64): Rename variable template
616 * tic30-dis.c (struct instruction, get_tic30_instruction):
617 Update code to use new name.
618 * tic54x-dis.c (has_lkaddr, get_insn_size)
619 (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
620 Update code to use new name.
621 * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
622 Update type to new name.
623 * z8kgen.c (internal, gas): Rename variable new to new_op.
625 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
627 * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
628 Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
629 (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
630 CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
631 * Makefile.in: Regenerated.
633 2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
635 * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
636 [INSTALL_LIBBFD]: ... here, ...
637 [INSTALL_LIBBFD]: ... and empty overrides here.
638 [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
639 [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
640 * Makefile.in: Regenerate.
641 * configure: Regenerate.
643 2009-08-26 Philippe De Muyter <phdm@macqel.be>
645 * m68k-dis.c (print_insn_arg): Add movecr register names for
646 coldfire v4e families.
648 2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
650 * Makefile.am (SUBDIRS): Build '.' before 'po'.
651 (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
652 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
653 (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
654 using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
655 (i386-gen.o): New rule.
656 ($(srcdir)/i386-init.h): Adjust.
657 (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
658 (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
659 (ia64-gen.o): New rule.
660 (ia64_asmtab_deps): New variable.
661 ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
662 (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
663 (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
665 (s390-opc.tab): Adjust.
666 (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
668 (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
669 * Makefile.in: Regenerate.
670 * z8kgen.c (gas): Avoid '/*' in comment.
671 * z8k-opc.h (func): Regenerate.
673 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
675 * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
676 from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
677 i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
678 ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
680 (LIBOPCODES_CFILES): New variable, adding to
681 TARGET_LIBOPCODES_CFILES also non-target library sources.
682 (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
684 (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
685 (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
686 * Makefile.in: Regenerate.
687 * po/POTFILES.in: Regenerate.
689 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
691 * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
692 [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
693 [INSTALL_LIBBFD] (bfdinclude_DATA): New.
694 [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
695 [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
696 is built shared even if it is not to be installed.
697 (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
698 (install_libopcodes, uninstall_libopcodes): Remove.
699 (AM_CPPFLAGS): Renamed from ...
700 (INCLUDES): ... this.
701 * Makefile.in: Regenerate.
703 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
704 1.11, foreign, no-dist.
705 (MKDEP, m32c_opc_h): Remove variables.
706 (disassemble.lo): Rewrite using automake-style dependency
707 tracking rules; only list the dependency upon the primary source
708 file, but no included headers.
709 (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
710 (i386-gen.o, ia64-gen.o): Remove dependency statements.
711 (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
712 ensure all dependency fragments are included in the Makefile.
713 (s390-opc.lo): Depend on s390-opc.tab.
714 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
715 (mkdep section): Remove.
716 * Makefile.in: Regenerate.
717 * po/POTFILES.in: Regenerate.
719 * Makefile.am (install-pdf, install-html): Remove.
720 * Makefile.in: Regenerate.
722 * Makefile.in: Regenerate.
723 * aclocal.m4: Likewise.
724 * config.in: Likewise.
725 * configure: Likewise.
727 2009-08-06 Michael Eager <eager@eagercon.com>
729 * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
730 CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
731 * Makefile.in: Regenerate.
732 * configure.in: Add bfd_microblaze_arch target.
733 * configure: Regenerate.
734 * disassemble.c: Define ARCH_microblaze, return
735 print_insn_microblaze().
736 * microblaze-dis.c: New MicroBlaze disassembler.
737 * microblaze-opc.h: New MicroBlaze opcode definitions.
738 * microblaze-opcm.h: New MicroBlaze opcode types.
740 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
742 * configure.in: Handle bfd_l1om_arch.
743 * disassemble.c (disassembler): Likewise.
745 * configure: Regenerated.
747 * i386-dis.c (print_insn): Handle bfd_mach_l1om and
748 bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM.
750 * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
752 (cpu_flags): Add CpuL1OM.
753 (set_bitfield): Take an argument to set the value field.
754 (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
755 (process_i386_opcode_modifier): Updated.
756 (process_i386_operand_type): Likewise.
757 * i386-init.h: Regenerated.
758 * i386-tbl.h: Likewise.
760 * i386-opc.h (CpuL1OM): New.
762 (i386_cpu_flags): Add cpul1om.
764 2009-07-24 Jan Beulich <jbeulich@novell.com>
766 * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
768 * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
769 (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
770 (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
771 * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
773 (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
775 * i386-opc.tbl: Qualify floating point instructions by their
776 respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
777 and fsincos to be avilable only on 387. Fix fstsw ax to be
778 available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
780 * i386-init.h, i386-tbl.h: Regenerate.
782 2009-07-20 Nick Clifton <nickc@redhat.com>
785 * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
786 offset or indexed based addressing mode 3.
788 2009-07-14 Nick Clifton <nickc@redhat.com>
791 * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
793 (arm_decode_shift): Catch illegal register based shifts.
794 (print_insn_arm): Properly handle negative register r0
795 post-indexed addressing.
797 2009-07-10 Doug Kwan <dougkwan@google.com>
799 * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only
800 lower 32 bits of long types to make hexadecimal output consistent
801 on both 32-bit and 64-bit hosts.
803 2009-07-10 Alan Modra <amodra@bigpond.net.au>
805 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
806 * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
807 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
808 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
809 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
810 * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
811 * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
812 * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
813 * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
814 * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
815 * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
816 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
818 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
820 * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
822 2009-07-07 Nick Clifton <nickc@redhat.com>
825 * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
828 2009-07-06 DJ Delorie <dj@redhat.com>
830 * mep-desc.c: Regenerate.
831 * mep-desc.h: Regenerate.
832 * mep-opc.c: Regenerate.
833 * mep-opc.h: Regenerate.
835 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
837 * i386-opc.h (CpuFMA4): Add CpuFMA4.
838 (i386_cpu_flags): New.
839 * i386-gen.c: Add CPU_FMA4_FLAGS.
840 * i386-opc.tbl: Add FMA4 instructions.
841 * i386-tbl.h: Regenerate.
842 * i386-init.h: Regenerate.
843 * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
844 (OP_XMM_VexW): Ditto.
846 (VEXI4_Fixup): Ditto.
847 (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
848 (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
849 (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
850 (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
851 (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
852 (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
853 (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
854 (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
855 (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
856 (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
857 (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
858 (get_vex_imm8): New. handle FMA4.
859 (OP_EX_VexReg): Ditto.
861 2009-06-30 Nick Clifton <nickc@redhat.com>
864 * arm-dis.c (coprocessor): Print the LDC and STC versions of the
865 LFM and SFM instructions as comments,.
866 Improve consistency of formatting for instructions displayed as
867 comments and decimal values displayed with their hexadecimal
871 2009-06-29 Nick Clifton <nickc@redhat.com>
874 * arm-dis.c (enum opcode_sentinels): New: Used to mark the
875 boundary between variaant and generic coprocessor instuctions.
876 (coprocessor): Use it.
877 Fix architecture version of MCRR and MRRC instructions.
878 (arm_opcdes): Fix patterns for STRB and STRH instructions.
879 (print_insn_coprocessor): Check architecture and extension masks.
880 Print a hexadecimal version of any decimal constant that is
881 outside of the range of -16 to +32.
882 (print_arm_address): Add a return value of the offset used in the
883 adress, if it is worth printing a hexadecimal version of it.
884 (print_insn_neon): Print a hexadecimal version of any decimal
885 constant that is outside of the range of -16 to +32.
886 (print_insn_arm): Likewise.
887 (print_insn_thumb16): Likewise.
888 (print_insn_thumb32): Likewise.
891 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
892 of an undefined instruction.
893 (arm_opcodes): Use it.
894 (thumb_opcod): Use it.
895 (thumb32_opc): Use it.
897 2009-06-23 DJ Delorie <dj@redhat.com>
899 * mep-desc.c: Regenerate.
900 * mep-desc.h: Regenerate.
901 * mep-dis.c: Regenerate.
902 * mep-ibld.c: Regenerate.
903 * mep-opc.c: Regenerate.
905 * mep-asm.c: Regenerate.
906 * mep-opc.c: Regenerate.
907 * mep-opc.h: Regenerate.
909 2009-06-22 Nick Clifton <nickc@redhat.com>
911 * po/fi.po: Updated Finish translation.
913 2009-06-22 Alan Modra <amodra@bigpond.net.au>
915 * m32c-asm.c: Regenerate.
917 2009-06-22 Alan Modra <amodra@bigpond.net.au>
919 * score-dis.c (print_insn_score48, print_insn_score32): Move default
920 case label to proper lexical block.
921 * score7-dis.c (print_insn_score32): Likewise.
923 2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
925 * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
926 MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
927 * s390-opc.txt (nopr, nop): Use new instruction format.
929 2009-06-18 Nick Clifton <nickc@redhat.com>
932 * arm-dis.c (print_insn_coprocessor): Check that a user specified
933 ARM architecture supports the matched instruction.
934 (print_insn_arm): Likewise.
935 (select_arm_features): New function. Fills in the fields of an
936 arm_feature_set structure based on a given arm machine number.
937 (print_insn): Initialise an arm_feature_set structure.
939 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
941 * vax-dis.c (is_function_entry): Return success for synthetic
943 (is_plt_tail): New function.
944 (print_insn_vax): Decode PLT entry offset longword.
946 2009-06-15 Nick Clifton <nickc@redhat.com>
949 * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
953 * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
955 2009-06-15 Nick Clifton <nickc@redhat.com>
958 * arm-dis.c (print_insn): Ignore is_data if the user has requested
959 the disassembly of data as well as instructions.
961 2009-06-11 Doug Evans <dje@sebabeach.org>
963 * cgen.sh: Handle multiple simultaneous runs for parallel makes.
965 2009-06-11 Anthony Green <green@moxielogic.com>
967 * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
968 (moxie_form3_opc_info): Add branch instructions.
969 * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
970 encoded instructions.
972 2009-06-06 Anthony Green <green@moxielogic.com>
974 * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
975 * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
977 2009-06-04 Alan Modra <amodra@bigpond.net.au>
979 * dep-in.sed: Don't use \n in replacement part of s command.
980 * Makefile.am (DEP1): LC_ALL for uniq.
981 * Makefile.in: Regenerate.
983 2009-06-02 Nick Clifton <nickc@redhat.com>
985 * po/nl.po: Updated Dutch translation.
987 2009-06-02 Tristan Gingold <gingold@adacore.com>
989 * ia64-gen.c (parse_resource_users, print_dependency_table,
990 add_dis_table_ent, finish_distable, insert_bit_table_ent,
991 add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
992 get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
993 insert_completer_entry, print_completer_entry, print_completer_table,
994 opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
996 2009-05-28 DJ Delorie <dj@redhat.com>
998 * mep-asm.c: Regenerate.
999 * mep-desc.c: Regenerate.
1001 2009-05-26 DJ Delorie <dj@redhat.com>
1003 * mep-asm.c: Regenerate.
1004 * mep-desc.c: Regenerate.
1005 * mep-desc.h: Regenerate.
1006 * mep-dis.c: Regenerate.
1007 * mep-ibld.c: Regenerate.
1008 * mep-opc.c: Regenerate.
1009 * mep-opc.h: Regenerate.
1011 2009-05-26 Nick Clifton <nickc@redhat.com>
1013 * po/id.po: Updated Indonesian translation.
1014 * po/opcodes.pot: Updated template file.
1016 2009-05-26 Alan Modra <amodra@bigpond.net.au>
1018 * dep-in.sed: Don't modify .o to .lo here. Output one filename
1019 per line with all lines having continuation backslash. Prefix
1020 first line with "A", following lines with "B".
1021 * Makefile.am (DEP): Don't use dep.sed here.
1022 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
1023 dep.sed here on dependencies, sort and uniq.
1024 * Makefile.in: Regenerate.
1026 2009-05-25 Tristan Gingold <gingold@adacore.com>
1028 * makefile.vms (OPT): New variable.
1029 (CFLAGS): Update compilation flags.
1031 2009-05-22 DJ Delorie <dj@redhat.com>
1033 * mep-asm.c: Regenerate.
1034 * mep-desc.c: Regenerate.
1035 * mep-desc.h: Regenerate.
1036 * mep-dis.c: Regenerate.
1037 * mep-ibld.c: Regenerate.
1038 * mep-opc.c: Regenerate.
1039 * mep-opc.h: Regenerate.
1041 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1043 * i386-opc.h (Cpusse5): Delete.
1044 (i386_cpu_flags): Delete.
1045 * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
1046 * i386-opc.tbl: Remove SSE5 instructions.
1047 * i386-tbl.h: Regenerate.
1048 * i386-init.h: Regenerate.
1049 * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
1050 (print_drex_arg): Delete.
1053 (OP_DREX_ICMP): Delete.
1054 (OP_DREX_FCMP): Delete.
1056 (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
1058 2009-05-22 Alan Modra <amodra@bigpond.net.au>
1060 * Makefile.am: Run "make dep-am".
1061 * Makefile.in: Regenerate.
1062 * po/POTFILES.in: Regenerate.
1064 2009-05-19 DJ Delorie <dj@redhat.com>
1066 * mep-asm.c: Regenerate.
1067 * mep-opc.c: Regenerate.
1069 2009-04-30 DJ Delorie <dj@redhat.com>
1071 * mep-asm.c: Regenerate.
1072 * mep-desc.c: Regenerate.
1073 * mep-desc.h: Regenerate.
1074 * mep-dis.c: Regenerate.
1075 * mep-ibld.c: Regenerate.
1076 * mep-opc.c: Regenerate.
1077 * mep-opc.h: Regenerate.
1079 2009-04-17 DJ Delorie <dj@redhat.com
1081 * mep-desc.c: Regenerate.
1082 * mep-ibld.c: Regenerate.
1083 * mep-opc.c: Regenerate.
1084 * mep-opc.h: Regenerate.
1086 2009-04-15 Anthony Green <green@moxielogic.com>
1088 * moxie-opc.c, moxie-dis.c: Created.
1089 * Makefile.am: Build the moxie source files.
1090 * configure.in: Add moxie support.
1091 * Makefile.in, configure: Rebuilt.
1092 * disassemble.c (disassembler): Add moxie support.
1093 (ARCH_moxie): Define.
1095 2009-04-15 Jan Beulich <jbeulich@novell.com>
1097 * i386-opc.tbl (protb, protw, protd, protq): Set opcode
1099 (pshab, pshaw, pshad, pshaq): Likewise.
1100 * i386-tbl.h: Re-generate.
1102 2009-04-08 DJ Delorie <dj@redhat.com
1104 * mep-asm.c: Regenerate.
1105 * mep-desc.c: Regenerate.
1106 * mep-desc.h: Regenerate.
1107 * mep-dis.c: Regenerate.
1108 * mep-ibld.c: Regenerate.
1109 * mep-opc.c: Regenerate.
1110 * mep-opc.h: Regenerate.
1112 2009-04-07 Peter Bergner <bergner@vnet.ibm.com>
1114 * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
1115 "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
1116 Reorder entries so the extended mnemonics are listed before tlbilx.
1118 2009-04-02 Peter Bergner <bergner@vnet.ibm.com>
1120 * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
1122 (print_insn_powerpc): Make sure we only deprecate instructions using
1123 the original dialect and not a modified dialect due to -Many handling.
1124 Move the handling of the condition register and default operands to
1125 the end of the if/else if/else chain.
1126 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1127 instructions from newer processors are listed before older ones.
1128 <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
1129 that have instructions with conflicting opcodes.
1131 2009-04-01 Peter Bergner <bergner@vnet.ibm.com>
1133 * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
1136 2009-04-01 Christophe Lyon <christophe.lyon@st.com>
1138 * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
1140 2009-03-30 Joseph Myers <joseph@codesourcery.com>
1142 * arm-dis.c (print_insn): Also check section matches in backwards
1143 search for mapping symbol.
1145 2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
1147 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
1149 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1151 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
1152 * Makefile.am: Run "make dep-am".
1153 * Makefile.in: Regenerate.
1154 * openrisc-opc.c: Regenerate.
1156 2009-03-10 Nick Clifton <nickc@redhat.com>
1158 * po/id.po: Updated Indonesian translation.
1160 2009-03-10 Alan Modra <amodra@bigpond.net.au>
1162 * ppc-dis.c: Include "opintl.h".
1163 (struct ppc_mopt, ppc_opts): New.
1164 (ppc_parse_cpu): New function.
1165 (powerpc_init_dialect): Use it.
1166 (print_ppc_disassembler_options): Dump options from ppc_opts.
1167 Internationalize message.
1169 2009-03-06 Nick Clifton <nickc@redhat.com>
1171 * po/es.po: Updated Spanish translation.
1173 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1176 * configure.in: Test for ld --as-needed support. Link shared
1177 libopcodes against libm.
1178 * configure: Regenerate.
1180 2009-03-03 Peter Bergner <bergner@vnet.ibm.com>
1182 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1183 instructions from newer processors are listed before older ones.
1185 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1187 * Makefile.am: Run "make dep-am".
1188 (HFILES): Move lm32-desc.h and lm32-opc.h from..
1190 * Makefile.in: Regenerate.
1192 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1194 * score7-dis.c: New file.
1195 * Makefile.am: Add dependencies for score7-dis.c.
1196 * Makefile.in: Regenerate.
1197 * configure.in: Add score7-dis to score files.
1198 * configure: Regenerate.
1199 * score-dis.c: Add support for score7 architecture.
1200 * score-opc.h: Likewise.
1202 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1204 * configure: Regenerate.
1206 2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
1208 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
1210 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1212 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
1213 the power7 and the isel instructions.
1214 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
1215 (insert_dm, extract_dm): Likewise.
1216 (XB6): Update comment to include XX2 form.
1217 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
1218 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
1219 (RemoveXX3DM): Delete.
1220 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
1221 "mftgpr">: Deprecate for POWER7.
1222 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
1223 "frsqrte.">: Deprecate the three operand form and enable the two
1224 operand form for POWER7 and later.
1225 <"wait">: Extend to accept optional parameter. Enable for POWER7.
1226 <"waitsrv", "waitimpl">: Add extended opcodes.
1227 <"ldbrx", "stdbrx">: Enable for POWER7.
1228 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
1229 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
1230 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
1231 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
1232 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
1233 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
1234 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
1235 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
1236 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
1237 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
1238 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
1239 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
1240 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
1241 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
1242 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
1243 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
1244 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
1245 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
1246 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
1247 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
1248 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
1249 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
1250 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
1251 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
1252 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
1253 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
1254 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
1255 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
1256 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
1257 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
1258 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
1259 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
1260 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
1261 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
1262 "xxspltw", "xxswapd">: Add VSX opcodes.
1264 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1266 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
1267 (operand_types): Remove Vex_Imm4.
1269 * i386-opc.h (Vex_Imm4): Removed.
1271 (i386_operand_type): Remove vex_imm4.
1273 * i386-opc.tbl: Remove Vex_Imm4 comments.
1274 * i386-init.h: Regenerated.
1275 * i386-tbl.h: Likewise.
1277 2009-02-23 Richard Earnshaw <rearnsha@arm.com>
1279 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
1280 vq{r}shr{u}n.s64 insnstructions.
1282 2009-02-19 Peter Bergner <bergner@vnet.ibm.com>
1284 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
1285 operand to be a float point register (FRT/FRS).
1287 2009-02-18 Adam Nemet <anemet@caviumnetworks.com>
1289 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
1290 dmfc2 and dmtc2 before the architecture-level variants.
1292 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1294 * fr30-opc.c: Regenerate.
1295 * frv-opc.c: Regenerate.
1296 * ip2k-opc.c: Regenerate.
1297 * iq2000-opc.c: Regenerate.
1298 * lm32-opc.c: Regenerate.
1299 * m32c-opc.c: Regenerate.
1300 * m32r-opc.c: Regenerate.
1301 * mep-opc.c: Regenerate.
1302 * mt-opc.c: Regenerate.
1303 * xc16x-opc.c: Regenerate.
1304 * xstormy16-opc.c: Regenerate.
1305 * tic54x-dis.c (print_instruction): Avoid compiler warning on
1308 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1310 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
1312 2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
1314 * ppc-opc.c: Update copyright year.
1315 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
1316 ordering for POWER4 and later and use the correct Server ordering.
1318 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1320 AVX Programming Reference (January, 2009)
1321 * i386-dis.c (PREFIX_VEX_3A44): New.
1322 (VEX_LEN_3A44_P_2): Likewise.
1323 (PREFIX_VEX_3A48): Updated.
1324 (VEX_LEN_3A4C_P_2): Likewise.
1325 (prefix_table): Add PREFIX_VEX_3A44.
1326 (vex_table): Likewise.
1327 (vex_len_table): Add VEX_LEN_3A44_P_2.
1329 * i386-opc.tbl: Add PCLMUL + AVX instructions.
1330 * i386-tbl.h: Regenerated.
1332 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1334 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
1335 (mips_arch_choices): Add XLR entry.
1336 * mips-opc.c (XLR): Define.
1337 (mips_builtin_opcodes): Add XLR instructions.
1339 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1341 * Makefile.am: Add install-pdf target.
1342 * po/Make-in: Add install-pdf target.
1343 * Makefile.in: Regenerate.
1345 2009-02-02 DJ Delorie <dj@redhat.com>
1347 * mep-asm.c: Regenerate.
1348 * mep-desc.c: Regenerate.
1349 * mep-desc.h: Regenerate.
1350 * mep-dis.c: Regenerate.
1351 * mep-ibld.c: Regenerate.
1352 * mep-opc.c: Regenerate.
1353 * mep-opc.h: Regenerate.
1355 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1357 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
1360 2009-01-28 Chao-ying Fu <fu@mips.com>
1362 * mips-opc.c (suxc1): Add the flag of FP_D.
1364 2009-01-20 Alan Modra <amodra@bigpond.net.au>
1366 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
1367 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
1368 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
1369 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
1370 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
1371 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
1372 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
1373 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
1375 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1377 * configure.in (commonbfdlib): Delete.
1378 (SHARED_LIBADD): Add pic libiberty if such is available.
1379 * configure: Regenerate.
1380 * po/POTFILES.in: Regenerate.
1382 2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
1384 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
1385 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
1386 operand form and enable the four operand form for POWER6 and later.
1387 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
1388 three operand form for POWER6 and later.
1390 2009-01-14 Mike Frysinger <vapier@gentoo.org>
1392 * bfin-dis.c (OUTS): Use "%s" as format string.
1394 2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
1396 * i386-gen.c (cpu_flag_init): Remove a white space.
1397 (operand_type_init): Likewise.
1399 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1401 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
1402 * i386-tbl.h: Regenerated.
1404 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1406 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
1407 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
1408 subS, xorS and cmpS.
1410 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1412 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
1413 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
1414 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
1415 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
1418 (set_bitfield): Take an argument, lineno. Don't report lineno
1419 on error if it is -1.
1420 (process_i386_cpu_flag): Take an argument, lineno.
1421 (process_i386_opcode_modifier): Likewise.
1422 (process_i386_operand_type): Likewise.
1423 (output_i386_opcode): Likewise.
1424 (opcode_hash_entry): Add lineno.
1425 (process_i386_opcodes): Updated.
1426 (process_i386_registers): Likewise.
1427 (process_i386_initializers): Likewise.
1429 * i386-opc.h (CpuP4): Removed.
1433 (CpuSYSCALL): Likewise.
1435 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
1436 cpuclflush and cpusyscall.
1438 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
1440 * i386-init.h: Regenerated.
1441 * i386-tbl.h: Likewise.
1443 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1445 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
1446 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
1447 (cpu_flags): Add CpuRdtscp.
1448 (set_bitfield): Remove CpuSledgehammer check.
1450 * i386-opc.h (CpuRdtscp): New.
1452 (i386_cpu_flags): Add cpurdtscp.
1454 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
1455 * i386-init.h: Regenerated.
1456 * i386-tbl.h: Likewise.
1458 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1460 * ppc-opc.c (PPCNONE): Define.
1462 (powerpc_opcodes): Initialize the new "deprecated" field.
1464 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
1466 AVX Programming Reference (December, 2008)
1467 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
1468 (VEX_LEN_E7_P_2_M_0): Likewise.
1469 (VEX_LEN_2C_P_1): Updated.
1470 (VEX_LEN_E8_P_2): Likewise.
1471 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
1472 (mod_table): Likewise.
1474 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
1475 * i386-tbl.h: Regenerated.
1477 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1479 * i386-gen.c (process_copyright): Update for 2009.
1481 * i386-init.h: Regenerated.
1482 * i386-tbl.h: Likewise.
1484 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1486 AVX Programming Reference (December, 2008)
1487 * i386-dis.c (OP_VEX_FMA): Removed.
1488 (OP_EX_VexW): Likewise.
1489 (OP_EX_VexImmW): Likewise.
1490 (OP_XMM_VexW): Likewise.
1491 (VEXI4_Fixup): Likewise.
1492 (VPERMIL2_Fixup): Likewise.
1495 (Vex128FMA): Likewise.
1497 (EXdVexW): Likewise.
1498 (EXqVexW): Likewise.
1499 (EXVexImmW): Likewise.
1501 (VPERMIL2): Likewise.
1502 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
1503 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
1504 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
1505 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
1506 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
1507 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
1508 (get_vex_imm8): Likewise.
1509 (OP_EX_VexReg): Likewise.
1510 vpermil2_op): Likewise.
1512 (vex_w_dq_mode): Likewise.
1513 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
1514 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
1515 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
1517 (PREFIX_VEX_38DB): Likewise.
1518 (PREFIX_VEX_3A4A): Likewise.
1519 (PREFIX_VEX_3A60): Likewise.
1520 (PREFIX_VEX_3ADF): Likewise.
1521 (VEX_LEN_3ADF_P_2): Likewise.
1522 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
1523 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
1524 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
1525 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
1526 PREFIX_VEX_3896...PREFIX_VEX_389F,
1527 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
1528 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
1529 (vex_table): Likewise.
1530 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
1531 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
1532 (putop): Support "%XW".
1533 (intel_operand_size): Handle vex_w_dq_mode.
1535 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
1537 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
1538 instructions. Add new FMA instructions.
1539 * i386-tbl.h: Regenerated.
1541 2009-01-02 Matthias Klose <doko@ubuntu.com>
1543 * or32-opc.c (or32_print_register, or32_print_immediate,
1544 disassemble_insn): Don't rely on undefined sprintf behaviour.
1546 For older changes see ChangeLog-2008
1552 version-control: never