1 2009-12-18 H.J. Lu <hongjiu.lu@intel.com>
3 * i386-gen.c (operand_types): Move Imm1 before Imm8.
5 2009-12-17 Nick Clifton <nickc@redhat.com>
8 * arm-dis.c: Add support for %<>ru and %<>rU formats to enforce
9 unique register numbers. Extend support for %<>R format to
10 thumb32 and coprocessor instructions.
12 2009-12-16 H.J. Lu <hongjiu.lu@intel.com>
14 * i386-gen.c (opcode_modifiers): Remove ByteOkIntel.
16 * i386-opc.h (ByteOkIntel): Removed.
17 (i386_opcode_modifier): Remove byteokintel.
19 * i386-opc.tbl: Remove ByteOkIntel.
20 * i386-tbl.h: Regenerated.
22 2009-12-16 H.J. Lu <hongjiu.lu@intel.com>
24 * i386-gen.c (opcode_modifiers): Remove Vex0F, Vex0F38,
25 Vex0F3A, XOP08, XOP09 and XOP0A. Add VexOpcode.
27 * i386-opc.h (Vex0F): Removed.
34 (XOP08): Defined as a macro.
37 (i386_opcode_modifier): Remove vex0f, vex0f38, vex0f3a, xop08,
38 xop09 and xop0a. Add vexopcode.
40 * i386-opc.tbl: Replace Vex0F with VexOpcode=0, Vex0F38 with
41 VexOpcode=1, Vex0F3A with VexOpcode=2, XOP08 with VexOpcode=3,
42 XOP09 with VexOpcode=4 and XOP0A with VexOpcode=5.
43 * i386-tbl.h: Regenerated.
45 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
47 * i386-opc.h (VEX2SOURCES): Renamed to ...
50 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
52 * i386-gen.c (opcode_modifiers): Remove Vex3Sources and
53 Vex2Sources. Add VexSources.
55 * i386-opc.h (Vex2Sources): Removed.
56 (Vex3Sources): Likewise.
58 (VEX3SOURCES): Likewise.
59 (VexSources): Likewise.
60 (i386_opcode_modifier): Remove vex2sources and vex3sources.
63 * i386-opc.tbl: Replace Vex2Sources with VexSources=1 and
64 Vex3Sourceswith VexSources=2.
65 * i386-tbl.h: Regenerated.
67 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
69 * i386-gen.c (opcode_modifiers): Remove VexW0 and VexW1. Add
72 * i386-opc.h (VexW0): Removed.
77 (i386_opcode_modifier): Remove vexw0 and vexw1. Add vexw.
79 * i386-opc.tbl: Replace VexW0 with VexW=1 and VexW1 with
81 * i386-tbl.h: Regenerated.
83 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
85 * i386-dis.c (VEX_W_3818_P_2_M_0): New.
86 (vex_w_table): Add VEX_W_3818_P_2_M_0.
87 (mod_table): Use VEX_W_3818_P_2_M_0.
89 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
91 * i386-dis.c (vex_w_table): Reformat.
93 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
95 * i386-dis.c (VEX_W_382X_P_2_M_0): New.
96 (vex_w_table): Add VEX_W_382X_P_2_M_0.
97 (mod_table): Use VEX_W_382X_P_2_M_0.
99 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
101 * i386-dis.c (vex_w_table): Reformat.
103 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
105 * i386-dis.c (USE_VEX_W_TABLE): New.
106 (VEX_W_TABLE): Likewise.
107 (VEX_W_XXX): Likewise.
108 (vex_w_table): Likewise.
109 (prefix_table): Use VEX_W_XXX.
110 (vex_table): Likewise.
111 (vex_len_table): Likewise.
112 (mod_table): Likewise.
113 (get_valid_dis386): Handle USE_VEX_W_TABLE.
115 * i386-opc.tbl: Add VexW0 to AVX instructions where the VEX.W bit
117 * i386-tbl.h: Regenerated.
119 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
121 * i386-opc.h (VEX128): New.
124 2009-12-14 H.J. Lu <hongjiu.lu@intel.com>
126 * i386-dis.c (vex_len_table): Reformat.
128 2009-12-14 H.J. Lu <hongjiu.lu@intel.com>
130 * i386-dis.c (MOD_VEX_51): Renamed to ...
132 (vex_table): Updated.
133 (mod_table): Likewise.
135 2009-12-14 Nick Clifton <nickc@redhat.com>
138 * arm-dis.c (arm_opcodes): Specify %R in cases where using r15
139 results in unpredictable behaviour.
140 (print_insn_arm): Handle %R.
142 2009-12-11 H.J. Lu <hongjiu.lu@intel.com>
144 * i386-dis.c (get_valid_dis386): Set vex.w to 0 for VEX C5
146 (print_insn): Don't set vex.w here.
148 2009-12-11 H.J. Lu <hongjiu.lu@intel.com>
150 * i386-dis.c (print_insn): Set vex.w to 0.
152 2009-12-11 Quentin Neill <quentin.neill@amd.com>
154 * i386-dis.c (get_vex_imm8): Extend logic to apply in all cases,
155 to avoid fetching ahead for the immediate bytes when OP_E_memory
156 has already been called. Fix indentation.
158 2009-12-11 Nick Clifton <nickc@redhat.com>
160 * Makefile.in: Regenerate.
161 * configure: Regenerate.
162 * arm-dis.c: Fix shadowed variable warnings.
163 * cgen-opc.c: Likewise.
164 * cr16-dis.c: Likewise.
165 * crx-dis.c: Likewise.
166 * d30v-dis.c: Likewise.
167 * fr30-dis.c: Likewise.
168 * frv-opc.c: Likewise.
169 * h8500-dis.c: Likewise.
170 * i386-dis.c: Likewise.
171 * i960-dis.c: Likewise.
172 * ia64-gen.c: Likewise.
173 * ia64-opc.c: Likewise.
174 * m32c-asm.c: Likewise.
175 * m32c-dis.c: Likewise.
176 * m68k-dis.c: Likewise.
177 * maxq-dis.c: Likewise.
178 * mcore-dis.c: Likewise.
179 * mep-asm.c: Likewise.
180 * microblaze-dis.c: Likewise.
181 * mmix-dis.c: Likewise.
182 * ns32k-dis.c: Likewise.
183 * or32-opc.c: Likewise.
184 * s390-dis.c: Likewise.
185 * sh64-dis.c: Likewise.
186 * spu-dis.c: Likewise.
187 * tic30-dis.c: Likewise.
189 2009-12-09 Nick Clifton <nickc@redhat.com>
192 * arm-dis.c (print_insn_arm): Mark insns that use the PC in
193 post-indexed addressing as unpredictable.
195 2009-12-03 H.J. Lu <hongjiu.lu@intel.com>
197 * i386-dis.c (FXSAVE_Fixup): New.
199 (mod_table): Use FXSAVE on fxsave and fxrstor.
201 * i386-opc.tbl: Add fxsave64 and fxrstor64.
202 * i386-tbl.h: Regenerated.
204 2009-12-02 Nick Clifton <nickc@redhat.com>
205 Richard Earnshaw <rearnsha@arm.com>
208 * arm-dis.c (thumb32_opc): Adjust disassembly of QADD, QDADD, QSUB
211 2009-11-30 Massimo Ruo Roch <massimo.ruoroch@polito.it>
214 * m68k-opc.c (m68k_opcodes): Allow the STLDSR instruction on the
217 2009-11-17 Quentin Neill <quentin.neill@amd.com>
218 Sebastian Pop <sebastian.pop@amd.com>
220 * i386-dis.c (get_vex_imm8): Increase bytes_before_imm when
221 decoding the second source operand from the immediate byte.
222 (OP_EX_VexW): Pass an extra integer to identify the second
223 and third source arguments.
225 2009-11-19 H.J. Lu <hongjiu.lu@intel.com>
227 * i386-opc.tbl: Add IsLockable to cmpxch16b.
228 * i386-tbl.h: Regenerated.
230 2009-11-19 Nick Clifton <nickc@redhat.com>
233 * arm-dis.c (print_insn_arm): Do not print an offset of zero when
234 decoding Immediaate Offset addressing.
236 2009-11-18 Sebastian Pop <sebastian.pop@amd.com>
239 * i386-dis.c (get_vex_imm8): Do not increment codep.
240 Avoid incrementing bytes_before_imm when OP_E_memory
241 has already forwarded the codep pointer.
242 (OP_EX_VexW): Increment codep to skip mod/rm byte.
244 2009-11-18 Sebastian Pop <sebastian.pop@amd.com>
246 * i386-dis.c (VEX_LEN_XOP_08_A0): Removed.
247 (VEX_LEN_XOP_08_A1): Removed.
248 (xop_table): Remove entries for VEX_LEN_XOP_08_A0 and
250 (vex_len_table): Same.
251 * i386-gen.c (CPU_CVT16_FLAGS): Removed.
252 (cpu_flags): Remove field for CpuCVT16.
253 * i386-opc.h (CpuCVT16): Removed.
254 (i386_cpu_flags): Remove bitfield cpucvt16.
255 (i386-opc.tbl): Remove CVT16 instructions.
256 * i386-init.h: Regenerated.
257 * i386-tbl.h: Regenerated.
259 2009-11-17 Sebastian Pop <sebastian.pop@amd.com>
260 Quentin Neill <quentin.neill@amd.com>
262 * i386-dis.c (OP_Vex_2src_1): New.
263 (OP_Vex_2src_2): New.
267 (VEX_LEN_XOP_08_A0): Added.
268 (VEX_LEN_XOP_08_A1): Added.
269 (VEX_LEN_XOP_09_80): Added.
270 (VEX_LEN_XOP_09_81): Added.
271 (xop_table): Added an entry for XOP_08. Handle xop instructions.
272 (vex_len_table): Added entries for VEX_LEN_XOP_08_A0,
273 VEX_LEN_XOP_08_A1, VEX_LEN_XOP_09_80, VEX_LEN_XOP_09_81.
274 (get_valid_dis386): Handle XOP_08.
276 * i386-gen.c (cpu_flag_init): Add CPU_XOP_FLAGS and CPU_CVT16_FLAGS.
277 (cpu_flags): Add CpuXOP and CpuCVT16.
278 (opcode_modifiers): Add XOP08, Vex2Sources.
279 * i386-opc.h (CpuXOP): Added.
281 (i386_cpu_flags): Add cpuxop and cpucvt16.
283 (Vex2Sources): Added.
284 (i386_opcode_modifier): Add xop08, vex2sources.
285 * i386-opc.tbl: Add entries for XOP and CVT16 instructions.
286 * i386-init.h: Regenerated.
287 * i386-tbl.h: Regenerated.
289 2009-11-17 Nick Clifton <nickc@redhat.com>
292 * arm-dis.c (arm_opcodes): Add patterns to match undefined LDRB
293 instruction variants. Add pattern for MRS variant that was being
295 (arm_decode_shift): Place error message in a comment.
296 (print_insn_arm): Note that writing back to the PC is
298 Only print 'p' variants of cmp/cmn/teq/tst instructions if
299 decoding for pre-V6 architectures.
301 2009-11-17 Edward Nevill <edward.nevill@arm.com>
303 * arm-dis.c (print_insn_thumb32): Handle undefined instruction.
305 2009-11-14 Doug Evans <dje@sebabeach.org>
307 * Makefile.am (stamp-xc16x): Use ../cpu/xc16x.cpu instead of
309 * Makefile.in: Regenerate.
311 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
313 * i386-dis.c (OP_E_extended): Removed.
315 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
317 * i386-dis.c (print_insn): Check rex_ignored.
319 2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
321 * i386-dis.c (ckprefix): Updated to return 0 if number of
322 prefixes > 14 and record the last position for each prefix.
323 (lock_prefix): Removed.
324 (data_prefix): Likewise.
325 (addr_prefix): Likewise.
326 (repz_prefix): Likewise.
327 (repnz_prefix): Likewise.
328 (last_lock_prefix): New.
329 (last_repz_prefix): Likewise.
330 (last_repnz_prefix): Likewise.
331 (last_data_prefix): Likewise.
332 (last_addr_prefix): Likewise.
333 (last_rex_prefix): Likewise.
334 (last_seg_prefix): Likewise.
335 (MAX_CODE_LENGTH): Likewise.
336 (ADDR16_PREFIX): Likewise.
337 (ADDR32_PREFIX): Likewise.
338 (DATA16_PREFIX): Likewise.
339 (DATA32_PREFIX): Likewise.
340 (REP_PREFIX): Likewise.
341 (seg_prefix): Likewise.
342 (all_prefixes): Change size to MAX_CODE_LENGTH - 1.
343 (prefix_name): Handle ADDR16_PREFIX, ADDR32_PREFIX,
344 DATA16_PREFIX, DATA32_PREFIX and REP_PREFIX.
345 (get_valid_dis386): Updated.
347 (OP_Monitor): Likewise.
348 (REP_Fixup): Likewise.
349 (print_insn): Display all prefixes.
350 (putop): Set PREFIX_DATA on used_prefixes only if it is used.
351 (intel_operand_size): Likewise.
352 (OP_E_register): Likewise.
355 (OP_IMREG): Likewise.
359 (CRC32_Fixup): Likewise.
360 (MOVBE_Fixup): Likewise.
361 (OP_E_memory): Set REFIX_DATA on used_prefixes when it is used
363 (OP_J): Set REX_W used if it is used. Set PREFIX_DATA on
364 used_prefixes only if it is used.
366 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
368 * i386-opc.tbl: Remove IsLockable from add, adc, and, dec, inc,
369 or, sbb, sub, xor and xchg with register only operands.
370 * i386-tbl.h: Regenerated.
372 2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
374 * i386-gen.c (opcode_modifiers): Add IsLockable.
376 * i386-opc.h (IsLockable): New.
377 (i386_opcode_modifier): Add islockable.
379 * i386-opc.tbl: Add IsLockable to add, adc, and, btc, btr,
380 bts, cmpxchg, cmpxch8b, dec, inc, neg, not, or, sbb, sub,
382 * i386-tbl.h: Regenerated.
384 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
386 * arm-dis.c (coprocessor_opcodes): Use %A instead of %C. Remove
387 generic coprocessor instructions for FPA loads and stores.
388 (print_insn_coprocessor): Remove %C support. Display address for
389 PC-relative offsets in %A.
391 2009-11-11 H.J. Lu <hongjiu.lu@intel.com>
393 * i386-dis.c (all_prefixes): New.
394 (ckprefix): Set all_prefixes.
395 (print_insn): Print all_prefixes instead of lock_prefix,
396 repz_prefix, repnz_prefix, addr_prefix and data_prefix.
398 2009-11-11 Nick Clifton <nickc@redhat.com>
401 * arm-dis.c (UNPREDICTABLE_INSTRUCTION): New macro.
402 (print_insn_arm): Extend %s format control code to check for
403 unpredictable addressing modes. Add support for %S format control
404 code which suppresses this check.
405 (W_BIT, I_BIT, U_BIT, P_BIT): New macros.
406 (WRITEBACK_BIT_SET, IMMEDIATE_BIT_SET, NEGATIVE_BIT_SET,
407 PRE_BIT_SET): New macros.
408 (print_insn_coprocessor): Use the new macros instead of magic
410 (print_arm_address): Likewise.
411 (pirnt_insn_arm): Likewise.
412 (print_insn_thumb32): Likewise.
414 2009-11-11 Nick Clifton <nickc@redhat.com>
416 * po/id.po: Updated Indonesian translation.
418 2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com>
420 * m68k-dis.c (print_insn_arg): Handle RGPIOBAR, ACR[4-7] and MBAR[01].
422 2009-11-06 Sebastian Pop <sebastian.pop@amd.com>
424 * i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to
425 reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to
426 B.mm in the RXB.mmmmm byte, and so when B is set, we still should use
428 (get_valid_dis386): Removed unused condition (from cut/n/paste) for
431 2009-11-05 Sebastian Pop <sebastian.pop@amd.com>
432 Quentin Neill <quentin.neill@amd.com>
434 * opcodes/i386-dis.c (OP_LWPCB_E): New.
437 (USE_XOP_8F_TABLE): New.
439 (REG_XOP_LWPCB): New.
443 (reg_table): Redirect REG_8F to XOP_8F_TABLE.
444 Add entries for REG_XOP_LWPCB and REG_XOP_LWP.
446 (get_valid_dis386): Handle USE_XOP_8F_TABLE.
447 Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values
448 to access to the vex_table.
452 * opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP.
453 (cpu_flags): Add CpuLWP.
454 (opcode_modifiers): Add VexLWP, XOP09, and XOP0A.
455 * opcodes/i386-opc.h (CpuLWP): New.
456 (i386_cpu_flags): Add bit cpulwp.
460 (i386_opcode_modifier): Add vexlwp, xop09, and xop0a.
461 * opcodes/i386-opc.tbl (llwpcb): Added.
465 2009-11-04 DJ Delorie <dj@redhat.com>
467 * rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
468 (mvtcp, mvfcp, opecp): Remove.
469 * rx-decode.c: Regenerate.
470 * rx-dis.c (cpen): Remove.
472 2009-11-03 Doug Evans <dje@sebabeach.org>
474 * m32c-desc.c: Regenerate.
475 * mep-desc.c: Regenerate.
477 2009-11-02 Paul Brook <paul@codesourcery.com>
479 * arm-dis.c (coprocessor_opcodes): Update to use new feature flags.
480 Add VFPv4 instructions.
482 2009-10-29 Sebastian Pop <sebastian.pop@amd.com>
484 * i386-dis.c (OP_VEX_FMA): Removed.
486 (Vex128FMA): Removed.
487 (prefix_table): First source operand of FMA4 insns is decoded
488 with Vex not with VexFMA.
489 (OP_EX_VexW): Second source operand is decoded with get_vex_imm8
490 when vex.w is set. Third source operand is decoded with
492 2009-10-27 Alan Modra <amodra@bigpond.net.au>
494 * Makefile.am (HFILES): Remove cgen-ops.h and cgen-types.h.
495 * Makefile.in: Regenerate.
496 * po/POTFILES.in: Regenerate.
498 2009-10-23 Doug Evans <dje@sebabeach.org>
500 * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h.
501 * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h.
502 * cgen-bitset.c: Update.
503 * fr30-desc.h: Regenerate.
504 * frv-desc.h: Regenerate.
505 * ip2k-desc.h: Regenerate.
506 * iq2000-desc.h: Regenerate.
507 * lm32-desc.h: Regenerate.
508 * m32c-desc.h: Regenerate.
509 * m32c-opc.h: Regenerate.
510 * m32r-desc.h: Regenerate.
511 * mep-desc.h: Regenerate.
512 * mt-desc.h: Regenerate.
513 * openrisc-desc.h: Regenerate.
514 * xc16x-desc.h: Regenerate.
515 * xstormy16-desc.h: Regenerate.
517 2009-10-22 DJ Delorie <dj@redhat.com>
519 * rx-decode.opc (decode_opcode): Fix flags for MUL, SUNTIL, and SWHILE.
520 * rx-decode.c: Regenerated.
522 2009-10-20 H.J. Lu <hongjiu.lu@intel.com>
525 * i386-dis.c: Document LB, LS and LV macros.
526 (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction
527 with the 64-bit displacement or immediate operand.
528 (putop): Handle LB, LS and LV macros.
530 2009-10-18 Doug Evans <dje@sebabeach.org>
532 * lm32-opinst.c: Regenerate.
533 * m32c-desc.c: Regenerate.
534 * m32r-opinst.c: Regenerate.
535 * openrisc-ibld.c: Regenerate.
536 * xc16x-desc.c: Regenerate.
537 * xc16x-desc.h: Regenerate.
539 2009-10-17 Doug Evans <dje@sebabeach.org>
541 * Makefile.am (CGEN_CPUS): Add iq2000, lm32.
542 (FR30_DEPS, FRV_DEPS, IQ2000_DEPS): Move so all cgen *_DEPS are
543 sorted alphabetically.
544 (stamp-fr30, stamp-frv, stamp-iq2000, stamp-xc16x): Move so all cgen
545 stamp-* rules are sorted alphabetically.
546 * Makefile.in: Regenerate.
548 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
550 * i386-opc.h: Use enum instead of nested macros.
552 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
554 * i386-dis.c: Simplify enums.
556 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
557 Ineiev <ineiev@gmail.com>
560 * i386-dis.c: Use enum instead of nested macros.
562 2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
564 * i386-dis.c (MAX_BYTEMODE): Removed.
566 2009-10-14 Tomas Hurka <tom@hukatronic.cz>
569 * m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl.
571 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
573 * i386-dis.c (print_insn): Always clear need_vex, need_vex_reg
576 2009-10-07 Michael Eager <eager@eagercon.com>
578 * microblaze-dis.c: Add include for microblaze-dis.h,
579 eliminate local extern decls.
580 * microblaze-dis.h: New.
582 2009-10-06 Nick Clifton <nickc@redhat.com>
584 * po/fi.po: Updated Finnish translation.
586 2009-10-03 Andreas Schwab <schwab@linux-m68k.org>
588 * opc2c.c: Include "libiberty.h" and <errno.h>.
589 (orig_filename): Constify.
590 (dump_lines): Fix line number directive.
591 (main): Set orig_filename to basename of input file. Use
594 * Makefile.am (rx-dis.lo): Remove explicit dependencies.
595 ($(srcdir)/rx-decode.c): Use @MAINT@. Use $(EXEEXT_FOR_BUILD)
596 instead of $(EXEEXT).
597 (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
598 $(LINK_FOR_BUILD). Link with libiberty.
599 (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
600 (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
601 * Makefile.in: Regenerated.
602 * rx-decode.c: Regenerated.
604 2009-10-03 Paul Reed <paulreed@paddedcell.com>
606 * arm-dis.c (print_insn): Check symtab_size not *symtab.
608 2009-10-02 H.J. Lu <hongjiu.lu@intel.com>
610 * i386-opc.tbl: Drop Disp64 on jump and loop instructions.
611 * i386-tbl.h: Regenerated.
613 2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
615 * ppc-dis.c (ppc_opts): Add "476" entry.
616 * ppc-opc.c (PPC476): Define.
617 (powerpc_opcodes): Update mnemonics where required for 476.
619 2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
621 * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
622 * ppc-dis.c (ppc_opts): Likewise.
623 Rename "ppca2" to "a2".
625 2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
627 * crx-dis.c (match_opcode): Truncate mcode to 32-bit.
629 2009-09-29 DJ Delorie <dj@redhat.com>
631 * Makefile.am: Add RX files.
632 * configure.in: Add support for RX target.
633 * disassemble.c: Likewise.
634 * Makefile.in: Regenerate.
635 * configure: Regenerate.
637 * rx-decode.c: New file.
638 * rx-decode.opc: New file.
639 * rx-dis.c: New file.
641 2009-09-29 Peter Bergner <bergner@vnet.ibm.com>
643 * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
644 "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.
646 2009-09-25 Michael Eager <eager@eagercon.com>
648 * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
649 microblaze_decode_insn): Add declarations.
650 (get_delay_slots_microblaze): Remove.
652 2009-09-25 Martin Thuresson <martint@google.com>
654 Update sources to make arc and arm targets compile cleanly with
656 * arc-dis.c Fix casts.
657 * arc-ext.c: Add casts.
658 * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
661 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
663 * i386-gen.c (opcode_modifiers): Remove Vex256.
664 (set_bitfield): Handle XXX=V.
666 * i386-opc.h (Vex): Update comments.
669 (i386_opcode_modifier): Change vex to 2 bits. Remove vex256.
671 * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2.
672 * i386-tbl.h: Regenerated.
674 2009-09-23 Nick Clifton <nickc@redhat.com>
676 * po/fr.po: Updated French translation.
678 2009-09-21 Ben Elliston <bje@au.ibm.com>
679 Peter Bergner <bergner@vnet.ibm.com>
681 * ppc-dis.c (ppc_opts): Add "ppca2" entry.
682 * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
683 eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
684 icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
686 (ERAT_T): New operand.
687 (XWC_MASK): New mask.
691 2009-09-18 Nick Clifton <nickc@redhat.com>
693 * po/es.po: Updated Spanish translation.
694 * po/vi.po: Updated Vietnamese translation.
696 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
698 * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
701 2009-09-14 Nick Clifton <nickc@redhat.com>
703 * po/nl.po: Updated Dutch translation.
705 2009-09-11 Nick Clifton <nickc@redhat.com>
707 * po/opcodes.pot: Updated by the Translation project.
709 2009-09-11 Martin Thuresson <martint@google.com>
711 Updated sources to compile cleanly with -Wc++-compat:
712 * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
713 * ldcref.c: Add casts.
714 * ldctor.c: Add casts.
716 * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
717 * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
718 * ldlang.h (enum statement_enum): Move to top level.
719 * ldmain.c: Add casts.
720 * ldwrite.c: Add casts.
721 * lexsup.c: Add casts. (enum control_enum): Move to top level.
722 * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
724 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
726 * s390-dis.c (print_insn_s390): Avoid 'long long'.
728 2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
730 * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
731 (print_insn_s390): Signextend and shift pcrel operands before printing.
733 2009-09-09 H.J. Lu <hongjiu.lu@intel.com>
735 * i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to
736 VEX_LEN_AE_R_X_M_0 in comments.
738 2009-09-08 DJ Delorie <dj@redhat.com>
740 * mep-opc.c: Regenerate.
742 2009-09-08 Andreas Schwab <schwab@linux-m68k.org>
744 * z8kgen.c (struct op): Replace unused flavor with id.
745 (opt): Remove extra xorb entry.
746 (func): Use id field as fallback.
747 (sub): Return new string, caller changed.
748 (internal): Allocate end marker. Assign unique id before sorting.
749 (gas): Likewise. Fix loop end condition.
750 * z8k-opc.h: Regenerate.
752 2009-09-08 Alan Modra <amodra@bigpond.net.au>
754 * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
756 2009-09-07 Alan Modra <amodra@bigpond.net.au>
758 * z8kgen.c (func): Fix thinko last patch.
760 2009-09-07 Alan Modra <amodra@bigpond.net.au>
762 * z8kgen.c (func): Stabilize qsort of identically named entries.
763 * z8k-opc.h: Regenerate.
765 2009-09-07 Tristan Gingold <gingold@adacore.com>
767 * po/opcodes.pot: Regenerate.
769 2009-09-07 Alan Modra <amodra@bigpond.net.au>
771 * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
772 * configure: Regenerate.
773 * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
774 (BUILD_LIBS, BUILD_LIB_DEPS): Define. Use..
775 (i386-gen, ia64-gen, z8kgen): ..here.
776 * Makefile.in: Regenerate.
778 2009-09-07 Tristan Gingold <gingold@adacore.com>
780 * z8k-opc.h: Regenerate.
782 2009-09-05 Martin Thuresson <martin@mtme.org>
784 * ia64-dis.c (print_insn_ia64): Update code to use renamed member.
785 * m88k-dis.c (m88kdis): Rename variable class to in_class.
786 * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol):
787 Rename argument class to symbol_class.
789 2009-09-04 Jie Zhang <jie.zhang@analog.com>
791 * bfin-dis.c (decode_pseudodbg_assert_0): Change according
792 to the new encoding of DBGA, DBGAH, and DBGAL.
793 (_print_insn_bfin): Likewise.
795 2009-09-03 Jie Zhang <jie.zhang@analog.com>
797 * bfin-dis.c (_print_insn_bfin): Don't declare.
798 (print_insn_bfin): Don't declare.
799 (dregs_pair): Remove.
800 (ignore_bits): Remove.
803 2009-09-03 Jie Zhang <jie.zhang@analog.com>
805 * bfin-dis.c (IS_DREG): Define.
811 (decode_REGMV_0): Check illegal register move instructions.
813 2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
815 * Makefile.am (BUILD_LIBINTL): New variable.
816 (i386-gen$(EXEEXT_FOR_BUILD)): Use it.
817 (ia64-gen$(EXEEXT_FOR_BUILD)): And here.
818 (z8kgen$(EXEEXT_FOR_BUILD)): And here.
819 * Makefile.in: Regenerate.
821 2009-09-01 DJ Delorie <dj@redhat.com>
823 * mep-asm.c: Regenerate.
824 * mep-desc.c: Regenerate.
825 * mep-opc.c: Regenerate.
827 2009-09-01 Tristan Gingold <gingold@adacore.com>
829 * makefile.vms: Ported to Itanium VMS. Remove useless targets and
830 dependencies. Remove unused FORMAT variable.
831 * configure.com: New file to create build.com DCL script for
832 Itanium VMS or Alpha VMS.
834 2009-08-29 Martin Thuresson <martin@mtme.org>
836 * cris-dis.c (bytes_to_skip): Update code to use new name.
837 * i386-dis.c (putop): Update code to use new name.
838 * i386-gen.c (process_i386_opcodes): Update code to use
840 * i386-opc.h (struct template): Rename struct template to
841 insn_template. Update code accordingly.
842 * i386-tbl.h (i386_optab): Update type to use new name.
843 * ia64-dis.c (print_insn_ia64): Rename variable template
845 * tic30-dis.c (struct instruction, get_tic30_instruction):
846 Update code to use new name.
847 * tic54x-dis.c (has_lkaddr, get_insn_size)
848 (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
849 Update code to use new name.
850 * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
851 Update type to new name.
852 * z8kgen.c (internal, gas): Rename variable new to new_op.
854 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
856 * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
857 Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
858 (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
859 CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
860 * Makefile.in: Regenerated.
862 2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
864 * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
865 [INSTALL_LIBBFD]: ... here, ...
866 [INSTALL_LIBBFD]: ... and empty overrides here.
867 [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
868 [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
869 * Makefile.in: Regenerate.
870 * configure: Regenerate.
872 2009-08-26 Philippe De Muyter <phdm@macqel.be>
874 * m68k-dis.c (print_insn_arg): Add movecr register names for
875 coldfire v4e families.
877 2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
879 * Makefile.am (SUBDIRS): Build '.' before 'po'.
880 (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
881 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
882 (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
883 using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
884 (i386-gen.o): New rule.
885 ($(srcdir)/i386-init.h): Adjust.
886 (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
887 (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
888 (ia64-gen.o): New rule.
889 (ia64_asmtab_deps): New variable.
890 ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
891 (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
892 (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
894 (s390-opc.tab): Adjust.
895 (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
897 (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
898 * Makefile.in: Regenerate.
899 * z8kgen.c (gas): Avoid '/*' in comment.
900 * z8k-opc.h (func): Regenerate.
902 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
904 * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
905 from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
906 i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
907 ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
909 (LIBOPCODES_CFILES): New variable, adding to
910 TARGET_LIBOPCODES_CFILES also non-target library sources.
911 (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
913 (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
914 (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
915 * Makefile.in: Regenerate.
916 * po/POTFILES.in: Regenerate.
918 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
920 * Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
921 [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
922 [INSTALL_LIBBFD] (bfdinclude_DATA): New.
923 [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
924 [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
925 is built shared even if it is not to be installed.
926 (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
927 (install_libopcodes, uninstall_libopcodes): Remove.
928 (AM_CPPFLAGS): Renamed from ...
929 (INCLUDES): ... this.
930 * Makefile.in: Regenerate.
932 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
933 1.11, foreign, no-dist.
934 (MKDEP, m32c_opc_h): Remove variables.
935 (disassemble.lo): Rewrite using automake-style dependency
936 tracking rules; only list the dependency upon the primary source
937 file, but no included headers.
938 (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
939 (i386-gen.o, ia64-gen.o): Remove dependency statements.
940 (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
941 ensure all dependency fragments are included in the Makefile.
942 (s390-opc.lo): Depend on s390-opc.tab.
943 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
944 (mkdep section): Remove.
945 * Makefile.in: Regenerate.
946 * po/POTFILES.in: Regenerate.
948 * Makefile.am (install-pdf, install-html): Remove.
949 * Makefile.in: Regenerate.
951 * Makefile.in: Regenerate.
952 * aclocal.m4: Likewise.
953 * config.in: Likewise.
954 * configure: Likewise.
956 2009-08-06 Michael Eager <eager@eagercon.com>
958 * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
959 CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
960 * Makefile.in: Regenerate.
961 * configure.in: Add bfd_microblaze_arch target.
962 * configure: Regenerate.
963 * disassemble.c: Define ARCH_microblaze, return
964 print_insn_microblaze().
965 * microblaze-dis.c: New MicroBlaze disassembler.
966 * microblaze-opc.h: New MicroBlaze opcode definitions.
967 * microblaze-opcm.h: New MicroBlaze opcode types.
969 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
971 * configure.in: Handle bfd_l1om_arch.
972 * disassemble.c (disassembler): Likewise.
974 * configure: Regenerated.
976 * i386-dis.c (print_insn): Handle bfd_mach_l1om and
977 bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM.
979 * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
981 (cpu_flags): Add CpuL1OM.
982 (set_bitfield): Take an argument to set the value field.
983 (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
984 (process_i386_opcode_modifier): Updated.
985 (process_i386_operand_type): Likewise.
986 * i386-init.h: Regenerated.
987 * i386-tbl.h: Likewise.
989 * i386-opc.h (CpuL1OM): New.
991 (i386_cpu_flags): Add cpul1om.
993 2009-07-24 Jan Beulich <jbeulich@novell.com>
995 * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
997 * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
998 (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
999 (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
1000 * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
1002 (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
1004 * i386-opc.tbl: Qualify floating point instructions by their
1005 respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
1006 and fsincos to be avilable only on 387. Fix fstsw ax to be
1007 available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
1009 * i386-init.h, i386-tbl.h: Regenerate.
1011 2009-07-20 Nick Clifton <nickc@redhat.com>
1014 * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register
1015 offset or indexed based addressing mode 3.
1017 2009-07-14 Nick Clifton <nickc@redhat.com>
1020 * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1
1022 (arm_decode_shift): Catch illegal register based shifts.
1023 (print_insn_arm): Properly handle negative register r0
1024 post-indexed addressing.
1026 2009-07-10 Doug Kwan <dougkwan@google.com>
1028 * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only
1029 lower 32 bits of long types to make hexadecimal output consistent
1030 on both 32-bit and 64-bit hosts.
1032 2009-07-10 Alan Modra <amodra@bigpond.net.au>
1034 * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h,
1035 * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h,
1036 * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h,
1037 * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h,
1038 * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h,
1039 * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
1040 * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c,
1041 * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h,
1042 * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h,
1043 * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h,
1044 * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h,
1045 * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
1047 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
1049 * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus.
1051 2009-07-07 Nick Clifton <nickc@redhat.com>
1054 * arm-dis.c (arm_opcodes): Be more strict about decoding scaled
1057 2009-07-06 DJ Delorie <dj@redhat.com>
1059 * mep-desc.c: Regenerate.
1060 * mep-desc.h: Regenerate.
1061 * mep-opc.c: Regenerate.
1062 * mep-opc.h: Regenerate.
1064 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1066 * i386-opc.h (CpuFMA4): Add CpuFMA4.
1067 (i386_cpu_flags): New.
1068 * i386-gen.c: Add CPU_FMA4_FLAGS.
1069 * i386-opc.tbl: Add FMA4 instructions.
1070 * i386-tbl.h: Regenerate.
1071 * i386-init.h: Regenerate.
1072 * i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
1073 (OP_XMM_VexW): Ditto.
1074 (OP_EX_VexW): Ditto.
1075 (VEXI4_Fixup): Ditto.
1076 (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
1077 (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
1078 (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
1079 (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
1080 (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
1081 (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
1082 (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
1083 (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
1084 (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
1085 (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
1086 (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
1087 (get_vex_imm8): New. handle FMA4.
1088 (OP_EX_VexReg): Ditto.
1090 2009-06-30 Nick Clifton <nickc@redhat.com>
1093 * arm-dis.c (coprocessor): Print the LDC and STC versions of the
1094 LFM and SFM instructions as comments,.
1095 Improve consistency of formatting for instructions displayed as
1096 comments and decimal values displayed with their hexadecimal
1098 Formatting tidy ups.
1100 2009-06-29 Nick Clifton <nickc@redhat.com>
1103 * arm-dis.c (enum opcode_sentinels): New: Used to mark the
1104 boundary between variaant and generic coprocessor instuctions.
1105 (coprocessor): Use it.
1106 Fix architecture version of MCRR and MRRC instructions.
1107 (arm_opcdes): Fix patterns for STRB and STRH instructions.
1108 (print_insn_coprocessor): Check architecture and extension masks.
1109 Print a hexadecimal version of any decimal constant that is
1110 outside of the range of -16 to +32.
1111 (print_arm_address): Add a return value of the offset used in the
1112 adress, if it is worth printing a hexadecimal version of it.
1113 (print_insn_neon): Print a hexadecimal version of any decimal
1114 constant that is outside of the range of -16 to +32.
1115 (print_insn_arm): Likewise.
1116 (print_insn_thumb16): Likewise.
1117 (print_insn_thumb32): Likewise.
1120 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description
1121 of an undefined instruction.
1122 (arm_opcodes): Use it.
1123 (thumb_opcod): Use it.
1124 (thumb32_opc): Use it.
1126 2009-06-23 DJ Delorie <dj@redhat.com>
1128 * mep-desc.c: Regenerate.
1129 * mep-desc.h: Regenerate.
1130 * mep-dis.c: Regenerate.
1131 * mep-ibld.c: Regenerate.
1132 * mep-opc.c: Regenerate.
1134 * mep-asm.c: Regenerate.
1135 * mep-opc.c: Regenerate.
1136 * mep-opc.h: Regenerate.
1138 2009-06-22 Nick Clifton <nickc@redhat.com>
1140 * po/fi.po: Updated Finish translation.
1142 2009-06-22 Alan Modra <amodra@bigpond.net.au>
1144 * m32c-asm.c: Regenerate.
1146 2009-06-22 Alan Modra <amodra@bigpond.net.au>
1148 * score-dis.c (print_insn_score48, print_insn_score32): Move default
1149 case label to proper lexical block.
1150 * score7-dis.c (print_insn_score32): Likewise.
1152 2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
1154 * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
1155 MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
1156 * s390-opc.txt (nopr, nop): Use new instruction format.
1158 2009-06-18 Nick Clifton <nickc@redhat.com>
1161 * arm-dis.c (print_insn_coprocessor): Check that a user specified
1162 ARM architecture supports the matched instruction.
1163 (print_insn_arm): Likewise.
1164 (select_arm_features): New function. Fills in the fields of an
1165 arm_feature_set structure based on a given arm machine number.
1166 (print_insn): Initialise an arm_feature_set structure.
1168 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
1170 * vax-dis.c (is_function_entry): Return success for synthetic
1172 (is_plt_tail): New function.
1173 (print_insn_vax): Decode PLT entry offset longword.
1175 2009-06-15 Nick Clifton <nickc@redhat.com>
1178 * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W
1182 * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice.
1184 2009-06-15 Nick Clifton <nickc@redhat.com>
1187 * arm-dis.c (print_insn): Ignore is_data if the user has requested
1188 the disassembly of data as well as instructions.
1190 2009-06-11 Doug Evans <dje@sebabeach.org>
1192 * cgen.sh: Handle multiple simultaneous runs for parallel makes.
1194 2009-06-11 Anthony Green <green@moxielogic.com>
1196 * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions.
1197 (moxie_form3_opc_info): Add branch instructions.
1198 * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL
1199 encoded instructions.
1201 2009-06-06 Anthony Green <green@moxielogic.com>
1203 * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M.
1204 * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case.
1206 2009-06-04 Alan Modra <amodra@bigpond.net.au>
1208 * dep-in.sed: Don't use \n in replacement part of s command.
1209 * Makefile.am (DEP1): LC_ALL for uniq.
1210 * Makefile.in: Regenerate.
1212 2009-06-02 Nick Clifton <nickc@redhat.com>
1214 * po/nl.po: Updated Dutch translation.
1216 2009-06-02 Tristan Gingold <gingold@adacore.com>
1218 * ia64-gen.c (parse_resource_users, print_dependency_table,
1219 add_dis_table_ent, finish_distable, insert_bit_table_ent,
1220 add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
1221 get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
1222 insert_completer_entry, print_completer_entry, print_completer_table,
1223 opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
1225 2009-05-28 DJ Delorie <dj@redhat.com>
1227 * mep-asm.c: Regenerate.
1228 * mep-desc.c: Regenerate.
1230 2009-05-26 DJ Delorie <dj@redhat.com>
1232 * mep-asm.c: Regenerate.
1233 * mep-desc.c: Regenerate.
1234 * mep-desc.h: Regenerate.
1235 * mep-dis.c: Regenerate.
1236 * mep-ibld.c: Regenerate.
1237 * mep-opc.c: Regenerate.
1238 * mep-opc.h: Regenerate.
1240 2009-05-26 Nick Clifton <nickc@redhat.com>
1242 * po/id.po: Updated Indonesian translation.
1243 * po/opcodes.pot: Updated template file.
1245 2009-05-26 Alan Modra <amodra@bigpond.net.au>
1247 * dep-in.sed: Don't modify .o to .lo here. Output one filename
1248 per line with all lines having continuation backslash. Prefix
1249 first line with "A", following lines with "B".
1250 * Makefile.am (DEP): Don't use dep.sed here.
1251 (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
1252 dep.sed here on dependencies, sort and uniq.
1253 * Makefile.in: Regenerate.
1255 2009-05-25 Tristan Gingold <gingold@adacore.com>
1257 * makefile.vms (OPT): New variable.
1258 (CFLAGS): Update compilation flags.
1260 2009-05-22 DJ Delorie <dj@redhat.com>
1262 * mep-asm.c: Regenerate.
1263 * mep-desc.c: Regenerate.
1264 * mep-desc.h: Regenerate.
1265 * mep-dis.c: Regenerate.
1266 * mep-ibld.c: Regenerate.
1267 * mep-opc.c: Regenerate.
1268 * mep-opc.h: Regenerate.
1270 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1272 * i386-opc.h (Cpusse5): Delete.
1273 (i386_cpu_flags): Delete.
1274 * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
1275 * i386-opc.tbl: Remove SSE5 instructions.
1276 * i386-tbl.h: Regenerate.
1277 * i386-init.h: Regenerate.
1278 * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
1279 (print_drex_arg): Delete.
1282 (OP_DREX_ICMP): Delete.
1283 (OP_DREX_FCMP): Delete.
1285 (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
1287 2009-05-22 Alan Modra <amodra@bigpond.net.au>
1289 * Makefile.am: Run "make dep-am".
1290 * Makefile.in: Regenerate.
1291 * po/POTFILES.in: Regenerate.
1293 2009-05-19 DJ Delorie <dj@redhat.com>
1295 * mep-asm.c: Regenerate.
1296 * mep-opc.c: Regenerate.
1298 2009-04-30 DJ Delorie <dj@redhat.com>
1300 * mep-asm.c: Regenerate.
1301 * mep-desc.c: Regenerate.
1302 * mep-desc.h: Regenerate.
1303 * mep-dis.c: Regenerate.
1304 * mep-ibld.c: Regenerate.
1305 * mep-opc.c: Regenerate.
1306 * mep-opc.h: Regenerate.
1308 2009-04-17 DJ Delorie <dj@redhat.com
1310 * mep-desc.c: Regenerate.
1311 * mep-ibld.c: Regenerate.
1312 * mep-opc.c: Regenerate.
1313 * mep-opc.h: Regenerate.
1315 2009-04-15 Anthony Green <green@moxielogic.com>
1317 * moxie-opc.c, moxie-dis.c: Created.
1318 * Makefile.am: Build the moxie source files.
1319 * configure.in: Add moxie support.
1320 * Makefile.in, configure: Rebuilt.
1321 * disassemble.c (disassembler): Add moxie support.
1322 (ARCH_moxie): Define.
1324 2009-04-15 Jan Beulich <jbeulich@novell.com>
1326 * i386-opc.tbl (protb, protw, protd, protq): Set opcode
1328 (pshab, pshaw, pshad, pshaq): Likewise.
1329 * i386-tbl.h: Re-generate.
1331 2009-04-08 DJ Delorie <dj@redhat.com
1333 * mep-asm.c: Regenerate.
1334 * mep-desc.c: Regenerate.
1335 * mep-desc.h: Regenerate.
1336 * mep-dis.c: Regenerate.
1337 * mep-ibld.c: Regenerate.
1338 * mep-opc.c: Regenerate.
1339 * mep-opc.h: Regenerate.
1341 2009-04-07 Peter Bergner <bergner@vnet.ibm.com>
1343 * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
1344 "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
1345 Reorder entries so the extended mnemonics are listed before tlbilx.
1347 2009-04-02 Peter Bergner <bergner@vnet.ibm.com>
1349 * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
1351 (print_insn_powerpc): Make sure we only deprecate instructions using
1352 the original dialect and not a modified dialect due to -Many handling.
1353 Move the handling of the condition register and default operands to
1354 the end of the if/else if/else chain.
1355 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1356 instructions from newer processors are listed before older ones.
1357 <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
1358 that have instructions with conflicting opcodes.
1360 2009-04-01 Peter Bergner <bergner@vnet.ibm.com>
1362 * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
1365 2009-04-01 Christophe Lyon <christophe.lyon@st.com>
1367 * arm-dis.c (print_insn): Print BE8 opcodes in little endianness.
1369 2009-03-30 Joseph Myers <joseph@codesourcery.com>
1371 * arm-dis.c (print_insn): Also check section matches in backwards
1372 search for mapping symbol.
1374 2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
1376 * i386-dis.c (get_valid_dis386): Abort on unhandled table.
1378 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1380 * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
1381 * Makefile.am: Run "make dep-am".
1382 * Makefile.in: Regenerate.
1383 * openrisc-opc.c: Regenerate.
1385 2009-03-10 Nick Clifton <nickc@redhat.com>
1387 * po/id.po: Updated Indonesian translation.
1389 2009-03-10 Alan Modra <amodra@bigpond.net.au>
1391 * ppc-dis.c: Include "opintl.h".
1392 (struct ppc_mopt, ppc_opts): New.
1393 (ppc_parse_cpu): New function.
1394 (powerpc_init_dialect): Use it.
1395 (print_ppc_disassembler_options): Dump options from ppc_opts.
1396 Internationalize message.
1398 2009-03-06 Nick Clifton <nickc@redhat.com>
1400 * po/es.po: Updated Spanish translation.
1402 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1405 * configure.in: Test for ld --as-needed support. Link shared
1406 libopcodes against libm.
1407 * configure: Regenerate.
1409 2009-03-03 Peter Bergner <bergner@vnet.ibm.com>
1411 * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
1412 instructions from newer processors are listed before older ones.
1414 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1416 * Makefile.am: Run "make dep-am".
1417 (HFILES): Move lm32-desc.h and lm32-opc.h from..
1419 * Makefile.in: Regenerate.
1421 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1423 * score7-dis.c: New file.
1424 * Makefile.am: Add dependencies for score7-dis.c.
1425 * Makefile.in: Regenerate.
1426 * configure.in: Add score7-dis to score files.
1427 * configure: Regenerate.
1428 * score-dis.c: Add support for score7 architecture.
1429 * score-opc.h: Likewise.
1431 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1433 * configure: Regenerate.
1435 2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
1437 * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
1439 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1441 * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
1442 the power7 and the isel instructions.
1443 * ppc-opc.c (insert_xc6, extract_xc6): New static functions.
1444 (insert_dm, extract_dm): Likewise.
1445 (XB6): Update comment to include XX2 form.
1446 (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
1447 XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
1448 (RemoveXX3DM): Delete.
1449 (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
1450 "mftgpr">: Deprecate for POWER7.
1451 <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
1452 "frsqrte.">: Deprecate the three operand form and enable the two
1453 operand form for POWER7 and later.
1454 <"wait">: Extend to accept optional parameter. Enable for POWER7.
1455 <"waitsrv", "waitimpl">: Add extended opcodes.
1456 <"ldbrx", "stdbrx">: Enable for POWER7.
1457 <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
1458 <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
1459 "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
1460 "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
1461 "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
1462 "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
1463 "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
1464 "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
1465 <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
1466 "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
1467 "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
1468 "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
1469 "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
1470 "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
1471 "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
1472 "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
1473 "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
1474 "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
1475 "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
1476 "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
1477 "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
1478 "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
1479 "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
1480 "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
1481 "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
1482 "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
1483 "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
1484 "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
1485 "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
1486 "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
1487 "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
1488 "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
1489 "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
1490 "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
1491 "xxspltw", "xxswapd">: Add VSX opcodes.
1493 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1495 * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4.
1496 (operand_types): Remove Vex_Imm4.
1498 * i386-opc.h (Vex_Imm4): Removed.
1500 (i386_operand_type): Remove vex_imm4.
1502 * i386-opc.tbl: Remove Vex_Imm4 comments.
1503 * i386-init.h: Regenerated.
1504 * i386-tbl.h: Likewise.
1506 2009-02-23 Richard Earnshaw <rearnsha@arm.com>
1508 * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for
1509 vq{r}shr{u}n.s64 insnstructions.
1511 2009-02-19 Peter Bergner <bergner@vnet.ibm.com>
1513 * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first
1514 operand to be a float point register (FRT/FRS).
1516 2009-02-18 Adam Nemet <anemet@caviumnetworks.com>
1518 * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific
1519 dmfc2 and dmtc2 before the architecture-level variants.
1521 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1523 * fr30-opc.c: Regenerate.
1524 * frv-opc.c: Regenerate.
1525 * ip2k-opc.c: Regenerate.
1526 * iq2000-opc.c: Regenerate.
1527 * lm32-opc.c: Regenerate.
1528 * m32c-opc.c: Regenerate.
1529 * m32r-opc.c: Regenerate.
1530 * mep-opc.c: Regenerate.
1531 * mt-opc.c: Regenerate.
1532 * xc16x-opc.c: Regenerate.
1533 * xstormy16-opc.c: Regenerate.
1534 * tic54x-dis.c (print_instruction): Avoid compiler warning on
1537 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1539 * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
1541 2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
1543 * ppc-opc.c: Update copyright year.
1544 (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
1545 ordering for POWER4 and later and use the correct Server ordering.
1547 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1549 AVX Programming Reference (January, 2009)
1550 * i386-dis.c (PREFIX_VEX_3A44): New.
1551 (VEX_LEN_3A44_P_2): Likewise.
1552 (PREFIX_VEX_3A48): Updated.
1553 (VEX_LEN_3A4C_P_2): Likewise.
1554 (prefix_table): Add PREFIX_VEX_3A44.
1555 (vex_table): Likewise.
1556 (vex_len_table): Add VEX_LEN_3A44_P_2.
1558 * i386-opc.tbl: Add PCLMUL + AVX instructions.
1559 * i386-tbl.h: Regenerated.
1561 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1563 * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
1564 (mips_arch_choices): Add XLR entry.
1565 * mips-opc.c (XLR): Define.
1566 (mips_builtin_opcodes): Add XLR instructions.
1568 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1570 * Makefile.am: Add install-pdf target.
1571 * po/Make-in: Add install-pdf target.
1572 * Makefile.in: Regenerate.
1574 2009-02-02 DJ Delorie <dj@redhat.com>
1576 * mep-asm.c: Regenerate.
1577 * mep-desc.c: Regenerate.
1578 * mep-desc.h: Regenerate.
1579 * mep-dis.c: Regenerate.
1580 * mep-ibld.c: Regenerate.
1581 * mep-opc.c: Regenerate.
1582 * mep-opc.h: Regenerate.
1584 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1586 * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
1589 2009-01-28 Chao-ying Fu <fu@mips.com>
1591 * mips-opc.c (suxc1): Add the flag of FP_D.
1593 2009-01-20 Alan Modra <amodra@bigpond.net.au>
1595 * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c,
1596 * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c,
1597 * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c,
1598 * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c,
1599 * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c,
1600 * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c,
1601 * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c,
1602 * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate.
1604 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1606 * configure.in (commonbfdlib): Delete.
1607 (SHARED_LIBADD): Add pic libiberty if such is available.
1608 * configure: Regenerate.
1609 * po/POTFILES.in: Regenerate.
1611 2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
1613 * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
1614 * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
1615 operand form and enable the four operand form for POWER6 and later.
1616 <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
1617 three operand form for POWER6 and later.
1619 2009-01-14 Mike Frysinger <vapier@gentoo.org>
1621 * bfin-dis.c (OUTS): Use "%s" as format string.
1623 2009-01-13 H.J. Lu <hongjiu.lu@intel.com>
1625 * i386-gen.c (cpu_flag_init): Remove a white space.
1626 (operand_type_init): Likewise.
1628 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1630 * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence.
1631 * i386-tbl.h: Regenerated.
1633 2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
1635 * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
1636 subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
1637 subS, xorS and cmpS.
1639 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1641 * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
1642 CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
1643 CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
1644 (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
1647 (set_bitfield): Take an argument, lineno. Don't report lineno
1648 on error if it is -1.
1649 (process_i386_cpu_flag): Take an argument, lineno.
1650 (process_i386_opcode_modifier): Likewise.
1651 (process_i386_operand_type): Likewise.
1652 (output_i386_opcode): Likewise.
1653 (opcode_hash_entry): Add lineno.
1654 (process_i386_opcodes): Updated.
1655 (process_i386_registers): Likewise.
1656 (process_i386_initializers): Likewise.
1658 * i386-opc.h (CpuP4): Removed.
1662 (CpuSYSCALL): Likewise.
1664 (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
1665 cpuclflush and cpusyscall.
1667 * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
1669 * i386-init.h: Regenerated.
1670 * i386-tbl.h: Likewise.
1672 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1674 * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
1675 and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
1676 (cpu_flags): Add CpuRdtscp.
1677 (set_bitfield): Remove CpuSledgehammer check.
1679 * i386-opc.h (CpuRdtscp): New.
1681 (i386_cpu_flags): Add cpurdtscp.
1683 * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
1684 * i386-init.h: Regenerated.
1685 * i386-tbl.h: Likewise.
1687 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1689 * ppc-opc.c (PPCNONE): Define.
1691 (powerpc_opcodes): Initialize the new "deprecated" field.
1693 2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
1695 AVX Programming Reference (December, 2008)
1696 * i386-dis.c (VEX_LEN_2B_M_0): Removed.
1697 (VEX_LEN_E7_P_2_M_0): Likewise.
1698 (VEX_LEN_2C_P_1): Updated.
1699 (VEX_LEN_E8_P_2): Likewise.
1700 (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
1701 (mod_table): Likewise.
1703 * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
1704 * i386-tbl.h: Regenerated.
1706 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1708 * i386-gen.c (process_copyright): Update for 2009.
1710 * i386-init.h: Regenerated.
1711 * i386-tbl.h: Likewise.
1713 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1715 AVX Programming Reference (December, 2008)
1716 * i386-dis.c (OP_VEX_FMA): Removed.
1717 (OP_EX_VexW): Likewise.
1718 (OP_EX_VexImmW): Likewise.
1719 (OP_XMM_VexW): Likewise.
1720 (VEXI4_Fixup): Likewise.
1721 (VPERMIL2_Fixup): Likewise.
1724 (Vex128FMA): Likewise.
1726 (EXdVexW): Likewise.
1727 (EXqVexW): Likewise.
1728 (EXVexImmW): Likewise.
1730 (VPERMIL2): Likewise.
1731 (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
1732 (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
1733 (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
1734 (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
1735 (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
1736 (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
1737 (get_vex_imm8): Likewise.
1738 (OP_EX_VexReg): Likewise.
1739 vpermil2_op): Likewise.
1741 (vex_w_dq_mode): Likewise.
1742 (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
1743 (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
1744 (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
1746 (PREFIX_VEX_38DB): Likewise.
1747 (PREFIX_VEX_3A4A): Likewise.
1748 (PREFIX_VEX_3A60): Likewise.
1749 (PREFIX_VEX_3ADF): Likewise.
1750 (VEX_LEN_3ADF_P_2): Likewise.
1751 (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
1752 PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
1753 PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
1754 PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add
1755 PREFIX_VEX_3896...PREFIX_VEX_389F,
1756 PREFIX_VEX_38A6...PREFIX_VEX_38AF and
1757 PREFIX_VEX_38B6...PREFIX_VEX_38BF.
1758 (vex_table): Likewise.
1759 (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
1760 and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
1761 (putop): Support "%XW".
1762 (intel_operand_size): Handle vex_w_dq_mode.
1764 * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.
1766 * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
1767 instructions. Add new FMA instructions.
1768 * i386-tbl.h: Regenerated.
1770 2009-01-02 Matthias Klose <doko@ubuntu.com>
1772 * or32-opc.c (or32_print_register, or32_print_immediate,
1773 disassemble_insn): Don't rely on undefined sprintf behaviour.
1775 For older changes see ChangeLog-2008
1781 version-control: never