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