1 2009-11-30 Massimo Ruo Roch <massimo.ruoroch@polito.it>
4 * m68k-opc.c (m68k_opcodes): Allow the STLDSR instruction on the
7 2009-11-17 Quentin Neill <quentin.neill@amd.com>
8 Sebastian Pop <sebastian.pop@amd.com>
10 * i386-dis.c (get_vex_imm8): Increase bytes_before_imm when
11 decoding the second source operand from the immediate byte.
12 (OP_EX_VexW): Pass an extra integer to identify the second
13 and third source arguments.
15 2009-11-19 H.J. Lu <hongjiu.lu@intel.com>
17 * i386-opc.tbl: Add IsLockable to cmpxch16b.
18 * i386-tbl.h: Regenerated.
20 2009-11-19 Nick Clifton <nickc@redhat.com>
23 * arm-dis.c (print_insn_arm): Do not print an offset of zero when
24 decoding Immediaate Offset addressing.
26 2009-11-18 Sebastian Pop <sebastian.pop@amd.com>
29 * i386-dis.c (get_vex_imm8): Do not increment codep.
30 Avoid incrementing bytes_before_imm when OP_E_memory
31 has already forwarded the codep pointer.
32 (OP_EX_VexW): Increment codep to skip mod/rm byte.
34 2009-11-18 Sebastian Pop <sebastian.pop@amd.com>
36 * i386-dis.c (VEX_LEN_XOP_08_A0): Removed.
37 (VEX_LEN_XOP_08_A1): Removed.
38 (xop_table): Remove entries for VEX_LEN_XOP_08_A0 and
40 (vex_len_table): Same.
41 * i386-gen.c (CPU_CVT16_FLAGS): Removed.
42 (cpu_flags): Remove field for CpuCVT16.
43 * i386-opc.h (CpuCVT16): Removed.
44 (i386_cpu_flags): Remove bitfield cpucvt16.
45 (i386-opc.tbl): Remove CVT16 instructions.
46 * i386-init.h: Regenerated.
47 * i386-tbl.h: Regenerated.
49 2009-11-17 Sebastian Pop <sebastian.pop@amd.com>
50 Quentin Neill <quentin.neill@amd.com>
52 * i386-dis.c (OP_Vex_2src_1): New.
57 (VEX_LEN_XOP_08_A0): Added.
58 (VEX_LEN_XOP_08_A1): Added.
59 (VEX_LEN_XOP_09_80): Added.
60 (VEX_LEN_XOP_09_81): Added.
61 (xop_table): Added an entry for XOP_08. Handle xop instructions.
62 (vex_len_table): Added entries for VEX_LEN_XOP_08_A0,
63 VEX_LEN_XOP_08_A1, VEX_LEN_XOP_09_80, VEX_LEN_XOP_09_81.
64 (get_valid_dis386): Handle XOP_08.
66 * i386-gen.c (cpu_flag_init): Add CPU_XOP_FLAGS and CPU_CVT16_FLAGS.
67 (cpu_flags): Add CpuXOP and CpuCVT16.
68 (opcode_modifiers): Add XOP08, Vex2Sources.
69 * i386-opc.h (CpuXOP): Added.
71 (i386_cpu_flags): Add cpuxop and cpucvt16.
74 (i386_opcode_modifier): Add xop08, vex2sources.
75 * i386-opc.tbl: Add entries for XOP and CVT16 instructions.
76 * i386-init.h: Regenerated.
77 * i386-tbl.h: Regenerated.
79 2009-11-17 Nick Clifton <nickc@redhat.com>
82 * arm-dis.c (arm_opcodes): Add patterns to match undefined LDRB
83 instruction variants. Add pattern for MRS variant that was being
85 (arm_decode_shift): Place error message in a comment.
86 (print_insn_arm): Note that writing back to the PC is
88 Only print 'p' variants of cmp/cmn/teq/tst instructions if
89 decoding for pre-V6 architectures.
91 2009-11-17 Edward Nevill <edward.nevill@arm.com>
93 * arm-dis.c (print_insn_thumb32): Handle undefined instruction.
95 2009-11-14 Doug Evans <dje@sebabeach.org>
97 * Makefile.am (stamp-xc16x): Use ../cpu/xc16x.cpu instead of
99 * Makefile.in: Regenerate.
101 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
103 * i386-dis.c (OP_E_extended): Removed.
105 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
107 * i386-dis.c (print_insn): Check rex_ignored.
109 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
111 * i386-dis.c (ckprefix): Updated to return 0 if number of
112 prefixes > 14 and record the last position for each prefix.
113 (lock_prefix): Removed.
114 (data_prefix): Likewise.
115 (addr_prefix): Likewise.
116 (repz_prefix): Likewise.
117 (repnz_prefix): Likewise.
118 (last_lock_prefix): New.
119 (last_repz_prefix): Likewise.
120 (last_repnz_prefix): Likewise.
121 (last_data_prefix): Likewise.
122 (last_addr_prefix): Likewise.
123 (last_rex_prefix): Likewise.
124 (last_seg_prefix): Likewise.
125 (MAX_CODE_LENGTH): Likewise.
126 (ADDR16_PREFIX): Likewise.
127 (ADDR32_PREFIX): Likewise.
128 (DATA16_PREFIX): Likewise.
129 (DATA32_PREFIX): Likewise.
130 (REP_PREFIX): Likewise.
131 (seg_prefix): Likewise.
132 (all_prefixes): Change size to MAX_CODE_LENGTH - 1.
133 (prefix_name): Handle ADDR16_PREFIX, ADDR32_PREFIX,
134 DATA16_PREFIX, DATA32_PREFIX and REP_PREFIX.
135 (get_valid_dis386): Updated.
137 (OP_Monitor): Likewise.
138 (REP_Fixup): Likewise.
139 (print_insn): Display all prefixes.
140 (putop): Set PREFIX_DATA on used_prefixes only if it is used.
141 (intel_operand_size): Likewise.
142 (OP_E_register): Likewise.
145 (OP_IMREG): Likewise.
149 (CRC32_Fixup): Likewise.
150 (MOVBE_Fixup): Likewise.
151 (OP_E_memory): Set REFIX_DATA on used_prefixes when it is used
153 (OP_J): Set REX_W used if it is used. Set PREFIX_DATA on
154 used_prefixes only if it is used.
156 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
158 * i386-opc.tbl: Remove IsLockable from add, adc, and, dec, inc,
159 or, sbb, sub, xor and xchg with register only operands.
160 * i386-tbl.h: Regenerated.
162 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
164 * i386-gen.c (opcode_modifiers): Add IsLockable.
166 * i386-opc.h (IsLockable): New.
167 (i386_opcode_modifier): Add islockable.
169 * i386-opc.tbl: Add IsLockable to add, adc, and, btc, btr,
170 bts, cmpxchg, cmpxch8b, dec, inc, neg, not, or, sbb, sub,
172 * i386-tbl.h: Regenerated.
174 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
176 * arm-dis.c (coprocessor_opcodes): Use %A instead of %C. Remove
177 generic coprocessor instructions for FPA loads and stores.
178 (print_insn_coprocessor): Remove %C support. Display address for
179 PC-relative offsets in %A.
181 2009-11-11 H.J. Lu <hongjiu.lu@intel.com>
183 * i386-dis.c (all_prefixes): New.
184 (ckprefix): Set all_prefixes.
185 (print_insn): Print all_prefixes instead of lock_prefix,
186 repz_prefix, repnz_prefix, addr_prefix and data_prefix.
188 2009-11-11 Nick Clifton <nickc@redhat.com>
191 * arm-dis.c (UNPREDICTABLE_INSTRUCTION): New macro.
192 (print_insn_arm): Extend %s format control code to check for
193 unpredictable addressing modes. Add support for %S format control
194 code which suppresses this check.
195 (W_BIT, I_BIT, U_BIT, P_BIT): New macros.
196 (WRITEBACK_BIT_SET, IMMEDIATE_BIT_SET, NEGATIVE_BIT_SET,
197 PRE_BIT_SET): New macros.
198 (print_insn_coprocessor): Use the new macros instead of magic
200 (print_arm_address): Likewise.
201 (pirnt_insn_arm): Likewise.
202 (print_insn_thumb32): Likewise.
204 2009-11-11 Nick Clifton <nickc@redhat.com>
206 * po/id.po: Updated Indonesian translation.
208 2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com>
210 * m68k-dis.c (print_insn_arg): Handle RGPIOBAR, ACR[4-7] and MBAR[01].
212 2009-11-06 Sebastian Pop <sebastian.pop@amd.com>
214 * i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to
215 reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to
216 B.mm in the RXB.mmmmm byte, and so when B is set, we still should use
218 (get_valid_dis386): Removed unused condition (from cut/n/paste) for
221 2009-11-05 Sebastian Pop <sebastian.pop@amd.com>
222 Quentin Neill <quentin.neill@amd.com>
224 * opcodes/i386-dis.c (OP_LWPCB_E): New.
227 (USE_XOP_8F_TABLE): New.
229 (REG_XOP_LWPCB): New.
233 (reg_table): Redirect REG_8F to XOP_8F_TABLE.
234 Add entries for REG_XOP_LWPCB and REG_XOP_LWP.
236 (get_valid_dis386): Handle USE_XOP_8F_TABLE.
237 Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values
238 to access to the vex_table.
242 * opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP.
243 (cpu_flags): Add CpuLWP.
244 (opcode_modifiers): Add VexLWP, XOP09, and XOP0A.
245 * opcodes/i386-opc.h (CpuLWP): New.
246 (i386_cpu_flags): Add bit cpulwp.
250 (i386_opcode_modifier): Add vexlwp, xop09, and xop0a.
251 * opcodes/i386-opc.tbl (llwpcb): Added.
255 2009-11-04 DJ Delorie <dj@redhat.com>
257 * rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
258 (mvtcp, mvfcp, opecp): Remove.
259 * rx-decode.c: Regenerate.
260 * rx-dis.c (cpen): Remove.
262 2009-11-03 Doug Evans <dje@sebabeach.org>
264 * m32c-desc.c: Regenerate.
265 * mep-desc.c: Regenerate.
267 2009-11-02 Paul Brook <paul@codesourcery.com>
269 * arm-dis.c (coprocessor_opcodes): Update to use new feature flags.
270 Add VFPv4 instructions.
272 2009-10-29 Sebastian Pop <sebastian.pop@amd.com>
274 * i386-dis.c (OP_VEX_FMA): Removed.
276 (Vex128FMA): Removed.
277 (prefix_table): First source operand of FMA4 insns is decoded
278 with Vex not with VexFMA.
279 (OP_EX_VexW): Second source operand is decoded with get_vex_imm8
280 when vex.w is set. Third source operand is decoded with
282 2009-10-27 Alan Modra <amodra@bigpond.net.au>
284 * Makefile.am (HFILES): Remove cgen-ops.h and cgen-types.h.
285 * Makefile.in: Regenerate.
286 * po/POTFILES.in: Regenerate.
288 2009-10-23 Doug Evans <dje@sebabeach.org>
290 * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h.
291 * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h.
292 * cgen-bitset.c: Update.
293 * fr30-desc.h: Regenerate.
294 * frv-desc.h: Regenerate.
295 * ip2k-desc.h: Regenerate.
296 * iq2000-desc.h: Regenerate.
297 * lm32-desc.h: Regenerate.
298 * m32c-desc.h: Regenerate.
299 * m32c-opc.h: Regenerate.
300 * m32r-desc.h: Regenerate.
301 * mep-desc.h: Regenerate.
302 * mt-desc.h: Regenerate.
303 * openrisc-desc.h: Regenerate.
304 * xc16x-desc.h: Regenerate.
305 * xstormy16-desc.h: Regenerate.
307 2009-10-22 DJ Delorie <dj@redhat.com>
309 * rx-decode.opc (decode_opcode): Fix flags for MUL, SUNTIL, and SWHILE.
310 * rx-decode.c: Regenerated.
312 2009-10-20 H.J. Lu <hongjiu.lu@intel.com>
315 * i386-dis.c: Document LB, LS and LV macros.
316 (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction
317 with the 64-bit displacement or immediate operand.
318 (putop): Handle LB, LS and LV macros.
320 2009-10-18 Doug Evans <dje@sebabeach.org>
322 * lm32-opinst.c: Regenerate.
323 * m32c-desc.c: Regenerate.
324 * m32r-opinst.c: Regenerate.
325 * openrisc-ibld.c: Regenerate.
326 * xc16x-desc.c: Regenerate.
327 * xc16x-desc.h: Regenerate.
329 2009-10-17 Doug Evans <dje@sebabeach.org>
331 * Makefile.am (CGEN_CPUS): Add iq2000, lm32.
332 (FR30_DEPS, FRV_DEPS, IQ2000_DEPS): Move so all cgen *_DEPS are
333 sorted alphabetically.
334 (stamp-fr30, stamp-frv, stamp-iq2000, stamp-xc16x): Move so all cgen
335 stamp-* rules are sorted alphabetically.
336 * Makefile.in: Regenerate.
338 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
340 * i386-opc.h: Use enum instead of nested macros.
342 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
344 * i386-dis.c: Simplify enums.
346 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
347 Ineiev <ineiev@gmail.com>
350 * i386-dis.c: Use enum instead of nested macros.
352 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
354 * i386-dis.c (MAX_BYTEMODE): Removed.
356 2009-10-14 Tomas Hurka <tom@hukatronic.cz>
359 * m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl.
361 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
363 * i386-dis.c (print_insn): Always clear need_vex, need_vex_reg
366 2009-10-07 Michael Eager <eager@eagercon.com>
368 * microblaze-dis.c: Add include for microblaze-dis.h,
369 eliminate local extern decls.
370 * microblaze-dis.h: New.
372 2009-10-06 Nick Clifton <nickc@redhat.com>
374 * po/fi.po: Updated Finnish translation.
376 2009-10-03 Andreas Schwab <schwab@linux-m68k.org>
378 * opc2c.c: Include "libiberty.h" and <errno.h>.
379 (orig_filename): Constify.
380 (dump_lines): Fix line number directive.
381 (main): Set orig_filename to basename of input file. Use
384 * Makefile.am (rx-dis.lo): Remove explicit dependencies.
385 ($(srcdir)/rx-decode.c): Use @MAINT@. Use $(EXEEXT_FOR_BUILD)
386 instead of $(EXEEXT).
387 (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
388 $(LINK_FOR_BUILD). Link with libiberty.
389 (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
390 (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
391 * Makefile.in: Regenerated.
392 * rx-decode.c: Regenerated.
394 2009-10-03 Paul Reed <paulreed@paddedcell.com>
396 * arm-dis.c (print_insn): Check symtab_size not *symtab.
398 2009-10-02 H.J. Lu <hongjiu.lu@intel.com>
400 * i386-opc.tbl: Drop Disp64 on jump and loop instructions.
401 * i386-tbl.h: Regenerated.
403 2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
405 * ppc-dis.c (ppc_opts): Add "476" entry.
406 * ppc-opc.c (PPC476): Define.
407 (powerpc_opcodes): Update mnemonics where required for 476.
409 2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
411 * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
412 * ppc-dis.c (ppc_opts): Likewise.
413 Rename "ppca2" to "a2".
415 2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
417 * crx-dis.c (match_opcode): Truncate mcode to 32-bit.
419 2009-09-29 DJ Delorie <dj@redhat.com>
421 * Makefile.am: Add RX files.
422 * configure.in: Add support for RX target.
423 * disassemble.c: Likewise.
424 * Makefile.in: Regenerate.
425 * configure: Regenerate.
427 * rx-decode.c: New file.
428 * rx-decode.opc: New file.
429 * rx-dis.c: New file.
431 2009-09-29 Peter Bergner <bergner@vnet.ibm.com>
433 * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
434 "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.
436 2009-09-25 Michael Eager <eager@eagercon.com>
438 * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
439 microblaze_decode_insn): Add declarations.
440 (get_delay_slots_microblaze): Remove.
442 2009-09-25 Martin Thuresson <martint@google.com>
444 Update sources to make arc and arm targets compile cleanly with
446 * arc-dis.c Fix casts.
447 * arc-ext.c: Add casts.
448 * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
451 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
453 * i386-gen.c (opcode_modifiers): Remove Vex256.
454 (set_bitfield): Handle XXX=V.
456 * i386-opc.h (Vex): Update comments.
459 (i386_opcode_modifier): Change vex to 2 bits. Remove vex256.
461 * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2.
462 * i386-tbl.h: Regenerated.
464 2009-09-23 Nick Clifton <nickc@redhat.com>
466 * po/fr.po: Updated French translation.
468 2009-09-21 Ben Elliston <bje@au.ibm.com>
469 Peter Bergner <bergner@vnet.ibm.com>
471 * ppc-dis.c (ppc_opts): Add "ppca2" entry.
472 * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
473 eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
474 icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
476 (ERAT_T): New operand.
477 (XWC_MASK): New mask.
481 2009-09-18 Nick Clifton <nickc@redhat.com>
483 * po/es.po: Updated Spanish translation.
484 * po/vi.po: Updated Vietnamese translation.
486 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
488 * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
491 2009-09-14 Nick Clifton <nickc@redhat.com>
493 * po/nl.po: Updated Dutch translation.
495 2009-09-11 Nick Clifton <nickc@redhat.com>
497 * po/opcodes.pot: Updated by the Translation project.
499 2009-09-11 Martin Thuresson <martint@google.com>
501 Updated sources to compile cleanly with -Wc++-compat:
502 * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
503 * ldcref.c: Add casts.
504 * ldctor.c: Add casts.
506 * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
507 * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
508 * ldlang.h (enum statement_enum): Move to top level.
509 * ldmain.c: Add casts.
510 * ldwrite.c: Add casts.
511 * lexsup.c: Add casts. (enum control_enum): Move to top level.
512 * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
514 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
516 * s390-dis.c (print_insn_s390): Avoid 'long long'.
518 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
520 * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
521 (print_insn_s390): Signextend and shift pcrel operands before printing.
523 2009-09-09 H.J. Lu <hongjiu.lu@intel.com>
525 * i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to
526 VEX_LEN_AE_R_X_M_0 in comments.
528 2009-09-08 DJ Delorie <dj@redhat.com>
530 * mep-opc.c: Regenerate.
532 2009-09-08 Andreas Schwab <schwab@linux-m68k.org>
534 * z8kgen.c (struct op): Replace unused flavor with id.
535 (opt): Remove extra xorb entry.
536 (func): Use id field as fallback.
537 (sub): Return new string, caller changed.
538 (internal): Allocate end marker. Assign unique id before sorting.
539 (gas): Likewise. Fix loop end condition.
540 * z8k-opc.h: Regenerate.
542 2009-09-08 Alan Modra <amodra@bigpond.net.au>
544 * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
546 2009-09-07 Alan Modra <amodra@bigpond.net.au>
548 * z8kgen.c (func): Fix thinko last patch.
550 2009-09-07 Alan Modra <amodra@bigpond.net.au>
552 * z8kgen.c (func): Stabilize qsort of identically named entries.
553 * z8k-opc.h: Regenerate.
555 2009-09-07 Tristan Gingold <gingold@adacore.com>
557 * po/opcodes.pot: Regenerate.
559 2009-09-07 Alan Modra <amodra@bigpond.net.au>
561 * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
562 * configure: Regenerate.
563 * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
564 (BUILD_LIBS, BUILD_LIB_DEPS): Define. Use..
565 (i386-gen, ia64-gen, z8kgen): ..here.
566 * Makefile.in: Regenerate.
568 2009-09-07 Tristan Gingold <gingold@adacore.com>
570 * z8k-opc.h: Regenerate.
572 2009-09-05 Martin Thuresson <martin@mtme.org>
574 * ia64-dis.c (print_insn_ia64): Update code to use renamed member.
575 * m88k-dis.c (m88kdis): Rename variable class to in_class.
576 * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol):
577 Rename argument class to symbol_class.
579 2009-09-04 Jie Zhang <jie.zhang@analog.com>
581 * bfin-dis.c (decode_pseudodbg_assert_0): Change according
582 to the new encoding of DBGA, DBGAH, and DBGAL.
583 (_print_insn_bfin): Likewise.
585 2009-09-03 Jie Zhang <jie.zhang@analog.com>
587 * bfin-dis.c (_print_insn_bfin): Don't declare.
588 (print_insn_bfin): Don't declare.
589 (dregs_pair): Remove.
590 (ignore_bits): Remove.
593 2009-09-03 Jie Zhang <jie.zhang@analog.com>
595 * bfin-dis.c (IS_DREG): Define.
601 (decode_REGMV_0): Check illegal register move instructions.
603 2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
605 * Makefile.am (BUILD_LIBINTL): New variable.
606 (i386-gen$(EXEEXT_FOR_BUILD)): Use it.
607 (ia64-gen$(EXEEXT_FOR_BUILD)): And here.
608 (z8kgen$(EXEEXT_FOR_BUILD)): And here.
609 * Makefile.in: Regenerate.
611 2009-09-01 DJ Delorie <dj@redhat.com>
613 * mep-asm.c: Regenerate.
614 * mep-desc.c: Regenerate.
615 * mep-opc.c: Regenerate.
617 2009-09-01 Tristan Gingold <gingold@adacore.com>
619 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
620 dependencies. Remove unused FORMAT variable.
621 * configure.com: New file to create build.com DCL script for
622 Itanium VMS or Alpha VMS.
624 2009-08-29 Martin Thuresson <martin@mtme.org>
626 * cris-dis.c (bytes_to_skip): Update code to use new name.
627 * i386-dis.c (putop): Update code to use new name.
628 * i386-gen.c (process_i386_opcodes): Update code to use
630 * i386-opc.h (struct template): Rename struct template to
631 insn_template. Update code accordingly.
632 * i386-tbl.h (i386_optab): Update type to use new name.
633 * ia64-dis.c (print_insn_ia64): Rename variable template
635 * tic30-dis.c (struct instruction, get_tic30_instruction):
636 Update code to use new name.
637 * tic54x-dis.c (has_lkaddr, get_insn_size)
638 (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
639 Update code to use new name.
640 * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
641 Update type to new name.
642 * z8kgen.c (internal, gas): Rename variable new to new_op.
644 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
646 * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
647 Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
648 (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
649 CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
650 * Makefile.in: Regenerated.
652 2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
654 * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
655 [INSTALL_LIBBFD]: ... here, ...
656 [INSTALL_LIBBFD]: ... and empty overrides here.
657 [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
658 [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
659 * Makefile.in: Regenerate.
660 * configure: Regenerate.
662 2009-08-26 Philippe De Muyter <phdm@macqel.be>
664 * m68k-dis.c (print_insn_arg): Add movecr register names for
665 coldfire v4e families.
667 2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
669 * Makefile.am (SUBDIRS): Build '.' before 'po'.
670 (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
671 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
672 (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
673 using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
674 (i386-gen.o): New rule.
675 ($(srcdir)/i386-init.h): Adjust.
676 (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
677 (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
678 (ia64-gen.o): New rule.
679 (ia64_asmtab_deps): New variable.
680 ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
681 (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
682 (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
684 (s390-opc.tab): Adjust.
685 (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
687 (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
688 * Makefile.in: Regenerate.
689 * z8kgen.c (gas): Avoid '/*' in comment.
690 * z8k-opc.h (func): Regenerate.
692 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
694 * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
695 from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
696 i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
697 ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
699 (LIBOPCODES_CFILES): New variable, adding to
700 TARGET_LIBOPCODES_CFILES also non-target library sources.
701 (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
703 (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
704 (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
705 * Makefile.in: Regenerate.
706 * po/POTFILES.in: Regenerate.
708 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
710 * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
711 [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
712 [INSTALL_LIBBFD] (bfdinclude_DATA): New.
713 [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
714 [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
715 is built shared even if it is not to be installed.
716 (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
717 (install_libopcodes, uninstall_libopcodes): Remove.
718 (AM_CPPFLAGS): Renamed from ...
719 (INCLUDES): ... this.
720 * Makefile.in: Regenerate.
722 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
723 1.11, foreign, no-dist.
724 (MKDEP, m32c_opc_h): Remove variables.
725 (disassemble.lo): Rewrite using automake-style dependency
726 tracking rules; only list the dependency upon the primary source
727 file, but no included headers.
728 (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
729 (i386-gen.o, ia64-gen.o): Remove dependency statements.
730 (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
731 ensure all dependency fragments are included in the Makefile.
732 (s390-opc.lo): Depend on s390-opc.tab.
733 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
734 (mkdep section): Remove.
735 * Makefile.in: Regenerate.
736 * po/POTFILES.in: Regenerate.
738 * Makefile.am (install-pdf, install-html): Remove.
739 * Makefile.in: Regenerate.
741 * Makefile.in: Regenerate.
742 * aclocal.m4: Likewise.
743 * config.in: Likewise.
744 * configure: Likewise.
746 2009-08-06 Michael Eager <eager@eagercon.com>
748 * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
749 CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
750 * Makefile.in: Regenerate.
751 * configure.in: Add bfd_microblaze_arch target.
752 * configure: Regenerate.
753 * disassemble.c: Define ARCH_microblaze, return
754 print_insn_microblaze().
755 * microblaze-dis.c: New MicroBlaze disassembler.
756 * microblaze-opc.h: New MicroBlaze opcode definitions.
757 * microblaze-opcm.h: New MicroBlaze opcode types.
759 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
761 * configure.in: Handle bfd_l1om_arch.
762 * disassemble.c (disassembler): Likewise.
764 * configure: Regenerated.
766 * i386-dis.c (print_insn): Handle bfd_mach_l1om and
767 bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM.
769 * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
771 (cpu_flags): Add CpuL1OM.
772 (set_bitfield): Take an argument to set the value field.
773 (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
774 (process_i386_opcode_modifier): Updated.
775 (process_i386_operand_type): Likewise.
776 * i386-init.h: Regenerated.
777 * i386-tbl.h: Likewise.
779 * i386-opc.h (CpuL1OM): New.
781 (i386_cpu_flags): Add cpul1om.
783 2009-07-24 Jan Beulich <jbeulich@novell.com>
785 * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
787 * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
788 (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
789 (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
790 * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
792 (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
794 * i386-opc.tbl: Qualify floating point instructions by their
795 respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
796 and fsincos to be avilable only on 387. Fix fstsw ax to be
797 available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
799 * i386-init.h, i386-tbl.h: Regenerate.
801 2009-07-20 Nick Clifton <nickc@redhat.com>
804 * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
805 offset or indexed based addressing mode 3.
807 2009-07-14 Nick Clifton <nickc@redhat.com>
810 * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
812 (arm_decode_shift): Catch illegal register based shifts.
813 (print_insn_arm): Properly handle negative register r0
814 post-indexed addressing.
816 2009-07-10 Doug Kwan <dougkwan@google.com>
818 * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only
819 lower 32 bits of long types to make hexadecimal output consistent
820 on both 32-bit and 64-bit hosts.
822 2009-07-10 Alan Modra <amodra@bigpond.net.au>
824 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
825 * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
826 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
827 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
828 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
829 * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
830 * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
831 * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
832 * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
833 * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
834 * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
835 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
837 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
839 * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
841 2009-07-07 Nick Clifton <nickc@redhat.com>
844 * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
847 2009-07-06 DJ Delorie <dj@redhat.com>
849 * mep-desc.c: Regenerate.
850 * mep-desc.h: Regenerate.
851 * mep-opc.c: Regenerate.
852 * mep-opc.h: Regenerate.
854 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
856 * i386-opc.h (CpuFMA4): Add CpuFMA4.
857 (i386_cpu_flags): New.
858 * i386-gen.c: Add CPU_FMA4_FLAGS.
859 * i386-opc.tbl: Add FMA4 instructions.
860 * i386-tbl.h: Regenerate.
861 * i386-init.h: Regenerate.
862 * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
863 (OP_XMM_VexW): Ditto.
865 (VEXI4_Fixup): Ditto.
866 (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
867 (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
868 (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
869 (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
870 (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
871 (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
872 (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
873 (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
874 (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
875 (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
876 (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
877 (get_vex_imm8): New. handle FMA4.
878 (OP_EX_VexReg): Ditto.
880 2009-06-30 Nick Clifton <nickc@redhat.com>
883 * arm-dis.c (coprocessor): Print the LDC and STC versions of the
884 LFM and SFM instructions as comments,.
885 Improve consistency of formatting for instructions displayed as
886 comments and decimal values displayed with their hexadecimal
890 2009-06-29 Nick Clifton <nickc@redhat.com>
893 * arm-dis.c (enum opcode_sentinels): New: Used to mark the
894 boundary between variaant and generic coprocessor instuctions.
895 (coprocessor): Use it.
896 Fix architecture version of MCRR and MRRC instructions.
897 (arm_opcdes): Fix patterns for STRB and STRH instructions.
898 (print_insn_coprocessor): Check architecture and extension masks.
899 Print a hexadecimal version of any decimal constant that is
900 outside of the range of -16 to +32.
901 (print_arm_address): Add a return value of the offset used in the
902 adress, if it is worth printing a hexadecimal version of it.
903 (print_insn_neon): Print a hexadecimal version of any decimal
904 constant that is outside of the range of -16 to +32.
905 (print_insn_arm): Likewise.
906 (print_insn_thumb16): Likewise.
907 (print_insn_thumb32): Likewise.
910 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
911 of an undefined instruction.
912 (arm_opcodes): Use it.
913 (thumb_opcod): Use it.
914 (thumb32_opc): Use it.
916 2009-06-23 DJ Delorie <dj@redhat.com>
918 * mep-desc.c: Regenerate.
919 * mep-desc.h: Regenerate.
920 * mep-dis.c: Regenerate.
921 * mep-ibld.c: Regenerate.
922 * mep-opc.c: Regenerate.
924 * mep-asm.c: Regenerate.
925 * mep-opc.c: Regenerate.
926 * mep-opc.h: Regenerate.
928 2009-06-22 Nick Clifton <nickc@redhat.com>
930 * po/fi.po: Updated Finish translation.
932 2009-06-22 Alan Modra <amodra@bigpond.net.au>
934 * m32c-asm.c: Regenerate.
936 2009-06-22 Alan Modra <amodra@bigpond.net.au>
938 * score-dis.c (print_insn_score48, print_insn_score32): Move default
939 case label to proper lexical block.
940 * score7-dis.c (print_insn_score32): Likewise.
942 2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
944 * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
945 MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
946 * s390-opc.txt (nopr, nop): Use new instruction format.
948 2009-06-18 Nick Clifton <nickc@redhat.com>
951 * arm-dis.c (print_insn_coprocessor): Check that a user specified
952 ARM architecture supports the matched instruction.
953 (print_insn_arm): Likewise.
954 (select_arm_features): New function. Fills in the fields of an
955 arm_feature_set structure based on a given arm machine number.
956 (print_insn): Initialise an arm_feature_set structure.
958 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
960 * vax-dis.c (is_function_entry): Return success for synthetic
962 (is_plt_tail): New function.
963 (print_insn_vax): Decode PLT entry offset longword.
965 2009-06-15 Nick Clifton <nickc@redhat.com>
968 * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
972 * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
974 2009-06-15 Nick Clifton <nickc@redhat.com>
977 * arm-dis.c (print_insn): Ignore is_data if the user has requested
978 the disassembly of data as well as instructions.
980 2009-06-11 Doug Evans <dje@sebabeach.org>
982 * cgen.sh: Handle multiple simultaneous runs for parallel makes.
984 2009-06-11 Anthony Green <green@moxielogic.com>
986 * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
987 (moxie_form3_opc_info): Add branch instructions.
988 * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
989 encoded instructions.
991 2009-06-06 Anthony Green <green@moxielogic.com>
993 * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
994 * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
996 2009-06-04 Alan Modra <amodra@bigpond.net.au>
998 * dep-in.sed: Don't use \n in replacement part of s command.
999 * Makefile.am (DEP1): LC_ALL for uniq.
1000 * Makefile.in: Regenerate.
1002 2009-06-02 Nick Clifton <nickc@redhat.com>
1004 * po/nl.po: Updated Dutch translation.
1006 2009-06-02 Tristan Gingold <gingold@adacore.com>
1008 * ia64-gen.c (parse_resource_users, print_dependency_table,
1009 add_dis_table_ent, finish_distable, insert_bit_table_ent,
1010 add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
1011 get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
1012 insert_completer_entry, print_completer_entry, print_completer_table,
1013 opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
1015 2009-05-28 DJ Delorie <dj@redhat.com>
1017 * mep-asm.c: Regenerate.
1018 * mep-desc.c: Regenerate.
1020 2009-05-26 DJ Delorie <dj@redhat.com>
1022 * mep-asm.c: Regenerate.
1023 * mep-desc.c: Regenerate.
1024 * mep-desc.h: Regenerate.
1025 * mep-dis.c: Regenerate.
1026 * mep-ibld.c: Regenerate.
1027 * mep-opc.c: Regenerate.
1028 * mep-opc.h: Regenerate.
1030 2009-05-26 Nick Clifton <nickc@redhat.com>
1032 * po/id.po: Updated Indonesian translation.
1033 * po/opcodes.pot: Updated template file.
1035 2009-05-26 Alan Modra <amodra@bigpond.net.au>
1037 * dep-in.sed: Don't modify .o to .lo here. Output one filename
1038 per line with all lines having continuation backslash. Prefix
1039 first line with "A", following lines with "B".
1040 * Makefile.am (DEP): Don't use dep.sed here.
1041 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
1042 dep.sed here on dependencies, sort and uniq.
1043 * Makefile.in: Regenerate.
1045 2009-05-25 Tristan Gingold <gingold@adacore.com>
1047 * makefile.vms (OPT): New variable.
1048 (CFLAGS): Update compilation flags.
1050 2009-05-22 DJ Delorie <dj@redhat.com>
1052 * mep-asm.c: Regenerate.
1053 * mep-desc.c: Regenerate.
1054 * mep-desc.h: Regenerate.
1055 * mep-dis.c: Regenerate.
1056 * mep-ibld.c: Regenerate.
1057 * mep-opc.c: Regenerate.
1058 * mep-opc.h: Regenerate.
1060 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1062 * i386-opc.h (Cpusse5): Delete.
1063 (i386_cpu_flags): Delete.
1064 * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
1065 * i386-opc.tbl: Remove SSE5 instructions.
1066 * i386-tbl.h: Regenerate.
1067 * i386-init.h: Regenerate.
1068 * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
1069 (print_drex_arg): Delete.
1072 (OP_DREX_ICMP): Delete.
1073 (OP_DREX_FCMP): Delete.
1075 (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
1077 2009-05-22 Alan Modra <amodra@bigpond.net.au>
1079 * Makefile.am: Run "make dep-am".
1080 * Makefile.in: Regenerate.
1081 * po/POTFILES.in: Regenerate.
1083 2009-05-19 DJ Delorie <dj@redhat.com>
1085 * mep-asm.c: Regenerate.
1086 * mep-opc.c: Regenerate.
1088 2009-04-30 DJ Delorie <dj@redhat.com>
1090 * mep-asm.c: Regenerate.
1091 * mep-desc.c: Regenerate.
1092 * mep-desc.h: Regenerate.
1093 * mep-dis.c: Regenerate.
1094 * mep-ibld.c: Regenerate.
1095 * mep-opc.c: Regenerate.
1096 * mep-opc.h: Regenerate.
1098 2009-04-17 DJ Delorie <dj@redhat.com
1100 * mep-desc.c: Regenerate.
1101 * mep-ibld.c: Regenerate.
1102 * mep-opc.c: Regenerate.
1103 * mep-opc.h: Regenerate.
1105 2009-04-15 Anthony Green <green@moxielogic.com>
1107 * moxie-opc.c, moxie-dis.c: Created.
1108 * Makefile.am: Build the moxie source files.
1109 * configure.in: Add moxie support.
1110 * Makefile.in, configure: Rebuilt.
1111 * disassemble.c (disassembler): Add moxie support.
1112 (ARCH_moxie): Define.
1114 2009-04-15 Jan Beulich <jbeulich@novell.com>
1116 * i386-opc.tbl (protb, protw, protd, protq): Set opcode
1118 (pshab, pshaw, pshad, pshaq): Likewise.
1119 * i386-tbl.h: Re-generate.
1121 2009-04-08 DJ Delorie <dj@redhat.com
1123 * mep-asm.c: Regenerate.
1124 * mep-desc.c: Regenerate.
1125 * mep-desc.h: Regenerate.
1126 * mep-dis.c: Regenerate.
1127 * mep-ibld.c: Regenerate.
1128 * mep-opc.c: Regenerate.
1129 * mep-opc.h: Regenerate.
1131 2009-04-07 Peter Bergner <bergner@vnet.ibm.com>
1133 * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
1134 "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
1135 Reorder entries so the extended mnemonics are listed before tlbilx.
1137 2009-04-02 Peter Bergner <bergner@vnet.ibm.com>
1139 * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
1141 (print_insn_powerpc): Make sure we only deprecate instructions using
1142 the original dialect and not a modified dialect due to -Many handling.
1143 Move the handling of the condition register and default operands to
1144 the end of the if/else if/else chain.
1145 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1146 instructions from newer processors are listed before older ones.
1147 <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
1148 that have instructions with conflicting opcodes.
1150 2009-04-01 Peter Bergner <bergner@vnet.ibm.com>
1152 * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
1155 2009-04-01 Christophe Lyon <christophe.lyon@st.com>
1157 * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
1159 2009-03-30 Joseph Myers <joseph@codesourcery.com>
1161 * arm-dis.c (print_insn): Also check section matches in backwards
1162 search for mapping symbol.
1164 2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
1166 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
1168 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1170 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
1171 * Makefile.am: Run "make dep-am".
1172 * Makefile.in: Regenerate.
1173 * openrisc-opc.c: Regenerate.
1175 2009-03-10 Nick Clifton <nickc@redhat.com>
1177 * po/id.po: Updated Indonesian translation.
1179 2009-03-10 Alan Modra <amodra@bigpond.net.au>
1181 * ppc-dis.c: Include "opintl.h".
1182 (struct ppc_mopt, ppc_opts): New.
1183 (ppc_parse_cpu): New function.
1184 (powerpc_init_dialect): Use it.
1185 (print_ppc_disassembler_options): Dump options from ppc_opts.
1186 Internationalize message.
1188 2009-03-06 Nick Clifton <nickc@redhat.com>
1190 * po/es.po: Updated Spanish translation.
1192 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1195 * configure.in: Test for ld --as-needed support. Link shared
1196 libopcodes against libm.
1197 * configure: Regenerate.
1199 2009-03-03 Peter Bergner <bergner@vnet.ibm.com>
1201 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1202 instructions from newer processors are listed before older ones.
1204 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1206 * Makefile.am: Run "make dep-am".
1207 (HFILES): Move lm32-desc.h and lm32-opc.h from..
1209 * Makefile.in: Regenerate.
1211 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1213 * score7-dis.c: New file.
1214 * Makefile.am: Add dependencies for score7-dis.c.
1215 * Makefile.in: Regenerate.
1216 * configure.in: Add score7-dis to score files.
1217 * configure: Regenerate.
1218 * score-dis.c: Add support for score7 architecture.
1219 * score-opc.h: Likewise.
1221 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1223 * configure: Regenerate.
1225 2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
1227 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
1229 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1231 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
1232 the power7 and the isel instructions.
1233 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
1234 (insert_dm, extract_dm): Likewise.
1235 (XB6): Update comment to include XX2 form.
1236 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
1237 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
1238 (RemoveXX3DM): Delete.
1239 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
1240 "mftgpr">: Deprecate for POWER7.
1241 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
1242 "frsqrte.">: Deprecate the three operand form and enable the two
1243 operand form for POWER7 and later.
1244 <"wait">: Extend to accept optional parameter. Enable for POWER7.
1245 <"waitsrv", "waitimpl">: Add extended opcodes.
1246 <"ldbrx", "stdbrx">: Enable for POWER7.
1247 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
1248 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
1249 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
1250 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
1251 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
1252 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
1253 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
1254 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
1255 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
1256 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
1257 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
1258 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
1259 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
1260 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
1261 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
1262 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
1263 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
1264 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
1265 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
1266 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
1267 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
1268 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
1269 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
1270 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
1271 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
1272 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
1273 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
1274 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
1275 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
1276 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
1277 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
1278 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
1279 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
1280 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
1281 "xxspltw", "xxswapd">: Add VSX opcodes.
1283 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1285 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
1286 (operand_types): Remove Vex_Imm4.
1288 * i386-opc.h (Vex_Imm4): Removed.
1290 (i386_operand_type): Remove vex_imm4.
1292 * i386-opc.tbl: Remove Vex_Imm4 comments.
1293 * i386-init.h: Regenerated.
1294 * i386-tbl.h: Likewise.
1296 2009-02-23 Richard Earnshaw <rearnsha@arm.com>
1298 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
1299 vq{r}shr{u}n.s64 insnstructions.
1301 2009-02-19 Peter Bergner <bergner@vnet.ibm.com>
1303 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
1304 operand to be a float point register (FRT/FRS).
1306 2009-02-18 Adam Nemet <anemet@caviumnetworks.com>
1308 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
1309 dmfc2 and dmtc2 before the architecture-level variants.
1311 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1313 * fr30-opc.c: Regenerate.
1314 * frv-opc.c: Regenerate.
1315 * ip2k-opc.c: Regenerate.
1316 * iq2000-opc.c: Regenerate.
1317 * lm32-opc.c: Regenerate.
1318 * m32c-opc.c: Regenerate.
1319 * m32r-opc.c: Regenerate.
1320 * mep-opc.c: Regenerate.
1321 * mt-opc.c: Regenerate.
1322 * xc16x-opc.c: Regenerate.
1323 * xstormy16-opc.c: Regenerate.
1324 * tic54x-dis.c (print_instruction): Avoid compiler warning on
1327 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1329 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
1331 2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
1333 * ppc-opc.c: Update copyright year.
1334 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
1335 ordering for POWER4 and later and use the correct Server ordering.
1337 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1339 AVX Programming Reference (January, 2009)
1340 * i386-dis.c (PREFIX_VEX_3A44): New.
1341 (VEX_LEN_3A44_P_2): Likewise.
1342 (PREFIX_VEX_3A48): Updated.
1343 (VEX_LEN_3A4C_P_2): Likewise.
1344 (prefix_table): Add PREFIX_VEX_3A44.
1345 (vex_table): Likewise.
1346 (vex_len_table): Add VEX_LEN_3A44_P_2.
1348 * i386-opc.tbl: Add PCLMUL + AVX instructions.
1349 * i386-tbl.h: Regenerated.
1351 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1353 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
1354 (mips_arch_choices): Add XLR entry.
1355 * mips-opc.c (XLR): Define.
1356 (mips_builtin_opcodes): Add XLR instructions.
1358 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1360 * Makefile.am: Add install-pdf target.
1361 * po/Make-in: Add install-pdf target.
1362 * Makefile.in: Regenerate.
1364 2009-02-02 DJ Delorie <dj@redhat.com>
1366 * mep-asm.c: Regenerate.
1367 * mep-desc.c: Regenerate.
1368 * mep-desc.h: Regenerate.
1369 * mep-dis.c: Regenerate.
1370 * mep-ibld.c: Regenerate.
1371 * mep-opc.c: Regenerate.
1372 * mep-opc.h: Regenerate.
1374 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1376 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
1379 2009-01-28 Chao-ying Fu <fu@mips.com>
1381 * mips-opc.c (suxc1): Add the flag of FP_D.
1383 2009-01-20 Alan Modra <amodra@bigpond.net.au>
1385 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
1386 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
1387 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
1388 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
1389 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
1390 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
1391 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
1392 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
1394 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1396 * configure.in (commonbfdlib): Delete.
1397 (SHARED_LIBADD): Add pic libiberty if such is available.
1398 * configure: Regenerate.
1399 * po/POTFILES.in: Regenerate.
1401 2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
1403 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
1404 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
1405 operand form and enable the four operand form for POWER6 and later.
1406 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
1407 three operand form for POWER6 and later.
1409 2009-01-14 Mike Frysinger <vapier@gentoo.org>
1411 * bfin-dis.c (OUTS): Use "%s" as format string.
1413 2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
1415 * i386-gen.c (cpu_flag_init): Remove a white space.
1416 (operand_type_init): Likewise.
1418 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1420 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
1421 * i386-tbl.h: Regenerated.
1423 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1425 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
1426 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
1427 subS, xorS and cmpS.
1429 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1431 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
1432 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
1433 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
1434 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
1437 (set_bitfield): Take an argument, lineno. Don't report lineno
1438 on error if it is -1.
1439 (process_i386_cpu_flag): Take an argument, lineno.
1440 (process_i386_opcode_modifier): Likewise.
1441 (process_i386_operand_type): Likewise.
1442 (output_i386_opcode): Likewise.
1443 (opcode_hash_entry): Add lineno.
1444 (process_i386_opcodes): Updated.
1445 (process_i386_registers): Likewise.
1446 (process_i386_initializers): Likewise.
1448 * i386-opc.h (CpuP4): Removed.
1452 (CpuSYSCALL): Likewise.
1454 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
1455 cpuclflush and cpusyscall.
1457 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
1459 * i386-init.h: Regenerated.
1460 * i386-tbl.h: Likewise.
1462 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1464 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
1465 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
1466 (cpu_flags): Add CpuRdtscp.
1467 (set_bitfield): Remove CpuSledgehammer check.
1469 * i386-opc.h (CpuRdtscp): New.
1471 (i386_cpu_flags): Add cpurdtscp.
1473 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
1474 * i386-init.h: Regenerated.
1475 * i386-tbl.h: Likewise.
1477 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1479 * ppc-opc.c (PPCNONE): Define.
1481 (powerpc_opcodes): Initialize the new "deprecated" field.
1483 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
1485 AVX Programming Reference (December, 2008)
1486 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
1487 (VEX_LEN_E7_P_2_M_0): Likewise.
1488 (VEX_LEN_2C_P_1): Updated.
1489 (VEX_LEN_E8_P_2): Likewise.
1490 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
1491 (mod_table): Likewise.
1493 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
1494 * i386-tbl.h: Regenerated.
1496 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1498 * i386-gen.c (process_copyright): Update for 2009.
1500 * i386-init.h: Regenerated.
1501 * i386-tbl.h: Likewise.
1503 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1505 AVX Programming Reference (December, 2008)
1506 * i386-dis.c (OP_VEX_FMA): Removed.
1507 (OP_EX_VexW): Likewise.
1508 (OP_EX_VexImmW): Likewise.
1509 (OP_XMM_VexW): Likewise.
1510 (VEXI4_Fixup): Likewise.
1511 (VPERMIL2_Fixup): Likewise.
1514 (Vex128FMA): Likewise.
1516 (EXdVexW): Likewise.
1517 (EXqVexW): Likewise.
1518 (EXVexImmW): Likewise.
1520 (VPERMIL2): Likewise.
1521 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
1522 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
1523 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
1524 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
1525 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
1526 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
1527 (get_vex_imm8): Likewise.
1528 (OP_EX_VexReg): Likewise.
1529 vpermil2_op): Likewise.
1531 (vex_w_dq_mode): Likewise.
1532 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
1533 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
1534 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
1536 (PREFIX_VEX_38DB): Likewise.
1537 (PREFIX_VEX_3A4A): Likewise.
1538 (PREFIX_VEX_3A60): Likewise.
1539 (PREFIX_VEX_3ADF): Likewise.
1540 (VEX_LEN_3ADF_P_2): Likewise.
1541 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
1542 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
1543 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
1544 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
1545 PREFIX_VEX_3896...PREFIX_VEX_389F,
1546 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
1547 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
1548 (vex_table): Likewise.
1549 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
1550 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
1551 (putop): Support "%XW".
1552 (intel_operand_size): Handle vex_w_dq_mode.
1554 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
1556 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
1557 instructions. Add new FMA instructions.
1558 * i386-tbl.h: Regenerated.
1560 2009-01-02 Matthias Klose <doko@ubuntu.com>
1562 * or32-opc.c (or32_print_register, or32_print_immediate,
1563 disassemble_insn): Don't rely on undefined sprintf behaviour.
1565 For older changes see ChangeLog-2008
1571 version-control: never