1 2009-11-17 Sebastian Pop <sebastian.pop@amd.com>
2 Quentin Neill <quentin.neill@amd.com>
4 * i386-dis.c (OP_Vex_2src_1): New.
9 (VEX_LEN_XOP_08_A0): Added.
10 (VEX_LEN_XOP_08_A1): Added.
11 (VEX_LEN_XOP_09_80): Added.
12 (VEX_LEN_XOP_09_81): Added.
13 (xop_table): Added an entry for XOP_08. Handle xop instructions.
14 (vex_len_table): Added entries for VEX_LEN_XOP_08_A0,
15 VEX_LEN_XOP_08_A1, VEX_LEN_XOP_09_80, VEX_LEN_XOP_09_81.
16 (get_valid_dis386): Handle XOP_08.
18 * i386-gen.c (cpu_flag_init): Add CPU_XOP_FLAGS and CPU_CVT16_FLAGS.
19 (cpu_flags): Add CpuXOP and CpuCVT16.
20 (opcode_modifiers): Add XOP08, Vex2Sources.
21 * i386-opc.h (CpuXOP): Added.
23 (i386_cpu_flags): Add cpuxop and cpucvt16.
26 (i386_opcode_modifier): Add xop08, vex2sources.
27 * i386-opc.tbl: Add entries for XOP and CVT16 instructions.
28 * i386-init.h: Regenerated.
29 * i386-tbl.h: Regenerated.
31 2009-11-17 Nick Clifton <nickc@redhat.com>
34 * arm-dis.c (arm_opcodes): Add patterns to match undefined LDRB
35 instruction variants. Add pattern for MRS variant that was being
37 (arm_decode_shift): Place error message in a comment.
38 (print_insn_arm): Note that writing back to the PC is
40 Only print 'p' variants of cmp/cmn/teq/tst instructions if
41 decoding for pre-V6 architectures.
43 2009-11-17 Edward Nevill <edward.nevill@arm.com>
45 * arm-dis.c (print_insn_thumb32): Handle undefined instruction.
47 2009-11-14 Doug Evans <dje@sebabeach.org>
49 * Makefile.am (stamp-xc16x): Use ../cpu/xc16x.cpu instead of
51 * Makefile.in: Regenerate.
53 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
55 * i386-dis.c (OP_E_extended): Removed.
57 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
59 * i386-dis.c (print_insn): Check rex_ignored.
61 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
63 * i386-dis.c (ckprefix): Updated to return 0 if number of
64 prefixes > 14 and record the last position for each prefix.
65 (lock_prefix): Removed.
66 (data_prefix): Likewise.
67 (addr_prefix): Likewise.
68 (repz_prefix): Likewise.
69 (repnz_prefix): Likewise.
70 (last_lock_prefix): New.
71 (last_repz_prefix): Likewise.
72 (last_repnz_prefix): Likewise.
73 (last_data_prefix): Likewise.
74 (last_addr_prefix): Likewise.
75 (last_rex_prefix): Likewise.
76 (last_seg_prefix): Likewise.
77 (MAX_CODE_LENGTH): Likewise.
78 (ADDR16_PREFIX): Likewise.
79 (ADDR32_PREFIX): Likewise.
80 (DATA16_PREFIX): Likewise.
81 (DATA32_PREFIX): Likewise.
82 (REP_PREFIX): Likewise.
83 (seg_prefix): Likewise.
84 (all_prefixes): Change size to MAX_CODE_LENGTH - 1.
85 (prefix_name): Handle ADDR16_PREFIX, ADDR32_PREFIX,
86 DATA16_PREFIX, DATA32_PREFIX and REP_PREFIX.
87 (get_valid_dis386): Updated.
89 (OP_Monitor): Likewise.
90 (REP_Fixup): Likewise.
91 (print_insn): Display all prefixes.
92 (putop): Set PREFIX_DATA on used_prefixes only if it is used.
93 (intel_operand_size): Likewise.
94 (OP_E_register): Likewise.
101 (CRC32_Fixup): Likewise.
102 (MOVBE_Fixup): Likewise.
103 (OP_E_memory): Set REFIX_DATA on used_prefixes when it is used
105 (OP_J): Set REX_W used if it is used. Set PREFIX_DATA on
106 used_prefixes only if it is used.
108 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
110 * i386-opc.tbl: Remove IsLockable from add, adc, and, dec, inc,
111 or, sbb, sub, xor and xchg with register only operands.
112 * i386-tbl.h: Regenerated.
114 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
116 * i386-gen.c (opcode_modifiers): Add IsLockable.
118 * i386-opc.h (IsLockable): New.
119 (i386_opcode_modifier): Add islockable.
121 * i386-opc.tbl: Add IsLockable to add, adc, and, btc, btr,
122 bts, cmpxchg, cmpxch8b, dec, inc, neg, not, or, sbb, sub,
124 * i386-tbl.h: Regenerated.
126 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
128 * arm-dis.c (coprocessor_opcodes): Use %A instead of %C. Remove
129 generic coprocessor instructions for FPA loads and stores.
130 (print_insn_coprocessor): Remove %C support. Display address for
131 PC-relative offsets in %A.
133 2009-11-11 H.J. Lu <hongjiu.lu@intel.com>
135 * i386-dis.c (all_prefixes): New.
136 (ckprefix): Set all_prefixes.
137 (print_insn): Print all_prefixes instead of lock_prefix,
138 repz_prefix, repnz_prefix, addr_prefix and data_prefix.
140 2009-11-11 Nick Clifton <nickc@redhat.com>
143 * arm-dis.c (UNPREDICTABLE_INSTRUCTION): New macro.
144 (print_insn_arm): Extend %s format control code to check for
145 unpredictable addressing modes. Add support for %S format control
146 code which suppresses this check.
147 (W_BIT, I_BIT, U_BIT, P_BIT): New macros.
148 (WRITEBACK_BIT_SET, IMMEDIATE_BIT_SET, NEGATIVE_BIT_SET,
149 PRE_BIT_SET): New macros.
150 (print_insn_coprocessor): Use the new macros instead of magic
152 (print_arm_address): Likewise.
153 (pirnt_insn_arm): Likewise.
154 (print_insn_thumb32): Likewise.
156 2009-11-11 Nick Clifton <nickc@redhat.com>
158 * po/id.po: Updated Indonesian translation.
160 2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com>
162 * m68k-dis.c (print_insn_arg): Handle RGPIOBAR, ACR[4-7] and MBAR[01].
164 2009-11-06 Sebastian Pop <sebastian.pop@amd.com>
166 * i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to
167 reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to
168 B.mm in the RXB.mmmmm byte, and so when B is set, we still should use
170 (get_valid_dis386): Removed unused condition (from cut/n/paste) for
173 2009-11-05 Sebastian Pop <sebastian.pop@amd.com>
174 Quentin Neill <quentin.neill@amd.com>
176 * opcodes/i386-dis.c (OP_LWPCB_E): New.
179 (USE_XOP_8F_TABLE): New.
181 (REG_XOP_LWPCB): New.
185 (reg_table): Redirect REG_8F to XOP_8F_TABLE.
186 Add entries for REG_XOP_LWPCB and REG_XOP_LWP.
188 (get_valid_dis386): Handle USE_XOP_8F_TABLE.
189 Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values
190 to access to the vex_table.
194 * opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP.
195 (cpu_flags): Add CpuLWP.
196 (opcode_modifiers): Add VexLWP, XOP09, and XOP0A.
197 * opcodes/i386-opc.h (CpuLWP): New.
198 (i386_cpu_flags): Add bit cpulwp.
202 (i386_opcode_modifier): Add vexlwp, xop09, and xop0a.
203 * opcodes/i386-opc.tbl (llwpcb): Added.
207 2009-11-04 DJ Delorie <dj@redhat.com>
209 * rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
210 (mvtcp, mvfcp, opecp): Remove.
211 * rx-decode.c: Regenerate.
212 * rx-dis.c (cpen): Remove.
214 2009-11-03 Doug Evans <dje@sebabeach.org>
216 * m32c-desc.c: Regenerate.
217 * mep-desc.c: Regenerate.
219 2009-11-02 Paul Brook <paul@codesourcery.com>
221 * arm-dis.c (coprocessor_opcodes): Update to use new feature flags.
222 Add VFPv4 instructions.
224 2009-10-29 Sebastian Pop <sebastian.pop@amd.com>
226 * i386-dis.c (OP_VEX_FMA): Removed.
228 (Vex128FMA): Removed.
229 (prefix_table): First source operand of FMA4 insns is decoded
230 with Vex not with VexFMA.
231 (OP_EX_VexW): Second source operand is decoded with get_vex_imm8
232 when vex.w is set. Third source operand is decoded with
234 2009-10-27 Alan Modra <amodra@bigpond.net.au>
236 * Makefile.am (HFILES): Remove cgen-ops.h and cgen-types.h.
237 * Makefile.in: Regenerate.
238 * po/POTFILES.in: Regenerate.
240 2009-10-23 Doug Evans <dje@sebabeach.org>
242 * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h.
243 * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h.
244 * cgen-bitset.c: Update.
245 * fr30-desc.h: Regenerate.
246 * frv-desc.h: Regenerate.
247 * ip2k-desc.h: Regenerate.
248 * iq2000-desc.h: Regenerate.
249 * lm32-desc.h: Regenerate.
250 * m32c-desc.h: Regenerate.
251 * m32c-opc.h: Regenerate.
252 * m32r-desc.h: Regenerate.
253 * mep-desc.h: Regenerate.
254 * mt-desc.h: Regenerate.
255 * openrisc-desc.h: Regenerate.
256 * xc16x-desc.h: Regenerate.
257 * xstormy16-desc.h: Regenerate.
259 2009-10-22 DJ Delorie <dj@redhat.com>
261 * rx-decode.opc (decode_opcode): Fix flags for MUL, SUNTIL, and SWHILE.
262 * rx-decode.c: Regenerated.
264 2009-10-20 H.J. Lu <hongjiu.lu@intel.com>
267 * i386-dis.c: Document LB, LS and LV macros.
268 (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction
269 with the 64-bit displacement or immediate operand.
270 (putop): Handle LB, LS and LV macros.
272 2009-10-18 Doug Evans <dje@sebabeach.org>
274 * lm32-opinst.c: Regenerate.
275 * m32c-desc.c: Regenerate.
276 * m32r-opinst.c: Regenerate.
277 * openrisc-ibld.c: Regenerate.
278 * xc16x-desc.c: Regenerate.
279 * xc16x-desc.h: Regenerate.
281 2009-10-17 Doug Evans <dje@sebabeach.org>
283 * Makefile.am (CGEN_CPUS): Add iq2000, lm32.
284 (FR30_DEPS, FRV_DEPS, IQ2000_DEPS): Move so all cgen *_DEPS are
285 sorted alphabetically.
286 (stamp-fr30, stamp-frv, stamp-iq2000, stamp-xc16x): Move so all cgen
287 stamp-* rules are sorted alphabetically.
288 * Makefile.in: Regenerate.
290 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
292 * i386-opc.h: Use enum instead of nested macros.
294 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
296 * i386-dis.c: Simplify enums.
298 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
299 Ineiev <ineiev@gmail.com>
302 * i386-dis.c: Use enum instead of nested macros.
304 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
306 * i386-dis.c (MAX_BYTEMODE): Removed.
308 2009-10-14 Tomas Hurka <tom@hukatronic.cz>
311 * m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl.
313 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
315 * i386-dis.c (print_insn): Always clear need_vex, need_vex_reg
318 2009-10-07 Michael Eager <eager@eagercon.com>
320 * microblaze-dis.c: Add include for microblaze-dis.h,
321 eliminate local extern decls.
322 * microblaze-dis.h: New.
324 2009-10-06 Nick Clifton <nickc@redhat.com>
326 * po/fi.po: Updated Finnish translation.
328 2009-10-03 Andreas Schwab <schwab@linux-m68k.org>
330 * opc2c.c: Include "libiberty.h" and <errno.h>.
331 (orig_filename): Constify.
332 (dump_lines): Fix line number directive.
333 (main): Set orig_filename to basename of input file. Use
336 * Makefile.am (rx-dis.lo): Remove explicit dependencies.
337 ($(srcdir)/rx-decode.c): Use @MAINT@. Use $(EXEEXT_FOR_BUILD)
338 instead of $(EXEEXT).
339 (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
340 $(LINK_FOR_BUILD). Link with libiberty.
341 (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
342 (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
343 * Makefile.in: Regenerated.
344 * rx-decode.c: Regenerated.
346 2009-10-03 Paul Reed <paulreed@paddedcell.com>
348 * arm-dis.c (print_insn): Check symtab_size not *symtab.
350 2009-10-02 H.J. Lu <hongjiu.lu@intel.com>
352 * i386-opc.tbl: Drop Disp64 on jump and loop instructions.
353 * i386-tbl.h: Regenerated.
355 2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
357 * ppc-dis.c (ppc_opts): Add "476" entry.
358 * ppc-opc.c (PPC476): Define.
359 (powerpc_opcodes): Update mnemonics where required for 476.
361 2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
363 * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
364 * ppc-dis.c (ppc_opts): Likewise.
365 Rename "ppca2" to "a2".
367 2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
369 * crx-dis.c (match_opcode): Truncate mcode to 32-bit.
371 2009-09-29 DJ Delorie <dj@redhat.com>
373 * Makefile.am: Add RX files.
374 * configure.in: Add support for RX target.
375 * disassemble.c: Likewise.
376 * Makefile.in: Regenerate.
377 * configure: Regenerate.
379 * rx-decode.c: New file.
380 * rx-decode.opc: New file.
381 * rx-dis.c: New file.
383 2009-09-29 Peter Bergner <bergner@vnet.ibm.com>
385 * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
386 "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.
388 2009-09-25 Michael Eager <eager@eagercon.com>
390 * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
391 microblaze_decode_insn): Add declarations.
392 (get_delay_slots_microblaze): Remove.
394 2009-09-25 Martin Thuresson <martint@google.com>
396 Update sources to make arc and arm targets compile cleanly with
398 * arc-dis.c Fix casts.
399 * arc-ext.c: Add casts.
400 * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
403 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
405 * i386-gen.c (opcode_modifiers): Remove Vex256.
406 (set_bitfield): Handle XXX=V.
408 * i386-opc.h (Vex): Update comments.
411 (i386_opcode_modifier): Change vex to 2 bits. Remove vex256.
413 * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2.
414 * i386-tbl.h: Regenerated.
416 2009-09-23 Nick Clifton <nickc@redhat.com>
418 * po/fr.po: Updated French translation.
420 2009-09-21 Ben Elliston <bje@au.ibm.com>
421 Peter Bergner <bergner@vnet.ibm.com>
423 * ppc-dis.c (ppc_opts): Add "ppca2" entry.
424 * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
425 eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
426 icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
428 (ERAT_T): New operand.
429 (XWC_MASK): New mask.
433 2009-09-18 Nick Clifton <nickc@redhat.com>
435 * po/es.po: Updated Spanish translation.
436 * po/vi.po: Updated Vietnamese translation.
438 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
440 * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
443 2009-09-14 Nick Clifton <nickc@redhat.com>
445 * po/nl.po: Updated Dutch translation.
447 2009-09-11 Nick Clifton <nickc@redhat.com>
449 * po/opcodes.pot: Updated by the Translation project.
451 2009-09-11 Martin Thuresson <martint@google.com>
453 Updated sources to compile cleanly with -Wc++-compat:
454 * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
455 * ldcref.c: Add casts.
456 * ldctor.c: Add casts.
458 * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
459 * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
460 * ldlang.h (enum statement_enum): Move to top level.
461 * ldmain.c: Add casts.
462 * ldwrite.c: Add casts.
463 * lexsup.c: Add casts. (enum control_enum): Move to top level.
464 * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
466 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
468 * s390-dis.c (print_insn_s390): Avoid 'long long'.
470 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
472 * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
473 (print_insn_s390): Signextend and shift pcrel operands before printing.
475 2009-09-09 H.J. Lu <hongjiu.lu@intel.com>
477 * i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to
478 VEX_LEN_AE_R_X_M_0 in comments.
480 2009-09-08 DJ Delorie <dj@redhat.com>
482 * mep-opc.c: Regenerate.
484 2009-09-08 Andreas Schwab <schwab@linux-m68k.org>
486 * z8kgen.c (struct op): Replace unused flavor with id.
487 (opt): Remove extra xorb entry.
488 (func): Use id field as fallback.
489 (sub): Return new string, caller changed.
490 (internal): Allocate end marker. Assign unique id before sorting.
491 (gas): Likewise. Fix loop end condition.
492 * z8k-opc.h: Regenerate.
494 2009-09-08 Alan Modra <amodra@bigpond.net.au>
496 * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
498 2009-09-07 Alan Modra <amodra@bigpond.net.au>
500 * z8kgen.c (func): Fix thinko last patch.
502 2009-09-07 Alan Modra <amodra@bigpond.net.au>
504 * z8kgen.c (func): Stabilize qsort of identically named entries.
505 * z8k-opc.h: Regenerate.
507 2009-09-07 Tristan Gingold <gingold@adacore.com>
509 * po/opcodes.pot: Regenerate.
511 2009-09-07 Alan Modra <amodra@bigpond.net.au>
513 * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
514 * configure: Regenerate.
515 * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
516 (BUILD_LIBS, BUILD_LIB_DEPS): Define. Use..
517 (i386-gen, ia64-gen, z8kgen): ..here.
518 * Makefile.in: Regenerate.
520 2009-09-07 Tristan Gingold <gingold@adacore.com>
522 * z8k-opc.h: Regenerate.
524 2009-09-05 Martin Thuresson <martin@mtme.org>
526 * ia64-dis.c (print_insn_ia64): Update code to use renamed member.
527 * m88k-dis.c (m88kdis): Rename variable class to in_class.
528 * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol):
529 Rename argument class to symbol_class.
531 2009-09-04 Jie Zhang <jie.zhang@analog.com>
533 * bfin-dis.c (decode_pseudodbg_assert_0): Change according
534 to the new encoding of DBGA, DBGAH, and DBGAL.
535 (_print_insn_bfin): Likewise.
537 2009-09-03 Jie Zhang <jie.zhang@analog.com>
539 * bfin-dis.c (_print_insn_bfin): Don't declare.
540 (print_insn_bfin): Don't declare.
541 (dregs_pair): Remove.
542 (ignore_bits): Remove.
545 2009-09-03 Jie Zhang <jie.zhang@analog.com>
547 * bfin-dis.c (IS_DREG): Define.
553 (decode_REGMV_0): Check illegal register move instructions.
555 2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
557 * Makefile.am (BUILD_LIBINTL): New variable.
558 (i386-gen$(EXEEXT_FOR_BUILD)): Use it.
559 (ia64-gen$(EXEEXT_FOR_BUILD)): And here.
560 (z8kgen$(EXEEXT_FOR_BUILD)): And here.
561 * Makefile.in: Regenerate.
563 2009-09-01 DJ Delorie <dj@redhat.com>
565 * mep-asm.c: Regenerate.
566 * mep-desc.c: Regenerate.
567 * mep-opc.c: Regenerate.
569 2009-09-01 Tristan Gingold <gingold@adacore.com>
571 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
572 dependencies. Remove unused FORMAT variable.
573 * configure.com: New file to create build.com DCL script for
574 Itanium VMS or Alpha VMS.
576 2009-08-29 Martin Thuresson <martin@mtme.org>
578 * cris-dis.c (bytes_to_skip): Update code to use new name.
579 * i386-dis.c (putop): Update code to use new name.
580 * i386-gen.c (process_i386_opcodes): Update code to use
582 * i386-opc.h (struct template): Rename struct template to
583 insn_template. Update code accordingly.
584 * i386-tbl.h (i386_optab): Update type to use new name.
585 * ia64-dis.c (print_insn_ia64): Rename variable template
587 * tic30-dis.c (struct instruction, get_tic30_instruction):
588 Update code to use new name.
589 * tic54x-dis.c (has_lkaddr, get_insn_size)
590 (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
591 Update code to use new name.
592 * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
593 Update type to new name.
594 * z8kgen.c (internal, gas): Rename variable new to new_op.
596 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
598 * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
599 Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
600 (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
601 CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
602 * Makefile.in: Regenerated.
604 2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
606 * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
607 [INSTALL_LIBBFD]: ... here, ...
608 [INSTALL_LIBBFD]: ... and empty overrides here.
609 [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
610 [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
611 * Makefile.in: Regenerate.
612 * configure: Regenerate.
614 2009-08-26 Philippe De Muyter <phdm@macqel.be>
616 * m68k-dis.c (print_insn_arg): Add movecr register names for
617 coldfire v4e families.
619 2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
621 * Makefile.am (SUBDIRS): Build '.' before 'po'.
622 (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
623 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
624 (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
625 using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
626 (i386-gen.o): New rule.
627 ($(srcdir)/i386-init.h): Adjust.
628 (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
629 (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
630 (ia64-gen.o): New rule.
631 (ia64_asmtab_deps): New variable.
632 ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
633 (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
634 (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
636 (s390-opc.tab): Adjust.
637 (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
639 (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
640 * Makefile.in: Regenerate.
641 * z8kgen.c (gas): Avoid '/*' in comment.
642 * z8k-opc.h (func): Regenerate.
644 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
646 * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
647 from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
648 i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
649 ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
651 (LIBOPCODES_CFILES): New variable, adding to
652 TARGET_LIBOPCODES_CFILES also non-target library sources.
653 (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
655 (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
656 (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
657 * Makefile.in: Regenerate.
658 * po/POTFILES.in: Regenerate.
660 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
662 * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
663 [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
664 [INSTALL_LIBBFD] (bfdinclude_DATA): New.
665 [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
666 [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
667 is built shared even if it is not to be installed.
668 (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
669 (install_libopcodes, uninstall_libopcodes): Remove.
670 (AM_CPPFLAGS): Renamed from ...
671 (INCLUDES): ... this.
672 * Makefile.in: Regenerate.
674 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
675 1.11, foreign, no-dist.
676 (MKDEP, m32c_opc_h): Remove variables.
677 (disassemble.lo): Rewrite using automake-style dependency
678 tracking rules; only list the dependency upon the primary source
679 file, but no included headers.
680 (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
681 (i386-gen.o, ia64-gen.o): Remove dependency statements.
682 (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
683 ensure all dependency fragments are included in the Makefile.
684 (s390-opc.lo): Depend on s390-opc.tab.
685 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
686 (mkdep section): Remove.
687 * Makefile.in: Regenerate.
688 * po/POTFILES.in: Regenerate.
690 * Makefile.am (install-pdf, install-html): Remove.
691 * Makefile.in: Regenerate.
693 * Makefile.in: Regenerate.
694 * aclocal.m4: Likewise.
695 * config.in: Likewise.
696 * configure: Likewise.
698 2009-08-06 Michael Eager <eager@eagercon.com>
700 * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
701 CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
702 * Makefile.in: Regenerate.
703 * configure.in: Add bfd_microblaze_arch target.
704 * configure: Regenerate.
705 * disassemble.c: Define ARCH_microblaze, return
706 print_insn_microblaze().
707 * microblaze-dis.c: New MicroBlaze disassembler.
708 * microblaze-opc.h: New MicroBlaze opcode definitions.
709 * microblaze-opcm.h: New MicroBlaze opcode types.
711 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
713 * configure.in: Handle bfd_l1om_arch.
714 * disassemble.c (disassembler): Likewise.
716 * configure: Regenerated.
718 * i386-dis.c (print_insn): Handle bfd_mach_l1om and
719 bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM.
721 * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
723 (cpu_flags): Add CpuL1OM.
724 (set_bitfield): Take an argument to set the value field.
725 (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
726 (process_i386_opcode_modifier): Updated.
727 (process_i386_operand_type): Likewise.
728 * i386-init.h: Regenerated.
729 * i386-tbl.h: Likewise.
731 * i386-opc.h (CpuL1OM): New.
733 (i386_cpu_flags): Add cpul1om.
735 2009-07-24 Jan Beulich <jbeulich@novell.com>
737 * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
739 * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
740 (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
741 (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
742 * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
744 (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
746 * i386-opc.tbl: Qualify floating point instructions by their
747 respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
748 and fsincos to be avilable only on 387. Fix fstsw ax to be
749 available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
751 * i386-init.h, i386-tbl.h: Regenerate.
753 2009-07-20 Nick Clifton <nickc@redhat.com>
756 * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
757 offset or indexed based addressing mode 3.
759 2009-07-14 Nick Clifton <nickc@redhat.com>
762 * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
764 (arm_decode_shift): Catch illegal register based shifts.
765 (print_insn_arm): Properly handle negative register r0
766 post-indexed addressing.
768 2009-07-10 Doug Kwan <dougkwan@google.com>
770 * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only
771 lower 32 bits of long types to make hexadecimal output consistent
772 on both 32-bit and 64-bit hosts.
774 2009-07-10 Alan Modra <amodra@bigpond.net.au>
776 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
777 * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
778 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
779 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
780 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
781 * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
782 * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
783 * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
784 * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
785 * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
786 * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
787 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
789 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
791 * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
793 2009-07-07 Nick Clifton <nickc@redhat.com>
796 * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
799 2009-07-06 DJ Delorie <dj@redhat.com>
801 * mep-desc.c: Regenerate.
802 * mep-desc.h: Regenerate.
803 * mep-opc.c: Regenerate.
804 * mep-opc.h: Regenerate.
806 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
808 * i386-opc.h (CpuFMA4): Add CpuFMA4.
809 (i386_cpu_flags): New.
810 * i386-gen.c: Add CPU_FMA4_FLAGS.
811 * i386-opc.tbl: Add FMA4 instructions.
812 * i386-tbl.h: Regenerate.
813 * i386-init.h: Regenerate.
814 * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
815 (OP_XMM_VexW): Ditto.
817 (VEXI4_Fixup): Ditto.
818 (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
819 (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
820 (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
821 (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
822 (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
823 (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
824 (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
825 (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
826 (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
827 (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
828 (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
829 (get_vex_imm8): New. handle FMA4.
830 (OP_EX_VexReg): Ditto.
832 2009-06-30 Nick Clifton <nickc@redhat.com>
835 * arm-dis.c (coprocessor): Print the LDC and STC versions of the
836 LFM and SFM instructions as comments,.
837 Improve consistency of formatting for instructions displayed as
838 comments and decimal values displayed with their hexadecimal
842 2009-06-29 Nick Clifton <nickc@redhat.com>
845 * arm-dis.c (enum opcode_sentinels): New: Used to mark the
846 boundary between variaant and generic coprocessor instuctions.
847 (coprocessor): Use it.
848 Fix architecture version of MCRR and MRRC instructions.
849 (arm_opcdes): Fix patterns for STRB and STRH instructions.
850 (print_insn_coprocessor): Check architecture and extension masks.
851 Print a hexadecimal version of any decimal constant that is
852 outside of the range of -16 to +32.
853 (print_arm_address): Add a return value of the offset used in the
854 adress, if it is worth printing a hexadecimal version of it.
855 (print_insn_neon): Print a hexadecimal version of any decimal
856 constant that is outside of the range of -16 to +32.
857 (print_insn_arm): Likewise.
858 (print_insn_thumb16): Likewise.
859 (print_insn_thumb32): Likewise.
862 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
863 of an undefined instruction.
864 (arm_opcodes): Use it.
865 (thumb_opcod): Use it.
866 (thumb32_opc): Use it.
868 2009-06-23 DJ Delorie <dj@redhat.com>
870 * mep-desc.c: Regenerate.
871 * mep-desc.h: Regenerate.
872 * mep-dis.c: Regenerate.
873 * mep-ibld.c: Regenerate.
874 * mep-opc.c: Regenerate.
876 * mep-asm.c: Regenerate.
877 * mep-opc.c: Regenerate.
878 * mep-opc.h: Regenerate.
880 2009-06-22 Nick Clifton <nickc@redhat.com>
882 * po/fi.po: Updated Finish translation.
884 2009-06-22 Alan Modra <amodra@bigpond.net.au>
886 * m32c-asm.c: Regenerate.
888 2009-06-22 Alan Modra <amodra@bigpond.net.au>
890 * score-dis.c (print_insn_score48, print_insn_score32): Move default
891 case label to proper lexical block.
892 * score7-dis.c (print_insn_score32): Likewise.
894 2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
896 * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
897 MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
898 * s390-opc.txt (nopr, nop): Use new instruction format.
900 2009-06-18 Nick Clifton <nickc@redhat.com>
903 * arm-dis.c (print_insn_coprocessor): Check that a user specified
904 ARM architecture supports the matched instruction.
905 (print_insn_arm): Likewise.
906 (select_arm_features): New function. Fills in the fields of an
907 arm_feature_set structure based on a given arm machine number.
908 (print_insn): Initialise an arm_feature_set structure.
910 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
912 * vax-dis.c (is_function_entry): Return success for synthetic
914 (is_plt_tail): New function.
915 (print_insn_vax): Decode PLT entry offset longword.
917 2009-06-15 Nick Clifton <nickc@redhat.com>
920 * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
924 * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
926 2009-06-15 Nick Clifton <nickc@redhat.com>
929 * arm-dis.c (print_insn): Ignore is_data if the user has requested
930 the disassembly of data as well as instructions.
932 2009-06-11 Doug Evans <dje@sebabeach.org>
934 * cgen.sh: Handle multiple simultaneous runs for parallel makes.
936 2009-06-11 Anthony Green <green@moxielogic.com>
938 * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
939 (moxie_form3_opc_info): Add branch instructions.
940 * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
941 encoded instructions.
943 2009-06-06 Anthony Green <green@moxielogic.com>
945 * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
946 * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
948 2009-06-04 Alan Modra <amodra@bigpond.net.au>
950 * dep-in.sed: Don't use \n in replacement part of s command.
951 * Makefile.am (DEP1): LC_ALL for uniq.
952 * Makefile.in: Regenerate.
954 2009-06-02 Nick Clifton <nickc@redhat.com>
956 * po/nl.po: Updated Dutch translation.
958 2009-06-02 Tristan Gingold <gingold@adacore.com>
960 * ia64-gen.c (parse_resource_users, print_dependency_table,
961 add_dis_table_ent, finish_distable, insert_bit_table_ent,
962 add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
963 get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
964 insert_completer_entry, print_completer_entry, print_completer_table,
965 opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
967 2009-05-28 DJ Delorie <dj@redhat.com>
969 * mep-asm.c: Regenerate.
970 * mep-desc.c: Regenerate.
972 2009-05-26 DJ Delorie <dj@redhat.com>
974 * mep-asm.c: Regenerate.
975 * mep-desc.c: Regenerate.
976 * mep-desc.h: Regenerate.
977 * mep-dis.c: Regenerate.
978 * mep-ibld.c: Regenerate.
979 * mep-opc.c: Regenerate.
980 * mep-opc.h: Regenerate.
982 2009-05-26 Nick Clifton <nickc@redhat.com>
984 * po/id.po: Updated Indonesian translation.
985 * po/opcodes.pot: Updated template file.
987 2009-05-26 Alan Modra <amodra@bigpond.net.au>
989 * dep-in.sed: Don't modify .o to .lo here. Output one filename
990 per line with all lines having continuation backslash. Prefix
991 first line with "A", following lines with "B".
992 * Makefile.am (DEP): Don't use dep.sed here.
993 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
994 dep.sed here on dependencies, sort and uniq.
995 * Makefile.in: Regenerate.
997 2009-05-25 Tristan Gingold <gingold@adacore.com>
999 * makefile.vms (OPT): New variable.
1000 (CFLAGS): Update compilation flags.
1002 2009-05-22 DJ Delorie <dj@redhat.com>
1004 * mep-asm.c: Regenerate.
1005 * mep-desc.c: Regenerate.
1006 * mep-desc.h: Regenerate.
1007 * mep-dis.c: Regenerate.
1008 * mep-ibld.c: Regenerate.
1009 * mep-opc.c: Regenerate.
1010 * mep-opc.h: Regenerate.
1012 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1014 * i386-opc.h (Cpusse5): Delete.
1015 (i386_cpu_flags): Delete.
1016 * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
1017 * i386-opc.tbl: Remove SSE5 instructions.
1018 * i386-tbl.h: Regenerate.
1019 * i386-init.h: Regenerate.
1020 * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
1021 (print_drex_arg): Delete.
1024 (OP_DREX_ICMP): Delete.
1025 (OP_DREX_FCMP): Delete.
1027 (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
1029 2009-05-22 Alan Modra <amodra@bigpond.net.au>
1031 * Makefile.am: Run "make dep-am".
1032 * Makefile.in: Regenerate.
1033 * po/POTFILES.in: Regenerate.
1035 2009-05-19 DJ Delorie <dj@redhat.com>
1037 * mep-asm.c: Regenerate.
1038 * mep-opc.c: Regenerate.
1040 2009-04-30 DJ Delorie <dj@redhat.com>
1042 * mep-asm.c: Regenerate.
1043 * mep-desc.c: Regenerate.
1044 * mep-desc.h: Regenerate.
1045 * mep-dis.c: Regenerate.
1046 * mep-ibld.c: Regenerate.
1047 * mep-opc.c: Regenerate.
1048 * mep-opc.h: Regenerate.
1050 2009-04-17 DJ Delorie <dj@redhat.com
1052 * mep-desc.c: Regenerate.
1053 * mep-ibld.c: Regenerate.
1054 * mep-opc.c: Regenerate.
1055 * mep-opc.h: Regenerate.
1057 2009-04-15 Anthony Green <green@moxielogic.com>
1059 * moxie-opc.c, moxie-dis.c: Created.
1060 * Makefile.am: Build the moxie source files.
1061 * configure.in: Add moxie support.
1062 * Makefile.in, configure: Rebuilt.
1063 * disassemble.c (disassembler): Add moxie support.
1064 (ARCH_moxie): Define.
1066 2009-04-15 Jan Beulich <jbeulich@novell.com>
1068 * i386-opc.tbl (protb, protw, protd, protq): Set opcode
1070 (pshab, pshaw, pshad, pshaq): Likewise.
1071 * i386-tbl.h: Re-generate.
1073 2009-04-08 DJ Delorie <dj@redhat.com
1075 * mep-asm.c: Regenerate.
1076 * mep-desc.c: Regenerate.
1077 * mep-desc.h: Regenerate.
1078 * mep-dis.c: Regenerate.
1079 * mep-ibld.c: Regenerate.
1080 * mep-opc.c: Regenerate.
1081 * mep-opc.h: Regenerate.
1083 2009-04-07 Peter Bergner <bergner@vnet.ibm.com>
1085 * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
1086 "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
1087 Reorder entries so the extended mnemonics are listed before tlbilx.
1089 2009-04-02 Peter Bergner <bergner@vnet.ibm.com>
1091 * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
1093 (print_insn_powerpc): Make sure we only deprecate instructions using
1094 the original dialect and not a modified dialect due to -Many handling.
1095 Move the handling of the condition register and default operands to
1096 the end of the if/else if/else chain.
1097 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1098 instructions from newer processors are listed before older ones.
1099 <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
1100 that have instructions with conflicting opcodes.
1102 2009-04-01 Peter Bergner <bergner@vnet.ibm.com>
1104 * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
1107 2009-04-01 Christophe Lyon <christophe.lyon@st.com>
1109 * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
1111 2009-03-30 Joseph Myers <joseph@codesourcery.com>
1113 * arm-dis.c (print_insn): Also check section matches in backwards
1114 search for mapping symbol.
1116 2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
1118 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
1120 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1122 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
1123 * Makefile.am: Run "make dep-am".
1124 * Makefile.in: Regenerate.
1125 * openrisc-opc.c: Regenerate.
1127 2009-03-10 Nick Clifton <nickc@redhat.com>
1129 * po/id.po: Updated Indonesian translation.
1131 2009-03-10 Alan Modra <amodra@bigpond.net.au>
1133 * ppc-dis.c: Include "opintl.h".
1134 (struct ppc_mopt, ppc_opts): New.
1135 (ppc_parse_cpu): New function.
1136 (powerpc_init_dialect): Use it.
1137 (print_ppc_disassembler_options): Dump options from ppc_opts.
1138 Internationalize message.
1140 2009-03-06 Nick Clifton <nickc@redhat.com>
1142 * po/es.po: Updated Spanish translation.
1144 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1147 * configure.in: Test for ld --as-needed support. Link shared
1148 libopcodes against libm.
1149 * configure: Regenerate.
1151 2009-03-03 Peter Bergner <bergner@vnet.ibm.com>
1153 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1154 instructions from newer processors are listed before older ones.
1156 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1158 * Makefile.am: Run "make dep-am".
1159 (HFILES): Move lm32-desc.h and lm32-opc.h from..
1161 * Makefile.in: Regenerate.
1163 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1165 * score7-dis.c: New file.
1166 * Makefile.am: Add dependencies for score7-dis.c.
1167 * Makefile.in: Regenerate.
1168 * configure.in: Add score7-dis to score files.
1169 * configure: Regenerate.
1170 * score-dis.c: Add support for score7 architecture.
1171 * score-opc.h: Likewise.
1173 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1175 * configure: Regenerate.
1177 2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
1179 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
1181 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1183 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
1184 the power7 and the isel instructions.
1185 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
1186 (insert_dm, extract_dm): Likewise.
1187 (XB6): Update comment to include XX2 form.
1188 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
1189 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
1190 (RemoveXX3DM): Delete.
1191 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
1192 "mftgpr">: Deprecate for POWER7.
1193 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
1194 "frsqrte.">: Deprecate the three operand form and enable the two
1195 operand form for POWER7 and later.
1196 <"wait">: Extend to accept optional parameter. Enable for POWER7.
1197 <"waitsrv", "waitimpl">: Add extended opcodes.
1198 <"ldbrx", "stdbrx">: Enable for POWER7.
1199 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
1200 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
1201 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
1202 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
1203 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
1204 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
1205 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
1206 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
1207 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
1208 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
1209 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
1210 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
1211 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
1212 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
1213 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
1214 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
1215 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
1216 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
1217 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
1218 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
1219 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
1220 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
1221 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
1222 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
1223 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
1224 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
1225 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
1226 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
1227 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
1228 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
1229 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
1230 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
1231 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
1232 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
1233 "xxspltw", "xxswapd">: Add VSX opcodes.
1235 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1237 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
1238 (operand_types): Remove Vex_Imm4.
1240 * i386-opc.h (Vex_Imm4): Removed.
1242 (i386_operand_type): Remove vex_imm4.
1244 * i386-opc.tbl: Remove Vex_Imm4 comments.
1245 * i386-init.h: Regenerated.
1246 * i386-tbl.h: Likewise.
1248 2009-02-23 Richard Earnshaw <rearnsha@arm.com>
1250 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
1251 vq{r}shr{u}n.s64 insnstructions.
1253 2009-02-19 Peter Bergner <bergner@vnet.ibm.com>
1255 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
1256 operand to be a float point register (FRT/FRS).
1258 2009-02-18 Adam Nemet <anemet@caviumnetworks.com>
1260 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
1261 dmfc2 and dmtc2 before the architecture-level variants.
1263 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1265 * fr30-opc.c: Regenerate.
1266 * frv-opc.c: Regenerate.
1267 * ip2k-opc.c: Regenerate.
1268 * iq2000-opc.c: Regenerate.
1269 * lm32-opc.c: Regenerate.
1270 * m32c-opc.c: Regenerate.
1271 * m32r-opc.c: Regenerate.
1272 * mep-opc.c: Regenerate.
1273 * mt-opc.c: Regenerate.
1274 * xc16x-opc.c: Regenerate.
1275 * xstormy16-opc.c: Regenerate.
1276 * tic54x-dis.c (print_instruction): Avoid compiler warning on
1279 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1281 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
1283 2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
1285 * ppc-opc.c: Update copyright year.
1286 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
1287 ordering for POWER4 and later and use the correct Server ordering.
1289 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1291 AVX Programming Reference (January, 2009)
1292 * i386-dis.c (PREFIX_VEX_3A44): New.
1293 (VEX_LEN_3A44_P_2): Likewise.
1294 (PREFIX_VEX_3A48): Updated.
1295 (VEX_LEN_3A4C_P_2): Likewise.
1296 (prefix_table): Add PREFIX_VEX_3A44.
1297 (vex_table): Likewise.
1298 (vex_len_table): Add VEX_LEN_3A44_P_2.
1300 * i386-opc.tbl: Add PCLMUL + AVX instructions.
1301 * i386-tbl.h: Regenerated.
1303 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1305 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
1306 (mips_arch_choices): Add XLR entry.
1307 * mips-opc.c (XLR): Define.
1308 (mips_builtin_opcodes): Add XLR instructions.
1310 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1312 * Makefile.am: Add install-pdf target.
1313 * po/Make-in: Add install-pdf target.
1314 * Makefile.in: Regenerate.
1316 2009-02-02 DJ Delorie <dj@redhat.com>
1318 * mep-asm.c: Regenerate.
1319 * mep-desc.c: Regenerate.
1320 * mep-desc.h: Regenerate.
1321 * mep-dis.c: Regenerate.
1322 * mep-ibld.c: Regenerate.
1323 * mep-opc.c: Regenerate.
1324 * mep-opc.h: Regenerate.
1326 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1328 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
1331 2009-01-28 Chao-ying Fu <fu@mips.com>
1333 * mips-opc.c (suxc1): Add the flag of FP_D.
1335 2009-01-20 Alan Modra <amodra@bigpond.net.au>
1337 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
1338 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
1339 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
1340 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
1341 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
1342 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
1343 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
1344 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
1346 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1348 * configure.in (commonbfdlib): Delete.
1349 (SHARED_LIBADD): Add pic libiberty if such is available.
1350 * configure: Regenerate.
1351 * po/POTFILES.in: Regenerate.
1353 2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
1355 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
1356 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
1357 operand form and enable the four operand form for POWER6 and later.
1358 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
1359 three operand form for POWER6 and later.
1361 2009-01-14 Mike Frysinger <vapier@gentoo.org>
1363 * bfin-dis.c (OUTS): Use "%s" as format string.
1365 2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
1367 * i386-gen.c (cpu_flag_init): Remove a white space.
1368 (operand_type_init): Likewise.
1370 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1372 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
1373 * i386-tbl.h: Regenerated.
1375 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1377 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
1378 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
1379 subS, xorS and cmpS.
1381 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1383 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
1384 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
1385 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
1386 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
1389 (set_bitfield): Take an argument, lineno. Don't report lineno
1390 on error if it is -1.
1391 (process_i386_cpu_flag): Take an argument, lineno.
1392 (process_i386_opcode_modifier): Likewise.
1393 (process_i386_operand_type): Likewise.
1394 (output_i386_opcode): Likewise.
1395 (opcode_hash_entry): Add lineno.
1396 (process_i386_opcodes): Updated.
1397 (process_i386_registers): Likewise.
1398 (process_i386_initializers): Likewise.
1400 * i386-opc.h (CpuP4): Removed.
1404 (CpuSYSCALL): Likewise.
1406 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
1407 cpuclflush and cpusyscall.
1409 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
1411 * i386-init.h: Regenerated.
1412 * i386-tbl.h: Likewise.
1414 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1416 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
1417 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
1418 (cpu_flags): Add CpuRdtscp.
1419 (set_bitfield): Remove CpuSledgehammer check.
1421 * i386-opc.h (CpuRdtscp): New.
1423 (i386_cpu_flags): Add cpurdtscp.
1425 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
1426 * i386-init.h: Regenerated.
1427 * i386-tbl.h: Likewise.
1429 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1431 * ppc-opc.c (PPCNONE): Define.
1433 (powerpc_opcodes): Initialize the new "deprecated" field.
1435 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
1437 AVX Programming Reference (December, 2008)
1438 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
1439 (VEX_LEN_E7_P_2_M_0): Likewise.
1440 (VEX_LEN_2C_P_1): Updated.
1441 (VEX_LEN_E8_P_2): Likewise.
1442 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
1443 (mod_table): Likewise.
1445 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
1446 * i386-tbl.h: Regenerated.
1448 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1450 * i386-gen.c (process_copyright): Update for 2009.
1452 * i386-init.h: Regenerated.
1453 * i386-tbl.h: Likewise.
1455 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1457 AVX Programming Reference (December, 2008)
1458 * i386-dis.c (OP_VEX_FMA): Removed.
1459 (OP_EX_VexW): Likewise.
1460 (OP_EX_VexImmW): Likewise.
1461 (OP_XMM_VexW): Likewise.
1462 (VEXI4_Fixup): Likewise.
1463 (VPERMIL2_Fixup): Likewise.
1466 (Vex128FMA): Likewise.
1468 (EXdVexW): Likewise.
1469 (EXqVexW): Likewise.
1470 (EXVexImmW): Likewise.
1472 (VPERMIL2): Likewise.
1473 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
1474 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
1475 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
1476 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
1477 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
1478 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
1479 (get_vex_imm8): Likewise.
1480 (OP_EX_VexReg): Likewise.
1481 vpermil2_op): Likewise.
1483 (vex_w_dq_mode): Likewise.
1484 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
1485 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
1486 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
1488 (PREFIX_VEX_38DB): Likewise.
1489 (PREFIX_VEX_3A4A): Likewise.
1490 (PREFIX_VEX_3A60): Likewise.
1491 (PREFIX_VEX_3ADF): Likewise.
1492 (VEX_LEN_3ADF_P_2): Likewise.
1493 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
1494 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
1495 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
1496 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
1497 PREFIX_VEX_3896...PREFIX_VEX_389F,
1498 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
1499 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
1500 (vex_table): Likewise.
1501 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
1502 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
1503 (putop): Support "%XW".
1504 (intel_operand_size): Handle vex_w_dq_mode.
1506 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
1508 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
1509 instructions. Add new FMA instructions.
1510 * i386-tbl.h: Regenerated.
1512 2009-01-02 Matthias Klose <doko@ubuntu.com>
1514 * or32-opc.c (or32_print_register, or32_print_immediate,
1515 disassemble_insn): Don't rely on undefined sprintf behaviour.
1517 For older changes see ChangeLog-2008
1523 version-control: never