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