3 * i386-dis.c (prefix_table): Use "%LQ" on cvtsi2ss/cvtsi2sd.
4 (putop): Handle '%' and "LQ".
6 * i386-opc.tbl: Remove IgnoreSize from cvtsi2ss/cvtsi2sd.
7 * i386-tbl.h: Regenerated.
11 * i386-gen.c (cpu_flag_init): Add CpuSSE4_1_Or_5 to
12 CPU_SSE4_1_FLAGS, CPU_SSE4_2_FLAGS and CPU_SSE5_FLAGS.
13 (cpu_flags): Add CpuSSE4_1_Or_5.
15 * i386-init.h: Regenerated.
16 * i386-tbl.h: Likewise.
18 * i386-opc.h (CpuSSE4_1_Or_5): New.
20 (i386_cpu_flags): Add cpusse4_1_or_5.
22 * i386-opc.tbl: Use CpuSSE4_1_Or_5 instead of CpuSSE4_1|CpuSSE5
23 on ptest, roundpd, roundps, roundsd and roundss.
27 * i386-gen.c (opcode_modifiers): Add OldGcc, ATTMnemonic and
30 * i386-opc.h (OldGcc): New.
31 (ATTMnemonic): Likewise.
32 (IntelMnemonic): Likewise.
33 (Opcode_Modifier_Max): Updated.
34 (i386_opcode_modifier): Add oldgcc, attmnemonic and
37 * i386-opc.tbl: Update fadd, fdiv, fdivp, fdivr, fdivrp, fmul,
38 fsub, fsubp, fsubr and fsubrp with OldGcc, ATTMnemonic and
40 * i386-tbl.h: Regeneratd.
44 * i386-dis.c (intel_mnemonic): New.
45 (print_i386_disassembler_options): Display att-mnemonic and
46 intel-mnemonic options.
47 (print_insn): Handle att-mnemonic and intel-mnemonic.
48 (float_reg): Replace SYSV386_COMPAT with "!M" and "M".
49 (putop): Handle "!M" and "M".
53 * Makefile.am (i386-gen.o): Also depend on
54 $(srcdir)/../include/opcode/i386.h.
55 * Makefile.in: Regenerated.
59 * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F
61 * mips-opc.c (IL2E): New.
63 (mips_builtin_opcodes): Add Loongson-2E and -2F instructions.
64 Allow movz and movn for Loongson-2E and -2F. Add movnz entry.
65 Move coprocessor encodings to the end of the table. Allow
66 certain MIPS V .ps instructions on the Loongson-2E and -2F.
70 * mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New.
71 (mips_builtin_opcodes): Use these new I* values.
75 * s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
77 ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
81 * ia64-ic.tbl: Updated for Itanium 9100 series.
82 * ia64-raw.tbl: Likewise.
83 * ia64-waw.tbl: Likewise.
84 * ia64-asmtab.c: Regenerated.
88 * ia64-dis.c (print_insn_ia64): Handle ar.ruc.
89 * ia64-gen.c (lookup_regindex): Likewise.
94 * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with
99 * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
100 registers instead of register number.
104 * arm-dis.c (arm_opcodes): Remove superflous escapes of percent
109 * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
110 which are not included in the "Preliminary Decimal Floating-Point
111 Architecture" document.
115 * i386-gen.c (opcode_modifiers): Replace No_xSuf with
117 * i386-opc.tbl: Likewise.
119 * i386-opc.h (No_xSuf): Renamed to ...
125 * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
126 ToQword and AddrPrefixOp0.
128 * i386-opc.h (ByteOkIntel): New.
131 (AddrPrefixOp0): Likewise.
133 (i386_opcode_modifier): Add byteokintel, todword, toqword
136 * i386-opc.tbl (cvtss2si): Add ToQword.
137 (cvttss2si): Likewise.
138 (cvtsd2si): Add ToDword.
139 (cvttsd2si): Likewise.
140 (monitor): Add AddrPrefixOp0.
145 (pextrb): Add ByteOkIntel.
147 * i386-tbl.h: Regenerated.
151 * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
152 (USE_REG_TABLE): Likewise.
153 (USE_MOD_TABLE): Likewise.
154 (USE_RM_TABLE): Likewise.
155 (USE_PREFIX_TABLE): Likewise.
156 (USE_X86_64_TABLE): Likewise.
157 (USE_3BYTE_TABLE): Likewise.
161 * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
162 (MOD_0F51): Likewise.
163 (MOD_0FD7): Likewise.
164 (MOD_0FE7_PREFIX_2): Likewise.
165 (MOD_0F382A_PREFIX_2): Likewise.
166 (MOD_0F71_REG_2): Updated.
167 (MOD_0FF0_PREFIX_3): Likewise.
168 (MOD_62_32BIT): Likewise.
169 (dis386_twobyte): Use MOD_0F51 and MOD_0FD7.
170 (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
171 MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
172 (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
173 MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
177 * arm-dis.c (print_insn): Check for a symtab that exists but is
182 * po/POTFILES.in: Regenerate.
186 * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
187 (CMP_Fixup): This. Rewrite.
188 (OPSIMD): Renamed to ...
189 (CMP): This. Updated.
190 (prefix_table): Update PREFIX_0FC2 entry.
194 * i386-dis.c (prefix_table): Reordered by opcode.
195 (mod_table): Likewise.
199 * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
203 * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
208 * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
209 dquaiq. to use the TE and FRT macros.
213 * ppc-opc.c (TE): Correct signedness.
214 (powerpc_opcodes): Sort psq_st and psq_stu according to major
219 * i386-dis.c (dis386_twobyte): Reformat.
220 (prefix_table): Likewise.
221 (three_byte_table): Likewise.
225 * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
230 * i386-gen.c (opcode_modifiers): Add FirstXmm0.
232 * i386-opc.h (FirstXmm0): New.
234 (i386_opcode_modifier): Add firstxmm0.
236 * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
237 (blendvps): Likewise.
238 (pblendvb): Likewise.
239 * i386-tbl.h: Regenerated.
243 * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
247 * i386-dis.c (v_mode): Defined as previous one + 1.
254 (cond_jump_mode): Likewise.
255 (loop_jcxz_mode): Likewise.
257 (dqw_mode): Likewise.
259 (const_1_mode): Likewise.
260 (stack_v_mode): Likewise.
263 (dqb_mode): Likewise.
264 (dqd_mode): Likewise.
303 (z_mode_ax_reg): Likewise.
304 (indir_dx_reg): Likewise.
306 (DREX_NO_OC0): Likewise.
307 (DREX_MASK): Likewise.
308 (MAX_BYTEMODE): New. Issue an error if MAX_BYTEMODE is not
313 * i386-dis.c: Updated comments for 'Y'.
314 (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
318 * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
319 (mips_cp0_names_r4000): Likewise.
320 (mips_arch_choices): Link to the above as appropriate.
324 * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
325 to be ../bfd/libbfd.la.
326 * configure: Regenerate.
330 * i386-dis.c (dis386_twobyte): Add getsec.
332 * i386-gen.c (cpu_flags): Add CpuSMX.
334 * i386-opc.h (CpuSMX): New.
336 (i386_cpu_flags): Add cpusmx.
338 * i386-opc.tbl: Add getsec.
339 * i386-init.h: Regenerated.
340 * i386-tbl.h: Likewise.
344 * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
345 (prefix_table): Likewise.
349 * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
350 unpckhpX and unpckhpX.
354 * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
359 * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
360 instead of "movlpX" and "movhlpX", respectively.
361 (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
362 "movhpX" and "movlhpX", respectively.
366 * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
367 (WIN32LIBADD): Rename to SHARED_LIBADD
368 (SHARED_DEPENDENCIES): New exported variable.
369 (enable_shared): Add dependency upon libbfd.la for non-cygwin
370 based shared library builds.
371 * Makefile.am (libopcodes_la_DEPENDENCIES): Append
373 (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
374 (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
375 * configure: Regenerate.
376 * Makefile.in: Regenerate.
379 * arc-opc.c (insert_offset): Fix spelling mistake in error
384 * i386-dis.c (OP_REG): Set add to 0 only when needed.
395 * i386-opc.tbl: Update SSE comments.
399 * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
400 (THREE_BYTE_0F7B): This.
401 (dis386_twobyte): Updated.
402 (three_byte_table): Updated comments.
406 * cr16-opc.c: Updated the branch on condition instructions with
411 * 386-dis.c (prefix_table): Reformat comment.
415 * 386-dis.c (USE_GROUPS): Renamed to ...
416 (USE_REG_TABLE): This.
417 (USE_OPC_EXT_TABLE): Renamed to ...
418 (USE_MOD_TABLE): This.
419 (USE_OPC_EXT_RM_TABLE): Renamed to ...
420 (USE_RM_TABLE): This.
421 (USE_XXX_TABLE): Reordered.
422 (GRP): Renamed to ...
424 (OPC_EXT_TABLE): Renamed to ...
426 (OPC_EXT_RM_TABLE): Renamed to ...
428 (GRP_XXX): Renamed to ...
430 (PREGRP_XXX): Renamed to ...
432 (OPC_EXT_XXX): Renamed to ...
434 (OPC_EXT_RM_XXX): Renamed to ...
436 (grps): Renamed to ...
438 (prefix_user_table): Renamed to ...
440 (opc_ext_table): Renamed to ...
442 (opc_ext_rm_table): Renamed to ...
444 (OPC_EXT_RM_XXX): Likewise.
446 (dis386_twobyte): Likewise.
447 (reg_table): Likewise.
448 (prefix_table): Likewise.
449 (x86_64_table): Likewise.
450 (three_byte_table): Likewise.
451 (mod_table): Likewise.
452 (rm_table): Likewise.
453 (get_valid_dis386): Likewise.
457 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
458 (USE_PREFIX_TABLE): This.
459 (X86_64_SPECIAL): Renamed to ...
460 (USE_X86_64_TABLE): This.
461 (IS_3BYTE_OPCODE): Renamed to ...
462 (USE_3BYTE_TABLE): This.
464 (PREGRPXXX): Likewise.
465 (X86_64_XXX): Likewise.
466 (THREE_BYTE_XXX): Likewise.
467 (OPC_EXT_XXX): Likewise.
468 (OPC_EXT_RM_XXX): Likewise.
472 (X86_64_TABLE): Likewise.
473 (THREE_BYTE_TABLE): Likewise.
474 (OPC_EXT_TABLE): Likewise.
475 (OPC_EXT_RM_TABLE): Likewise.
477 (PREGRP_XXX): Likewise.
478 (X86_64_XXX): Likewise.
479 (THREE_BYTE_XXX): Likewise.
480 (OPC_EXT_XXX): Likewise.
481 (OPC_EXT_RM_XXX): Likewise.
483 (dis386_twobyte): Likewise.
485 (prefix_user_table): Likewise.
486 (x86_64_table): Likewise.
487 (three_byte_table): Likewise.
488 (opc_ext_table): Likewise.
489 (opc_ext_rm_table): Likewise.
490 (get_valid_dis386): Likewise.
494 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
495 (x86_64_table): Likewise.
496 (opc_ext_table): Likewise.
501 * i386-dis.c: Update comments on '{', '}' and '|' to support
502 only AT&T and Intel modes.
503 (X86_64_4...X86_64_27): New.
504 (dis386): Updated. Use X86_64_4...X86_64_21.
505 (dis386_twobyte): Updated.
506 (float_mem): Likewise.
507 (x86_64_table): Add X86_64_4...X86_64_27.
508 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
509 (putop): Updated handling of '{', '}' and '|' to support only
510 AT&T and Intel modes.
514 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
518 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
522 * mt-asm.c (parse_imm16): Reword error message in order to allow
523 it to be translated properly.
524 * ia64-gen.c (print_dependency_table): Likewise.
525 * mips-dis.c (print_insn_args): Likewise.
529 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
530 relative addressing. Update used_prefixes based on whether any
531 base or index register was printed.
535 * i386-opc.h (RegEip): Define.
537 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
538 * i386-tbl.h: Re-generate.
542 * i386-gen.c (process_i386_opcodes): Process opcode_length.
544 * i386-opc.h (template): Add opcode_length.
545 * 386-opc.tbl: Likewise.
546 * i386-tbl.h: Regenerated.
550 * i386-opc.h: Adjust whitespaces.
554 * mep-desc.c: Regenerated.
558 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
563 * 386-dis.c (index64): New.
565 (intel_index64): Likewise.
566 (intel_index32): Likewise.
567 (att_index64): Likewise.
568 (att_index32): Likewise.
569 (print_insn): Set index64 and index32.
570 (OP_E_extended): Use index64/index32 for index register for
573 * i386-opc.h (RegEiz): New.
576 * i386-reg.tbl: Add eiz and riz.
577 * i386-tbl.h: Regenerated.
581 * i386-dis.c (OP_E_extended): Always display scale for memory.
585 * i386-opc.h (RegRip): New.
587 * i386-reg.tbl (rip): Use RegRip for reg_num.
588 * i386-tbl.h: Regenerated.
592 * po/es.po: Updated Spanish translation.
596 * Makefile.am: Run "make dep-am".
597 * Makefile.in: Regenerate.
603 * i386-opc.h (CpuSSE5): New macro.
604 (i386_cpu_flags): Add Drex, Drexv and Drexc.
606 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
607 (operand_type_init): Add CpuSSE5.
608 (opcode_modifiers): Add Drex, Drexv and Drexc.
609 (i386_opcode_modifier): Ditto.
611 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
613 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
614 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
615 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
616 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
617 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
618 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
619 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
620 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
621 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
622 (phsubbw,phsubwd,phsubdq): Ditto.
623 (pcmov,pperm,permps,permpd): Ditto.
624 (protb,protw,protd,protq): Ditto.
625 (pshlb,pshlw,pshld,pshlq): Ditto.
626 (pshab,pshaw,pshad,pshaq): Ditto.
627 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
628 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
629 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
630 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
631 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
632 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
633 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
634 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
635 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
636 (comunlepd,comgtpd,comtruepd): Ditto.
637 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
638 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
639 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
640 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
641 (comunless,comgtss,comtruess): Ditto.
642 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
643 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
644 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
645 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
646 (comunlesd,comgtsd,comtruesd): Ditto.
647 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
648 (pcomnequb,pcomneub): Ditto.
649 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
650 (pcomnequw,pcomneuw): Ditto.
651 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
652 (pcomnequd,pcomneud): Ditto.
653 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
654 (pcomnequq,pcomneuq): Ditto.
655 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
656 (pcomneqb,pcomneb): Ditto.
657 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
658 (pcomneqw,pcomnew): Ditto.
659 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
660 (pcomneqd,pcomned): Ditto.
661 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
662 (pcomeqq,pcomneqq,pcomneq): Ditto.
663 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
664 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
665 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
666 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
667 (frczps,frczpd,frczss,frczsd): Ditto.
668 (cvtph2ps,cvtps2ph): Ditto.
670 * i386-tbl.h: Regenerate from i386-opc.tbl.
671 * i386-init.h: Likewise.
673 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
674 (dis386_move_test): New disassembly support for move from test
675 register instruction that overlaps with SSE5 instructions.
676 (print_insn): Add support for special casing the i386/i486 move
677 from test register instruction that overlaps with the SSE5
678 0x0f24 4 operand instructions.
679 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
680 (OP_DREX_FCMP): Ditto.
681 (OP_E_extended): Rename from OP_E, add additional argument to skip
683 (OP_E): Call OP_E_extended.
684 (DREX_REG_MEMORY): New macros for drex handling.
685 (DREX_REG_UNKNOWN): Ditto.
687 (DREX4_NO_OC0): Ditto.
689 (three_byte_table): Add SSE5 instructions.
690 (print_drex_arg): New function to print a DREX register or memory
692 (OP_DREX4): New function for handling DREX 4 argument ops.
693 (OP_DREX3): New function for handling DREX 3 argument ops.
694 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
695 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
696 byte opcode support for SSE5 instructions.
697 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
698 (three_byte_table): Add rows for describing SSE5 instructions.
702 * i386-dis.c (get_valid_dis386): Take a pointer to
703 disassemble_info. Handle IS_3BYTE_OPCODE.
704 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
708 * i386-opc.h (CpuUnused): Defined with CpuMax.
709 (OTUnused): Defined with OTMax.
713 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
715 * i386-tbl.h: Regenerate.
719 * i386-gen.c (main): Remove the local variable, unused.
723 * Makefile.am: Run "make dep-am".
724 * Makefile.in: Regenerate.
728 * configure.in (AC_CHECK_HEADERS): Add limits.h.
729 * configure: Regenerated.
730 * config.in: Likewise.
732 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
733 <string.h>. Use xstrerror instead of strerror.
735 (cpu_flag_init): Likewise.
736 (bitfield): Likewise.
738 (cpu_flags): Likewise.
739 (opcode_modifiers): Likewise.
740 (operand_types): Likewise.
742 (set_cpu_flags): Likewise.
743 (output_cpu_flags): Likewise.
744 (process_i386_cpu_flags): Likewise.
745 (output_opcode_modifier): Likewise.
746 (process_i386_opcode_modifier): Likewise.
747 (output_operand_type): Likewise.
748 (process_i386_operand_type): Likewise.
749 (set_bitfield): Likewise.
750 (operand_type_init): Likewise.
751 (process_i386_initializers): Likewise.
752 (process_i386_opcodes): Call process_i386_opcode_modifier to
753 process opcode_modifier. Call process_i386_operand_type to
754 process operand_types.
755 (process_i386_registers): Call process_i386_operand_type to
757 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
758 Sort cpu_flags, opcode_modifiers and operand_types. Call
759 process_i386_initializers.
762 * i386-tbl.h: Regenerated.
764 * i386-opc.h: Include <limits.h>.
765 (CHAR_BIT): Define as 8 if not defined.
766 (Cpu186): Changed to position of bitfiled.
779 (Cpu3dnow): Likewise.
780 (Cpu3dnowA): Likewise.
782 (CpuPadLock): Likewise.
785 (CpuSSSE3): Likewise.
786 (CpuSSE4a): Likewise.
788 (CpuSSE4_1): Likewise.
789 (CpuSSE4_2): Likewise.
795 (ShortForm): Likewise.
797 (JumpDword): Likewise.
798 (JumpByte): Likewise.
799 (JumpInterSegment): Likewise.
806 (IgnoreSize): Likewise.
807 (DefaultSize): Likewise.
815 (IsString): Likewise.
816 (RegKludge): Likewise.
817 (IsPrefix): Likewise.
826 (FloatReg): Likewise.
836 (BaseIndex): Likewise.
842 (InOutPortReg): Likewise.
843 (ShiftCount): Likewise.
850 (FloatAcc): Likewise.
851 (JumpAbsolute): Likewise.
855 (Reg): Commented out.
857 (ImplicitRegister): Likewise.
862 (LLongMem): Likewise.
864 (ShortMem): Likewise.
869 (CpuNumOfUints): Likewise.
870 (CpuNumOfBits): Likewise.
871 (CpuUnused): Likewise.
872 (OTNumOfUints): Likewise.
873 (OTNumOfBits): Likewise.
874 (OTUnused): Likewise.
875 (i386_cpu_flags): New type.
876 (i386_operand_type): Likewise.
877 (i386_opcode_modifier): Likewise.
878 (CpuSledgehammer): Removed.
880 (CpuUnknownFlags): Likewise.
883 (ImplicitRegister): Likewise.
888 (LLongMem): Likewise.
890 (ShortMem): Likewise.
893 (template): Use i386_cpu_flags for cpu_flags, use
894 i386_opcode_modifier for opcode_modifier, use
895 i386_operand_type for operand_types.
896 (reg_entry): Use i386_operand_type for reg_type.
898 * Makefile.am (HFILES): Add i386-init.h.
899 ($(srcdir)/i386-init.h): New rule.
900 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
902 * Makefile.in: Regenerated.
906 * i386-gen.c (next_field): Updated to take a separator.
907 (process_i386_opcodes): Updated.
908 (process_i386_registers): Likewise.
912 * i386-gen.c (table): Moved ...
913 (main): Here. Call process_copyright to output copyright.
914 (process_copyright): New.
915 (process_i386_opcodes): Take FILE *table.
916 (process_i386_registers): Likewise.
920 * i386-gen.c (table): New.
921 (process_i386_opcodes): Report errno when faied to open
922 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
924 (process_i386_registers): Report errno when faied to open
925 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
927 (main): Open i386-tbl.h for output.
929 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
930 * Makefile.in: Regenerated.
934 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
935 operand in 64bit mode.
936 * i386-tbl.h: Regenerated.
940 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
941 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
942 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
946 * i386-dis.c (SVME_Fixup): Removed.
948 (OPC_EXT_RM_6): Likewise.
949 (grps): Use OPC_EXT_39.
950 (opc_ext_table): Add OPC_EXT_39.
951 (opc_ext_rm_table): Add OPC_EXT_RM_6.
953 * i386-opc.tbl: Correct SVME instructions to take register
955 * i386-tbl.h: Regenerated.
959 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
960 * Makefile.in: Regenerated.
962 * configure.in (AC_GNU_SOURCE): Added.
963 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
964 (AC_CHECK_DECLS): Add stpcpy.
965 * configure: Regenerated.
966 * config.in: Likewise.
968 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
970 * sysdep.h (stpcpy): New.
974 * i386-dis.c (INVLPG_Fixup): Removed.
976 (OPC_EXT_RM_5): Likewise.
977 (grps): Use OPC_EXT_38.
978 (opc_ext_table): Add OPC_EXT_38.
979 (opc_ext_rm_table): Add OPC_EXT_RM_5.
983 * i386-dis.c (SIMD_Fixup): Removed.
984 (OPC_EXT_34...OPC_EXT_37): New.
985 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
986 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
987 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
991 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
992 (dis386): Use OPC_EXT_0...OPC_EXT_2.
993 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
994 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
995 (prefix_user_table): Use OPC_EXT_32.
996 (x86_64_table): Use OPC_EXT_33.
997 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
1001 * i386-dis.c (prefix_user_table): Fix comment.
1005 * i386-dis.c (OP_Skip_MODRM): New.
1006 (OP_Monitor): Likewise.
1007 (OP_Mwait): Likewise.
1009 (Skip_MODRM): Likewise.
1010 (USE_OPC_EXT_TABLE): Likewise.
1011 (USE_OPC_EXT_RM_TABLE): Likewise.
1012 (PREGRP98...PREGRP100): Likewise.
1013 (OPC_EXT_0...OPC_EXT_24): Likewise.
1014 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
1015 (lock_prefix): Likewise.
1016 (data_prefix): Likewise.
1017 (addr_prefix): Likewise.
1018 (repz_prefix): Likewise.
1019 (repnz_prefix): Likewise.
1020 (opc_ext_table): Likewise.
1021 (opc_ext_rm_table): Likewise.
1022 (get_valid_dis386): Likewise.
1024 (OP_0fae): Likewise.
1025 (PNI_Fixup): Likewise.
1026 (VMX_Fixup): Likewise.
1028 (twobyte_uses_DATA_prefix): Likewise.
1029 (twobyte_uses_REPNZ_prefix): Likewise.
1030 (twobyte_uses_REPZ_prefix): Likewise.
1031 (threebyte_0x38_uses_DATA_prefix): Likewise.
1032 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
1033 (threebyte_0x38_uses_REPZ_prefix): Likewise.
1034 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1035 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
1036 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
1037 (grps): Use OPC_EXT_0...OPC_EXT_24.
1038 (prefix_user_table): Add PREGRP98...PREGRP100.
1039 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
1040 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
1041 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
1042 data_prefix based on prefixes. Call get_valid_dis386 to
1043 get a pointer to the valid dis386. Print out prefixes if
1045 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
1046 (REP_Fixup): Set repz_prefix to "rep " when seeing
1051 * po/nl.po: Updated translation.
1055 * i386-dis.c (Md): New.
1056 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
1057 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
1058 (OP_0fae): Clear bytemode for sfence.
1062 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
1063 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
1065 (powerpc_opcodes): Add all pair singles instructions.
1066 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
1067 (print_ppc_disassembler_options): Document -Mppcps.
1071 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
1072 (s390_cond_ext_format): New global variable.
1073 (expandConditionalJump): New function.
1074 (main): Invoke expandConditionalJump for mnemonics containing '*'.
1075 * s390-opc.txt: Replace mnemonics with conditional
1076 mask extensions with instructions using the newly introduced '*' tag.
1080 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
1084 * po/fi.po: Updated Finnish translation.
1085 * po/ga.po: Updated Irish translation.
1086 * po/vi.po: Updated Vietnamese translation.
1090 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
1091 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
1092 * i386-tbl.h: Regenerated.
1096 * ia64-gen.c: (main): Add missing newline to copyright message.
1097 * ia64-ic.tbl (fp-non-arith): Add xmpy.
1098 * ia64-asmtab.c: Regenerate.
1102 * i386-dis.c (print_insn): Guard against NULL.
1107 * i386-dis.c (EXw): New.
1108 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1109 instructions when appropriated.
1114 * i386-dis.c (Eq): New.
1115 (EMC): Renamed to ...
1116 (EMCq): This. Use q_mode instead of v_mode.
1117 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1122 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1123 (prefix_user_table): Likewise. Use EXq instead of EXx on
1128 * ppc-opc (PPC7450): New.
1129 (powerpc_opcodes): Use it in dcba.
1133 * i386-gen.c (main): Print a newline after copyright notice.
1138 * maxq-dis.c (get_reg_name): Fix the scan of the
1139 mem_access_syntax_table.
1143 * i386-dis.c (EMq): Removed.
1145 (prefix_user_table): Replace EMq with EMx.
1149 * po/nl.po: Updated translation.
1153 * po/vi.po: Updated translation.
1154 * po/nl.po: Updated translation.
1159 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1160 (ia64-asmtab.c): Likewise.
1161 * Makefile.in: Regenerate.
1165 * aclocal.m4: Regenerated.
1169 * alpha-dis.c: Update copyright notice to refer to GPLv3.
1170 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1171 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1172 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1173 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1174 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1175 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1176 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1177 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1178 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1179 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1180 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1181 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1182 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1183 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1184 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1185 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1186 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1187 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1188 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1189 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1190 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1191 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1192 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1193 z8k-dis.c, z8kgen.c: Likewise.
1194 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1195 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1196 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1197 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1198 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1199 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1200 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1201 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1202 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1203 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1204 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1205 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1206 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1207 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1208 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1209 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1210 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1211 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1212 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1213 xstormy16-opc.h, z8k-opc.h: Regenerated
1217 * cr16-dis.c (getcinvstring): Add const qualifier to char *
1219 (print_insn_cr16): Remove cast to char *.
1223 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
1225 (print_ins_arg): Add j & K operand types.
1226 (match_insn_m68k): Check and skip initial '.' arg character.
1227 (m68k_scan_mask): Likewise.
1228 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1232 * Makefile.am: Run "make dep-am".
1233 * Makefile.in: Regenerate.
1234 * aclocal.m4: Regenerate.
1235 * config.in: Regenerate.
1236 * po/POTFILES.in: Regenerate.
1237 * po/opcodes.pot: Regenerate.
1241 * aclocal.m4: Regenerated.
1242 * Makefile.in: Likewise.
1246 * i386-reg.tbl: Remove spaces before comments.
1250 * cr16-opc.c: New file.
1251 * cr16-dis.c: New file.
1252 * Makefile.am: Entries for cr16.
1253 * Makefile.in: Regenerate.
1254 * cofigure.in: Add cr16 target information.
1255 * configure : Regenerate.
1256 * disassemble.c: Add cr16 target information.
1260 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1261 (CFILES): Add i386-gen.c.
1262 (i386-gen): New rule.
1263 (i386-gen.o): Likewise.
1264 (i386-tbl.h): Likewise.
1266 * Makefile.in: Regenerated.
1268 * i386-gen.c: New file.
1269 * i386-opc.tbl: Likewise.
1270 * i386-reg.tbl: Likewise.
1271 * i386-tbl.h: Likewise.
1273 * i386-opc.c: Include "i386-tbl.h".
1274 (i386_optab): Removed.
1275 (i386_regtab): Likewise.
1276 (i386_regtab_size): Likewise.
1280 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1284 * i386-opc.h (regKludge): Renamed to ...
1287 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1292 * i386-dis.c (EX): Removed.
1298 (PREGRP93...PREGRP97): Likewise.
1299 (dis386_twobyte): Updated.
1300 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1301 (OP_EX): Remove Intel syntax handling.
1305 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1309 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1311 * acinclude.m4: Removed.
1313 * Makefile.in: Regenerated.
1314 * doc/Makefile.in: Likewise.
1315 * aclocal.m4: Likewise.
1316 * configure: Likewise.
1320 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1324 * Makefile.in: Regnerate.
1325 * configure: Regenerate.
1326 * aclocal.m4: Regenerate.
1330 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1331 after setting skip_optional.
1335 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1336 (print_insn_powerpc): Use the new operand_value_powerpc and
1337 skip_optional_operands functions to omit or print all optional
1338 operands as a group.
1339 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1340 (XFL_MASK): Delete L and W bits from the mask.
1341 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
1342 with XWRA_MASK. Use W.
1343 (mtfsf, mtfsf.): Use XFL_L and W.
1348 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1352 * i386-opc.h (ShortForm): Redefined.
1354 (JumpDword): Likewise.
1355 (JumpByte): Likewise.
1356 (JumpInterSegment): Likewise.
1357 (FloatMF): Likewise.
1363 (IgnoreSize): Likewise.
1364 (DefaultSize): Likewise.
1365 (No_bSuf): Likewise.
1366 (No_wSuf): Likewise.
1367 (No_lSuf): Likewise.
1368 (No_sSuf): Likewise.
1369 (No_qSuf): Likewise.
1370 (No_xSuf): Likewise.
1372 (IsString): Likewise.
1373 (regKludge): Likewise.
1374 (IsPrefix): Likewise.
1376 (NoRex64): Likewise.
1382 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1383 for some SSE4 instructions.
1384 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1388 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1390 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1395 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1396 check data size prefix in 16bit mode.
1398 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1403 * frv-desc.c: Regenerate.
1404 * frv-desc.h: Regenerate.
1409 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1413 * i386-dis.c (modrm): Put reg before rm.
1418 * i386-dis.c (print_displacement): New.
1419 (OP_E): Call print_displacement instead of print_operand_value
1420 to output displacement when either base or index exist. Print
1421 the explicit zero displacement in 16bit mode.
1426 * i386-dis.c (print_insn): Also swap the order of op_riprel
1427 when swapping op_index. Break when the RIP relative address
1429 (OP_E): Properly handle RIP relative addressing and print the
1430 explicit zero displacement for Intel mode.
1434 * Makefile.am: Run "make dep-am".
1435 * Makefile.in: Regenerate.
1436 * ns32k-dis.c: Include sysdep.h first.
1440 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1442 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1446 * arm-dis.c (print_insn): Initialise type.
1450 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1451 * Makefile.am: Run "make dep-am".
1452 * Makefile.in: Regenerate.
1456 * m68k-opc.c: Mark mcfisa_c instructions.
1460 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1461 (thumb_opcodes): Add missing white space in adr.
1462 (arm_decode_shift): New parameter, print_shift. Only decode the
1463 shift parameter if set. Adjust callers.
1464 (print_insn_arm): Support for operand type q with no shift decode.
1468 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1470 (i386_regtab): ..here.
1471 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1473 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1474 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1475 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1476 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1480 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1485 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1487 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1488 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1489 references to following deleted functions.
1490 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1491 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1492 (insert_des, extract_des, insert_li, extract_li): Delete.
1493 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1494 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1495 (num_powerpc_operands): New constant.
1496 (XSPRG_MASK): Remove entire SPRG field.
1497 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1501 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1503 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1507 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1512 * Makefile.am: Run "make dep-am".
1513 * Makefile.in: Regenerate.
1514 * po/POTFILES.in: Regenerate.
1518 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1519 db10cyc, db12cyc, db16cyc.
1523 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1527 * i386-dis.c (CRC32_Fixup): New.
1528 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1530 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1531 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1532 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1533 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1534 (three_byte_table): Likewise.
1536 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1538 * i386-opc.h (CpuSSE4_2): New.
1539 (CpuSSE4): Likewise.
1540 (CpuUnknownFlags): Add CpuSSE4_2.
1544 * i386-dis.c (XMM_Fixup): New.
1550 (PREGRP39 ... PREGRP85): New.
1551 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1552 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1553 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1554 (three_byte_table): Likewise.
1555 (putop): Handle 'K'.
1556 (intel_operand_size): Handle dqb_mode, dqd_mode):
1560 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1562 * i386-opc.h (CpuSSE4_1): New.
1563 (CpuUnknownFlags): Add CpuSSE4_1.
1564 (regKludge): Update comment.
1568 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1569 * Makefile.in: Regenerate.
1573 * Makefile.am: Add ACLOCAL_AMFLAGS.
1574 * Makefile.in: Regenerate.
1578 * i386-dis.c: Remove trailing white spaces.
1579 * i386-opc.c: Likewise.
1580 * i386-opc.h: Likewise.
1585 * i386-dis.c (GRP1a): New.
1586 (GRP1b ... GRPPADLCK2): Update index.
1587 (dis386): Use GRP1a for entry 0x8f.
1588 (mod, rm, reg): Removed. Replaced by ...
1594 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1595 info->print_address_func if longjmp is called.
1599 * m32c-desc.c: Regenerate.
1600 * m32c-dis.c: Regenerate.
1601 * m32c-opc.c: Regenerate.
1605 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1606 movq. Remove InvMem from sldt, smsw and str.
1608 * i386-opc.h (InvMem): Renamed to ...
1609 (RegMem): Update comments.
1610 (AnyMem): Remove InvMem.
1614 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1618 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1619 (print_insn_coprocessor): Handle %<bitfield>x.
1624 * arm-dis.c (arm_opcodes): Print SRS base register.
1628 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1630 * i386-opc.c (i386_optab): Add rex.wrxb.
1634 * i386-dis.c (REX_MODE64): Remove definition.
1635 (REX_EXTX): Likewise.
1636 (REX_EXTY): Likewise.
1637 (REX_EXTZ): Likewise.
1638 (USED_REX): Use REX_OPCODE instead of 0x40.
1639 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1640 REX_R, REX_X and REX_B respectively.
1645 * i386-dis.c (PREGRP38): New.
1646 (dis386): Use PREGRP38 for 0x90.
1647 (prefix_user_table): Add PREGRP38.
1648 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1649 (NOP_Fixup1): Properly handle REX bits.
1650 (NOP_Fixup2): Likewise.
1652 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1653 Allow register with nop.
1657 * m32c-asm.c: Regenerate.
1658 * m32c-desc.c: Regenerate.
1659 * m32c-desc.h: Regenerate.
1660 * m32c-dis.h: Regenerate.
1661 * m32c-ibld.c: Regenerate.
1662 * m32c-opc.c: Regenerate.
1663 * m32c-opc.h: Regenerate.
1667 * i386-opc.c: Include "libiberty.h".
1668 (i386_regtab): Remove the last entry.
1669 (i386_regtab_size): New.
1670 (i386_float_regtab_size): Likewise.
1672 * i386-opc.h (i386_regtab_size): New.
1673 (i386_float_regtab_size): Likewise.
1677 * Makefile.am (CFILES): Add i386-opc.c.
1678 (ALL_MACHINES): Add i386-opc.lo.
1680 * Makefile.in: Regenerated.
1682 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1683 * configure: Regenerated.
1685 * i386-dis.c: Include "opcode/i386.h".
1686 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1687 (FWAIT_OPCODE): Remove definition.
1688 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1689 (MAX_OPERANDS): Remove definition.
1691 * i386-opc.c: New file.
1692 * i386-opc.h: Likewise.
1696 * Makefile.in: Regenerated.
1700 * i386-dis.c (OP_Rd): Renamed to ...
1707 * fr30-asm.c: Regenerate.
1708 * frv-asm.c: Regenerate.
1709 * ip2k-asm.c: Regenerate.
1710 * iq2000-asm.c: Regenerate.
1711 * m32c-asm.c: Regenerate.
1712 * m32r-asm.c: Regenerate.
1713 * m32r-dis.c: Regenerate.
1714 * mt-asm.c: Regenerate.
1715 * mt-ibld.c: Regenerate.
1716 * mt-opc.c: Regenerate.
1717 * openrisc-asm.c: Regenerate.
1718 * xc16x-asm.c: Regenerate.
1719 * xstormy16-asm.c: Regenerate.
1721 * Makefile.am: Run "make dep-am".
1722 * Makefile.in: Regenerate.
1723 * po/POTFILES.in: Regenerate.
1727 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1728 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1729 instruction formats added.
1730 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1731 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1733 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1735 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1736 (main): z9-ec cpu type option added.
1737 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1741 * s390-opc.c (INSTR_SS_L2RDRD): New.
1742 (MASK_SS_L2RDRD): New.
1743 * s390-opc.txt (pka): Use it.
1748 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1749 (print_insn_args): Add support for balign instruction.
1750 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1751 (mips_builtin_opcodes): Add DSP R2 instructions.
1755 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1756 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1757 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1758 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1762 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1763 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1764 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1770 * avr-dis.c (comment_start): New variable, contains the prefix to
1771 use when printing addresses in comments.
1772 (print_insn_avr): Set comment_start to an empty space if there is
1773 no symbol table available as the generic address printing code
1774 will prefix the numeric value of the address with 0x.
1778 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1788 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1789 (CFILES): Add mep-*.c
1790 (ALL_MACHINES): Add mep-*.lo.
1791 (CLEANFILES): Add stamp-mep.
1792 (CGEN_CPUS): Add mep.
1793 (MEP_DEPS): New variable.
1794 (mep-*): New targets.
1795 * configure.in: Handle bfd_mep_arch.
1796 * disassemble.c (ARCH_mep): New macro.
1797 (disassembler): Handle bfd_arch_mep.
1798 (disassemble_init_for_target): Likewise.
1799 * mep-*: New files for Toshiba Media Processor (MeP).
1800 * Makefile.in: Regenerated.
1801 * configure: Regenerated.
1805 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1806 wrap around within the same segment in 16bit mode.
1810 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1815 * avr-dis.c (avr_operand): Correct PR number in comment.
1819 * disassemble.c (disassembler_usage): Call
1820 print_i386_disassembler_options for i386 disassembler.
1822 * i386-dis.c (print_i386_disassembler_options): New.
1823 (print_insn): Support the new addr64 option.
1827 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1828 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1833 * ppc-opc.c (insert_bdm): -Many comment.
1834 (valid_bo): Add "extract" param. Accept both powerpc and power4
1835 BO fields when disassembling with -Many.
1836 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1840 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1841 cpu32 | fido_a except on tbl instructions.
1845 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1849 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1853 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1854 vqrshl instructions.
1856 For older changes see ChangeLog-2006
1862 version-control: never