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