gas/testsuite/
[binutils.git] / opcodes / ChangeLog
blob430330b99b4abf426418135f1c0ade0689561063
1 2007-12-28  H.J. Lu  <hongjiu.lu@intel.com>
3         * i386-gen.c (cpu_flag_init): Add CpuSSE4_1_Or_5 to
4         CPU_SSE4_1_FLAGS, CPU_SSE4_2_FLAGS and CPU_SSE5_FLAGS.
5         (cpu_flags): Add CpuSSE4_1_Or_5.
7         * i386-init.h: Regenerated.
8         * i386-tbl.h: Likewise.
10         * i386-opc.h (CpuSSE4_1_Or_5): New.
11         (CpuLM): Updated.
12         (i386_cpu_flags): Add cpusse4_1_or_5.
14         * i386-opc.tbl: Use CpuSSE4_1_Or_5 instead of CpuSSE4_1|CpuSSE5
15         on ptest roundpd, roundps, roundsd and roundss.
17 2007-12-23  H.J. Lu  <hongjiu.lu@intel.com>
19         * i386-gen.c (opcode_modifiers): Add OldGcc, ATTMnemonic and
20         IntelMnemonic.
22         * i386-opc.h (OldGcc): New.
23         (ATTMnemonic): Likewise.
24         (IntelMnemonic): Likewise.
25         (Opcode_Modifier_Max): Updated.
26         (i386_opcode_modifier): Add oldgcc, attmnemonic and
27         intelmnemonic.
29         * i386-opc.tbl: Update fadd, fdiv, fdivp, fdivr, fdivrp, fmul,
30         fsub, fsubp, fsubr and fsubrp with OldGcc, ATTMnemonic and
31         IntelMnemonic.
32         * i386-tbl.h: Regeneratd.
34 2007-12-22  H.J. Lu  <hongjiu.lu@intel.com>
36         * i386-dis.c (intel_mnemonic): New.
37         (print_i386_disassembler_options): Display att-mnemonic and
38         intel-mnemonic options.
39         (print_insn): Handle att-mnemonic and intel-mnemonic.
40         (float_reg): Replace SYSV386_COMPAT with "!M" and "M".
41         (putop): Handle "!M" and "M".
43 2007-12-21  H.J. Lu  <hongjiu.lu@intel.com>
45         * Makefile.am (i386-gen.o): Also depend on
46         $(srcdir)/../include/opcode/i386.h.
47         * Makefile.in: Regenerated.
49 2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
51         * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F
52         entries.
53         * mips-opc.c (IL2E): New.
54         (IL2F): New.
55         (mips_builtin_opcodes): Add Loongson-2E and -2F instructions.
56         Allow movz and movn for Loongson-2E and -2F.  Add movnz entry.
57         Move coprocessor encodings to the end of the table.  Allow
58         certain MIPS V .ps instructions on the Loongson-2E and -2F.
60 2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
62         * mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New.
63         (mips_builtin_opcodes): Use these new I* values.
65 2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>
67         * s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
68         "tgxt"): Removed.
69         ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
71 2007-11-14  H.J. Lu  <hongjiu.lu@intel.com>
73         * ia64-ic.tbl: Updated for Itanium 9100 series.
74         * ia64-raw.tbl: Likewise.
75         * ia64-waw.tbl: Likewise.
76         * ia64-asmtab.c: Regenerated.
78 2007-11-14  Tristan Gingold  <gingold@adacore.com>
80         * ia64-dis.c (print_insn_ia64): Handle ar.ruc.
81         * ia64-gen.c (lookup_regindex): Likewise.
83 2007-11-07  Jens Arnold  <jens@jens-arnold.net>
85         PR gas/5228
86         * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with
87         parallel loads.
89 2007-11-07  Tristan Gingold  <gingold@adacore.com>
91         * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
92         registers instead of register number.
94 2007-11-07  David O'Brien  <obrien@FreeBSD.org>
96         * arm-dis.c (arm_opcodes): Remove superflous escapes of percent
97         operators.
99 2007-11-06  Peter Bergner  <bergner@vnet.ibm.com>
101         * ppc-opc.c (powerpc_opcodes): Remove the dcffix and dcffix. opcodes
102         which are not included in the "Preliminary Decimal Floating-Point
103         Architecture" document.
105 2007-11-01  H.J. Lu  <hongjiu.lu@intel.com>
107         * i386-gen.c (opcode_modifiers): Replace No_xSuf with
108         No_ldSuf.
109         * i386-opc.tbl: Likewise.
111         * i386-opc.h (No_xSuf): Renamed to ...
112         (No_ldSuf): This.
113         (FWait): Updated.
115 2007-11-01  H.J. Lu  <hongjiu.lu@intel.com>
117         * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
118         ToQword and AddrPrefixOp0.
120         * i386-opc.h (ByteOkIntel): New.
121         (ToDword): Likewise.
122         (ToQword): Likewise.
123         (AddrPrefixOp0): Likewise.
124         (IsPrefix): Updated.
125         (i386_opcode_modifier): Add byteokintel, todword, toqword
126         and addrprefixop0.
128         * i386-opc.tbl (cvtss2si): Add ToQword.
129         (cvttss2si): Likewise.
130         (cvtsd2si): Add ToDword.
131         (cvttsd2si): Likewise.
132         (monitor): Add AddrPrefixOp0.
133         (invlpga): Likewise.
134         (vmload): Likewise.
135         (vmrun): Likewise.
136         (vmsave): Likewise.
137         (pextrb): Add ByteOkIntel.
138         (pinsrb): Likewise.
139         * i386-tbl.h: Regenerated.
141 2007-10-31  H.J. Lu  <hongjiu.lu@intel.com>
143         * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
144         (USE_REG_TABLE): Likewise.
145         (USE_MOD_TABLE): Likewise.
146         (USE_RM_TABLE): Likewise.
147         (USE_PREFIX_TABLE): Likewise.
148         (USE_X86_64_TABLE): Likewise.
149         (USE_3BYTE_TABLE): Likewise.
151 2007-10-26  H.J. Lu  <hongjiu.lu@intel.com>
153         * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
154         (MOD_0F51): Likewise.
155         (MOD_0FD7): Likewise.
156         (MOD_0FE7_PREFIX_2): Likewise.
157         (MOD_0F382A_PREFIX_2): Likewise.
158         (MOD_0F71_REG_2): Updated.
159         (MOD_0FF0_PREFIX_3): Likewise.
160         (MOD_62_32BIT): Likewise.
161         (dis386_twobyte): Use MOD_0F51 and  MOD_0FD7.
162         (prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
163         MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
164         (mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
165         MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.
167 2007-10-26  Nick Clifton  <nickc@redhat.com>
169         * arm-dis.c (print_insn): Check for a symtab that exists but is
170         empty.
172 2007-10-24  Alan Modra  <amodra@bigpond.net.au>
174         * po/POTFILES.in: Regenerate.
176 2007-10-23  H.J. Lu  <hongjiu.lu@intel.com>
178         * i386-dis.c (OP_SIMD_Suffix): Renamed to ...
179         (CMP_Fixup): This.  Rewrite.
180         (OPSIMD): Renamed to ...
181         (CMP): This. Updated.
182         (prefix_table): Update PREFIX_0FC2 entry.
184 2007-10-22  H.J. Lu  <hongjiu.lu@intel.com>
186         * i386-dis.c (prefix_table): Reordered by opcode.
187         (mod_table): Likewise.
189 2007-10-19  H.J. Lu  <hongjiu.lu@intel.com>
191         * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
193 2007-10-17  Nathan Sidwell  <nathan@codesourcery.com>
195         * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
196         coldfire.
198 2007-10-15  Peter Bergner  <bergner@vnet.ibm.com>
200         * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
201         dquaiq. to use the TE and FRT macros.
203 2007-10-15  Peter Bergner  <bergner@vnet.ibm.com>
205         * ppc-opc.c (TE): Correct signedness.
206         (powerpc_opcodes): Sort psq_st and psq_stu according to major
207         opcode number.
209 2007-10-15  H.J. Lu  <hongjiu.lu@intel.com>
211         * i386-dis.c (dis386_twobyte): Reformat.
212         (prefix_table):  Likewise.
213         (three_byte_table): Likewise.
215 2007-10-15  Alan Modra  <amodra@bigpond.net.au>
217         * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
218         macro expansion.
220 2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>
222         * i386-gen.c (opcode_modifiers): Add FirstXmm0.
224         * i386-opc.h (FirstXmm0): New.
225         (IsPrefix): Updated.
226         (i386_opcode_modifier): Add firstxmm0.
228         * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
229         (blendvps): Likewise.
230         (pblendvb): Likewise.
231         * i386-tbl.h: Regenerated.
233 2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>
235         * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
237 2007-10-10  H.J. Lu  <hongjiu.lu@intel.com>
239         * i386-dis.c (v_mode): Defined as previous one + 1.
240         (w_mode): Likewise.
241         (d_mode): Likewise.
242         (q_mode): Likewise.
243         (t_mode): Likewise.
244         (x_mode): Likewise.
245         (m_mode): Likewise.
246         (cond_jump_mode): Likewise.
247         (loop_jcxz_mode): Likewise.
248         (dq_mode): Likewise.
249         (dqw_mode): Likewise.
250         (f_mode): Likewise.
251         (const_1_mode): Likewise.
252         (stack_v_mode): Likewise.
253         (z_mode): Likewise.
254         (o_mode): Likewise.
255         (dqb_mode): Likewise.
256         (dqd_mode): Likewise.
257         (es_reg): Likewise.
258         (cs_reg): Likewise.
259         (ss_reg): Likewise.
260         (ds_reg): Likewise.
261         (fs_reg): Likewise.
262         (gs_reg): Likewise.
263         (eAX_reg): Likewise.
264         (eCX_reg): Likewise.
265         (eDX_reg): Likewise.
266         (eBX_reg): Likewise.
267         (eSP_reg): Likewise.
268         (eBP_reg): Likewise.
269         (eSI_reg): Likewise.
270         (eDI_reg): Likewise.
271         (al_reg): Likewise.
272         (cl_reg): Likewise.
273         (dl_reg): Likewise.
274         (bl_reg): Likewise.
275         (ah_reg): Likewise.
276         (ch_reg): Likewise.
277         (dh_reg): Likewise.
278         (bh_reg): Likewise.
279         (ax_reg): Likewise.
280         (cx_reg): Likewise.
281         (dx_reg): Likewise.
282         (bx_reg): Likewise.
283         (sp_reg): Likewise.
284         (bp_reg): Likewise.
285         (si_reg): Likewise.
286         (di_reg): Likewise.
287         (rAX_reg): Likewise.
288         (rCX_reg): Likewise.
289         (rDX_reg): Likewise.
290         (rBX_reg): Likewise.
291         (rSP_reg): Likewise.
292         (rBP_reg): Likewise.
293         (rSI_reg): Likewise.
294         (rDI_reg): Likewise.
295         (z_mode_ax_reg): Likewise.
296         (indir_dx_reg): Likewise.
297         (DREX_OC1): Updated.
298         (DREX_NO_OC0): Likewise.
299         (DREX_MASK): Likewise.
300         (MAX_BYTEMODE): New.  Issue an error if MAX_BYTEMODE is not
301         less than DREX_OC1.
303 2007-10-08  H.J. Lu  <hongjiu.lu@intel.com>
305         * i386-dis.c: Updated comments for 'Y'.
306         (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
308 2007-10-08  Maciej W. Rozycki  <macro@linux-mips.org>
310         * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
311         (mips_cp0_names_r4000): Likewise.
312         (mips_arch_choices): Link to the above as appropriate.
314 2007-10-08  Nick Clifton  <nickc@redhat.com>
316         * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
317         to be ../bfd/libbfd.la.
318         * configure: Regenerate.
320 2007-10-05  H.J. Lu  <hongjiu.lu@intel.com>
322         * i386-dis.c (dis386_twobyte): Add getsec.
324         * i386-gen.c (cpu_flags): Add CpuSMX.
326         * i386-opc.h (CpuSMX): New.
327         (CpuSSSE3): Updated.
328         (i386_cpu_flags): Add cpusmx.
330         * i386-opc.tbl: Add getsec.
331         * i386-init.h: Regenerated.
332         * i386-tbl.h: Likewise.
334 2007-10-05  H.J. Lu  <hongjiu.lu@intel.com>
336         * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
337         (prefix_table): Likewise.
339 2007-10-04  H.J. Lu  <hongjiu.lu@intel.com>
341         * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
342         unpckhpX and unpckhpX.
344 2007-10-04  David Daney  <ddaney@avtrex.com>
346         * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
347         registers.
349 2007-10-04  H.J. Lu  <hongjiu.lu@intel.com>
351         * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
352         instead of "movlpX" and "movhlpX", respectively.
353         (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
354         "movhpX" and "movlhpX", respectively.
356 2007-10-04  Nick Clifton  <nickc@redhat.com>
358         * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
359         (WIN32LIBADD): Rename to SHARED_LIBADD
360         (SHARED_DEPENDENCIES): New exported variable.
361         (enable_shared): Add dependency upon libbfd.la for non-cygwin
362         based shared library builds.
363         * Makefile.am (libopcodes_la_DEPENDENCIES): Append
364         SHARED_DEPENDENCIES.
365         (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
366         (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
367         * configure: Regenerate.
368         * Makefile.in: Regenerate.
370         PR gas/5100
371         * arc-opc.c (insert_offset): Fix spelling mistake in error
372         message.
374 2007-10-03  H.J. Lu  <hongjiu.lu@intel.com>
376         * i386-dis.c (OP_REG): Set add to 0 only when needed.
377         (OP_C): Likewise.
378         (OP_D): Likewise.
379         (OP_MMX): Likewise.
380         (OP_XMM): Likewise.
381         (OP_EM): Likewise.
382         (OP_MXC): Likewise.
383         (OP_EX): Likewise.
385 2007-10-03  H.J. Lu  <hongjiu.lu@intel.com>
387         * i386-opc.tbl: Update SSE comments.
389 2007-10-01  H.J. Lu  <hongjiu.lu@intel.com>
391         * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
392         (THREE_BYTE_0F7B): This.
393         (dis386_twobyte): Updated.
394         (three_byte_table): Updated comments.
396 2007-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
398         * cr16-opc.c: Updated the branch on condition instructions with
399         RELAXABLE flag.
401 2007-09-30  H.J. Lu  <hongjiu.lu@intel.com>
403         * 386-dis.c (prefix_table): Reformat comment.
405 2007-09-29  H.J. Lu  <hongjiu.lu@intel.com>
407         * 386-dis.c (USE_GROUPS): Renamed to ...
408         (USE_REG_TABLE): This.
409         (USE_OPC_EXT_TABLE): Renamed to ...
410         (USE_MOD_TABLE): This.
411         (USE_OPC_EXT_RM_TABLE): Renamed to ...
412         (USE_RM_TABLE): This.
413         (USE_XXX_TABLE): Reordered.
414         (GRP): Renamed to ...
415         (REG_TABLE): This.
416         (OPC_EXT_TABLE): Renamed to ...
417         (MOD_TABLE): This.
418         (OPC_EXT_RM_TABLE): Renamed to ...
419         (RM_TABLE): This.
420         (GRP_XXX): Renamed to ...
421         (REG_XXX): This.
422         (PREGRP_XXX): Renamed to ...
423         (PREFIX_XXX): This.
424         (OPC_EXT_XXX): Renamed to ...
425         (MOD_XXX): This.
426         (OPC_EXT_RM_XXX): Renamed to ...
427         (RM_XXX): This.
428         (grps): Renamed to ...
429         (reg_table): This
430         (prefix_user_table): Renamed to ...
431         (prefix_table): This
432         (opc_ext_table): Renamed to ...
433         (mod_table): This
434         (opc_ext_rm_table): Renamed to ...
435         (rm_table): This
436         (OPC_EXT_RM_XXX): Likewise.
437         (dis386): Updated.
438         (dis386_twobyte): Likewise.
439         (reg_table): Likewise.
440         (prefix_table): Likewise.
441         (x86_64_table): Likewise.
442         (three_byte_table): Likewise.
443         (mod_table): Likewise.
444         (rm_table): Likewise.
445         (get_valid_dis386): Likewise.
447 2007-09-28  H.J. Lu  <hongjiu.lu@intel.com>
449         * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
450         (USE_PREFIX_TABLE): This.
451         (X86_64_SPECIAL): Renamed to ...
452         (USE_X86_64_TABLE): This.
453         (IS_3BYTE_OPCODE): Renamed to ...
454         (USE_3BYTE_TABLE): This.
455         (GRPXXX): Removed.
456         (PREGRPXXX): Likewise.
457         (X86_64_XXX): Likewise.
458         (THREE_BYTE_XXX): Likewise.
459         (OPC_EXT_XXX): Likewise.
460         (OPC_EXT_RM_XXX): Likewise.
461         (DIS386): New.
462         (GRP): Likewise.
463         (PREGRP): Likewise.
464         (X86_64_TABLE): Likewise.
465         (THREE_BYTE_TABLE): Likewise.
466         (OPC_EXT_TABLE): Likewise.
467         (OPC_EXT_RM_TABLE): Likewise.
468         (GRP_XXX): Likewise.
469         (PREGRP_XXX): Likewise.
470         (X86_64_XXX): Likewise.
471         (THREE_BYTE_XXX): Likewise.
472         (OPC_EXT_XXX): Likewise.
473         (OPC_EXT_RM_XXX): Likewise.
474         (dis386): Updated.
475         (dis386_twobyte): Likewise.
476         (grps): Likewise.
477         (prefix_user_table): Likewise.
478         (x86_64_table): Likewise.
479         (three_byte_table): Likewise.
480         (opc_ext_table): Likewise.
481         (opc_ext_rm_table): Likewise.
482         (get_valid_dis386): Likewise.
484 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
486         * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
487         (x86_64_table): Likewise.
488         (opc_ext_table): Likewise.
490 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
492         PR binutils/5072
493         * i386-dis.c: Update comments on '{', '}' and '|' to support
494         only AT&T and Intel modes.
495         (X86_64_4...X86_64_27): New.
496         (dis386): Updated.  Use X86_64_4...X86_64_21.
497         (dis386_twobyte): Updated.
498         (float_mem): Likewise.
499         (x86_64_table): Add X86_64_4...X86_64_27.
500         (opc_ext_table): Updated.  Use X86_64_22...X86_64_27.
501         (putop): Updated handling of '{', '}' and '|' to support only
502         AT&T and Intel modes.
504 2007-09-27  Kazu Hirata  <kazu@codesourcery.com>
506         * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
508 2007-09-26  James E. Wilson  <wilson@specifix.com>
510         * ia64-gen.c (print_dependency_table): Fix typo in last patch.
512 2007-09-26  Nick Clifton  <nickc@redhat.com>
514         * mt-asm.c (parse_imm16): Reword error message in order to allow
515         it to be translated properly.
516         * ia64-gen.c (print_dependency_table): Likewise.
517         * mips-dis.c (print_insn_args): Likewise.
519 2007-09-26  Jan Beulich  <jbeulich@novell.com>
521         * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
522         relative addressing. Update used_prefixes based on whether any
523         base or index register was printed.
525 2007-09-26  Jan Beulich  <jbeulich@novell.com>
527         * i386-opc.h (RegEip): Define.
528         (RegEiz): Adjust.
529         * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
530         * i386-tbl.h: Re-generate.
532 2007-09-25  H.J. Lu  <hongjiu.lu@intel.com>
534         * i386-gen.c (process_i386_opcodes): Process opcode_length.
536         * i386-opc.h (template): Add opcode_length.
537         * 386-opc.tbl: Likewise.
538         * i386-tbl.h: Regenerated.
540 2007-09-21  H.J. Lu  <hongjiu.lu@intel.com>
542         * i386-opc.h: Adjust whitespaces.
544 2007-09-21  Dave Brolley  <brolley@redhat.com>
546         * mep-desc.c: Regenerated.
548 2007-09-20  H.J. Lu  <hongjiu.lu@intel.com>
550         * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
552 2007-09-20  H.J. Lu  <hongjiu.lu@intel.com>
554         PR 658
555         * 386-dis.c (index64): New.
556         (index32): Likewise.
557         (intel_index64): Likewise.
558         (intel_index32): Likewise.
559         (att_index64): Likewise.
560         (att_index32): Likewise.
561         (print_insn): Set index64 and index32.
562         (OP_E_extended): Use index64/index32 for index register for
563         SIB with INDEX == 4.
565         * i386-opc.h (RegEiz): New.
566         (RegRiz): Likewise.
568         * i386-reg.tbl: Add eiz and riz.
569         * i386-tbl.h: Regenerated.
571 2007-09-19  H.J. Lu  <hongjiu.lu@intel.com>
573         * i386-dis.c (OP_E_extended): Always display scale for memory.
575 2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
577         * i386-opc.h (RegRip): New.
579         * i386-reg.tbl (rip): Use RegRip for reg_num.
580         * i386-tbl.h: Regenerated.
582 2007-09-17  Nick Clifton  <nickc@redhat.com>
584         * po/es.po: Updated Spanish translation.
586 2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
588         * Makefile.am: Run "make dep-am".
589         * Makefile.in: Regenerate.
591 2007-09-14  Michael Meissner  <michael.meissner@amd.com>
592             Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
593             Tony Linthicum  <tony.linthicum@amd.com>
595         * i386-opc.h (CpuSSE5):  New macro.
596         (i386_cpu_flags): Add Drex, Drexv and Drexc.
598         * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
599         (operand_type_init): Add CpuSSE5.
600         (opcode_modifiers): Add Drex, Drexv and Drexc.
601         (i386_opcode_modifier): Ditto.
603         * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
604         instructions here.
605         (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
606         (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
607         (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
608         (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
609         (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
610         (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
611         (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
612         (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
613         (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
614         (phsubbw,phsubwd,phsubdq): Ditto.
615         (pcmov,pperm,permps,permpd): Ditto.
616         (protb,protw,protd,protq): Ditto.
617         (pshlb,pshlw,pshld,pshlq): Ditto.
618         (pshab,pshaw,pshad,pshaq): Ditto.
619         (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
620         (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
621         (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
622         (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
623         (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
624         (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
625         (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
626         (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
627         (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
628         (comunlepd,comgtpd,comtruepd): Ditto.
629         (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
630         (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
631         (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
632         (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
633         (comunless,comgtss,comtruess): Ditto.
634         (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
635         (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
636         (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
637         (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
638         (comunlesd,comgtsd,comtruesd): Ditto.
639         (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
640         (pcomnequb,pcomneub): Ditto.
641         (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
642         (pcomnequw,pcomneuw): Ditto.
643         (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
644         (pcomnequd,pcomneud): Ditto.
645         (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
646         (pcomnequq,pcomneuq): Ditto.
647         (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
648         (pcomneqb,pcomneb): Ditto.
649         (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
650         (pcomneqw,pcomnew): Ditto.
651         (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
652         (pcomneqd,pcomned): Ditto.
653         (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
654         (pcomeqq,pcomneqq,pcomneq): Ditto.
655         (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
656         (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
657         (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
658         (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
659         (frczps,frczpd,frczss,frczsd): Ditto.
660         (cvtph2ps,cvtps2ph): Ditto.
662         * i386-tbl.h: Regenerate from i386-opc.tbl.
663         * i386-init.h: Likewise.
665         * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
666         (dis386_move_test): New disassembly support for move from test
667         register instruction that overlaps with SSE5 instructions.
668         (print_insn): Add support for special casing the i386/i486 move
669         from test register instruction that overlaps with the SSE5
670         0x0f24 4 operand instructions.
671         (OP_DREX_ICMP): New macros for SSE5 DREX handling.
672         (OP_DREX_FCMP): Ditto.
673         (OP_E_extended): Rename from OP_E, add additional argument to skip
674         the DREX byte.
675         (OP_E): Call OP_E_extended.
676         (DREX_REG_MEMORY): New macros for drex handling.
677         (DREX_REG_UNKNOWN): Ditto.
678         (DREX4_OC1): Ditto.
679         (DREX4_NO_OC0): Ditto.
680         (DREX4_MASK): Ditto.
681         (three_byte_table): Add SSE5 instructions.
682         (print_drex_arg): New function to print a DREX register or memory
683         reference.
684         (OP_DREX4): New function for handling DREX 4 argument ops.
685         (OP_DREX3): New function for handling DREX 3 argument ops.
686         (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
687         (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
688         byte opcode support for SSE5 instructions.
689         (dis386_twobyte): Add SSE5 24/25/7a/7b support.
690         (three_byte_table): Add rows for describing SSE5 instructions.
692 2007-09-13  H.J. Lu  <hongjiu.lu@intel.com>
694         * i386-dis.c (get_valid_dis386): Take a pointer to
695         disassemble_info.  Handle IS_3BYTE_OPCODE.
696         (print_insn): Updated.  Don't handle IS_3BYTE_OPCODE here.
698 2007-09-12  H.J. Lu  <hongjiu.lu@intel.com>
700         * i386-opc.h (CpuUnused): Defined with CpuMax.
701         (OTUnused): Defined with OTMax.
703 2007-09-12  Jan Beulich  <jbeulich@novell.com>
705         * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
706         pblendvb.
707         * i386-tbl.h: Regenerate.
709 2007-09-09  H.J. Lu  <hongjiu.lu@intel.com>
711         * i386-gen.c (main): Remove the local variable, unused.
713 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
715         * Makefile.am: Run "make dep-am".
716         * Makefile.in: Regenerate.
718 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
720         * configure.in (AC_CHECK_HEADERS): Add limits.h.
721         * configure: Regenerated.
722         * config.in: Likewise.
724         * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
725         <string.h>.  Use xstrerror instead of strerror.
726         (initializer): New.
727         (cpu_flag_init): Likewise.
728         (bitfield): Likewise.
729         (BITFIELD): New.
730         (cpu_flags): Likewise.
731         (opcode_modifiers): Likewise.
732         (operand_types): Likewise.
733         (compare): Likewise.
734         (set_cpu_flags): Likewise.
735         (output_cpu_flags): Likewise.
736         (process_i386_cpu_flags): Likewise.
737         (output_opcode_modifier): Likewise.
738         (process_i386_opcode_modifier): Likewise.
739         (output_operand_type): Likewise.
740         (process_i386_operand_type): Likewise.
741         (set_bitfield): Likewise.
742         (operand_type_init): Likewise.
743         (process_i386_initializers): Likewise.
744         (process_i386_opcodes): Call process_i386_opcode_modifier to
745         process opcode_modifier.  Call process_i386_operand_type to
746         process operand_types.
747         (process_i386_registers): Call process_i386_operand_type to
748         process reg_type.
749         (main): Check unused bits in i386_cpu_flags and i386_operand_type.
750         Sort cpu_flags, opcode_modifiers and operand_types.  Call
751         process_i386_initializers.
753         * i386-init.h: New.
754         * i386-tbl.h: Regenerated.
756         * i386-opc.h: Include <limits.h>.
757         (CHAR_BIT): Define as 8 if not defined.
758         (Cpu186): Changed to position of bitfiled.
759         (Cpu286): Likewise.
760         (Cpu386): Likewise.
761         (Cpu486): Likewise.
762         (Cpu586): Likewise.
763         (Cpu686): Likewise.
764         (CpuP4): Likewise.
765         (CpuK6): Likewise.
766         (CpuK8): Likewise.
767         (CpuMMX): Likewise.
768         (CpuMMX2): Likewise.
769         (CpuSSE): Likewise.
770         (CpuSSE2): Likewise.
771         (Cpu3dnow): Likewise.
772         (Cpu3dnowA): Likewise.
773         (CpuSSE3): Likewise.
774         (CpuPadLock): Likewise.
775         (CpuSVME): Likewise.
776         (CpuVMX): Likewise.
777         (CpuSSSE3): Likewise.
778         (CpuSSE4a): Likewise.
779         (CpuABM): Likewise.
780         (CpuSSE4_1): Likewise.
781         (CpuSSE4_2): Likewise.
782         (Cpu64): Likewise.
783         (CpuNo64): Likewise.
784         (D): Likewise.
785         (W): Likewise.
786         (Modrm): Likewise.
787         (ShortForm): Likewise.
788         (Jump): Likewise.
789         (JumpDword): Likewise.
790         (JumpByte): Likewise.
791         (JumpInterSegment): Likewise.
792         (FloatMF): Likewise.
793         (FloatR): Likewise.
794         (FloatD): Likewise.
795         (Size16): Likewise.
796         (Size32): Likewise.
797         (Size64): Likewise.
798         (IgnoreSize): Likewise.
799         (DefaultSize): Likewise.
800         (No_bSuf): Likewise.
801         (No_wSuf): Likewise.
802         (No_lSuf): Likewise.
803         (No_sSuf): Likewise.
804         (No_qSuf): Likewise.
805         (No_xSuf): Likewise.
806         (FWait): Likewise.
807         (IsString): Likewise.
808         (RegKludge): Likewise.
809         (IsPrefix): Likewise.
810         (ImmExt): Likewise.
811         (NoRex64): Likewise.
812         (Rex64): Likewise.
813         (Ugh): Likewise.
814         (Reg8): Likewise.
815         (Reg16): Likewise.
816         (Reg32): Likewise.
817         (Reg64): Likewise.
818         (FloatReg): Likewise.
819         (RegMMX): Likewise.
820         (RegXMM): Likewise.
821         (Imm8): Likewise.
822         (Imm8S): Likewise.
823         (Imm16): Likewise.
824         (Imm32): Likewise.
825         (Imm32S): Likewise.
826         (Imm64): Likewise.
827         (Imm1): Likewise.
828         (BaseIndex): Likewise.
829         (Disp8): Likewise.
830         (Disp16): Likewise.
831         (Disp32): Likewise.
832         (Disp32S): Likewise.
833         (Disp64): Likewise.
834         (InOutPortReg): Likewise.
835         (ShiftCount): Likewise.
836         (Control): Likewise.
837         (Debug): Likewise.
838         (Test): Likewise.
839         (SReg2): Likewise.
840         (SReg3): Likewise.
841         (Acc): Likewise.
842         (FloatAcc): Likewise.
843         (JumpAbsolute): Likewise.
844         (EsSeg): Likewise.
845         (RegMem): Likewise.
846         (OTMax): Likewise.
847         (Reg): Commented out.
848         (WordReg): Likewise.
849         (ImplicitRegister): Likewise.
850         (Imm): Likewise.
851         (EncImm): Likewise.
852         (Disp): Likewise.
853         (AnyMem): Likewise.
854         (LLongMem): Likewise.
855         (LongMem): Likewise.
856         (ShortMem): Likewise.
857         (WordMem): Likewise.
858         (ByteMem): Likewise.
859         (CpuMax): New
860         (CpuLM): Likewise.
861         (CpuNumOfUints): Likewise.
862         (CpuNumOfBits): Likewise.
863         (CpuUnused): Likewise.
864         (OTNumOfUints): Likewise.
865         (OTNumOfBits): Likewise.
866         (OTUnused): Likewise.
867         (i386_cpu_flags): New type.
868         (i386_operand_type): Likewise.
869         (i386_opcode_modifier): Likewise.
870         (CpuSledgehammer): Removed.
871         (CpuSSE4): Likewise.
872         (CpuUnknownFlags): Likewise.
873         (Reg): Likewise.
874         (WordReg): Likewise.
875         (ImplicitRegister): Likewise.
876         (Imm): Likewise.
877         (EncImm): Likewise.
878         (Disp): Likewise.
879         (AnyMem): Likewise.
880         (LLongMem): Likewise.
881         (LongMem): Likewise.
882         (ShortMem): Likewise.
883         (WordMem): Likewise.
884         (ByteMem): Likewise.
885         (template): Use i386_cpu_flags for cpu_flags, use
886         i386_opcode_modifier for opcode_modifier, use
887         i386_operand_type for operand_types.
888         (reg_entry): Use i386_operand_type for reg_type.
890         * Makefile.am (HFILES): Add i386-init.h.
891         ($(srcdir)/i386-init.h): New rule.
892         ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
893         instead.
894         * Makefile.in: Regenerated.
896 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
898         * i386-gen.c (next_field): Updated to take a separator.
899         (process_i386_opcodes): Updated.
900         (process_i386_registers): Likewise.
902 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
904         * i386-gen.c (table): Moved ...
905         (main): Here.  Call process_copyright to output copyright.
906         (process_copyright): New.
907         (process_i386_opcodes): Take FILE *table.
908         (process_i386_registers): Likewise.
910 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
912         * i386-gen.c (table): New.
913         (process_i386_opcodes): Report errno when faied to open
914         i386-opc.tbl.  Output opcodes to table.  Close i386-opc.tbl
915         before return.
916         (process_i386_registers): Report errno when faied to open
917         i386-reg.tbl.  Output opcodes to table.  Close i386-reg.tbl
918         before return.
919         (main): Open i386-tbl.h for output.
921         * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
922         * Makefile.in: Regenerated.
924 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
926         * i386-opc.tbl: Correct SVME instructions to allow 32bit register
927         operand in 64bit mode.
928         * i386-tbl.h: Regenerated.
930 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
932         * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
933         (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
934         (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
936 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
938         * i386-dis.c (SVME_Fixup): Removed.
939         (OPC_EXT_39): New.
940         (OPC_EXT_RM_6): Likewise.
941         (grps): Use OPC_EXT_39.
942         (opc_ext_table): Add OPC_EXT_39.
943         (opc_ext_rm_table): Add OPC_EXT_RM_6.
945         * i386-opc.tbl: Correct SVME instructions to take register
946         operand only.
947         * i386-tbl.h: Regenerated.
949 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
951         * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
952         * Makefile.in: Regenerated.
954         * configure.in (AC_GNU_SOURCE): Added.
955         (AC_PROG_CC): Moved before AC_GNU_SOURCE.
956         (AC_CHECK_DECLS): Add stpcpy.
957         * configure: Regenerated.
958         * config.in: Likewise.
960         * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
962         * sysdep.h (stpcpy): New.
964 2007-08-30  H.J. Lu  <hongjiu.lu@intel.com>
966         * i386-dis.c (INVLPG_Fixup): Removed.
967         (OPC_EXT_38): New.
968         (OPC_EXT_RM_5): Likewise.
969         (grps): Use OPC_EXT_38.
970         (opc_ext_table): Add OPC_EXT_38.
971         (opc_ext_rm_table): Add OPC_EXT_RM_5.
973 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
975         * i386-dis.c (SIMD_Fixup): Removed.
976         (OPC_EXT_34...OPC_EXT_37): New.
977         (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
978         (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
979         (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
981 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
983         * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
984         (dis386): Use OPC_EXT_0...OPC_EXT_2.
985         (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
986         (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
987         (prefix_user_table): Use OPC_EXT_32.
988         (x86_64_table): Use OPC_EXT_33.
989         (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
991 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
993         * i386-dis.c (prefix_user_table): Fix comment.
995 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
997         * i386-dis.c (OP_Skip_MODRM): New.
998         (OP_Monitor): Likewise.
999         (OP_Mwait): Likewise.
1000         (Mb): Likewise.
1001         (Skip_MODRM): Likewise.
1002         (USE_OPC_EXT_TABLE): Likewise.
1003         (USE_OPC_EXT_RM_TABLE): Likewise.
1004         (PREGRP98...PREGRP100): Likewise.
1005         (OPC_EXT_0...OPC_EXT_24): Likewise.
1006         (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
1007         (lock_prefix): Likewise.
1008         (data_prefix): Likewise.
1009         (addr_prefix): Likewise.
1010         (repz_prefix): Likewise.
1011         (repnz_prefix): Likewise.
1012         (opc_ext_table): Likewise.
1013         (opc_ext_rm_table): Likewise.
1014         (get_valid_dis386): Likewise.
1015         (OP_VMX): Removed.
1016         (OP_0fae): Likewise.
1017         (PNI_Fixup): Likewise.
1018         (VMX_Fixup): Likewise.
1019         (VM): Likewise.
1020         (twobyte_uses_DATA_prefix): Likewise.
1021         (twobyte_uses_REPNZ_prefix): Likewise.
1022         (twobyte_uses_REPZ_prefix): Likewise.
1023         (threebyte_0x38_uses_DATA_prefix): Likewise.
1024         (threebyte_0x38_uses_REPNZ_prefix): Likewise.
1025         (threebyte_0x38_uses_REPZ_prefix): Likewise.
1026         (threebyte_0x3a_uses_DATA_prefix): Likewise.
1027         (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
1028         (threebyte_0x3a_uses_REPZ_prefix): Likewise.
1029         (grps): Use OPC_EXT_0...OPC_EXT_24.
1030         (prefix_user_table): Add PREGRP98...PREGRP100.
1031         (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
1032         uses_REPNZ_prefix and uses_REPZ_prefix.  Initialize
1033         repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
1034         data_prefix based on prefixes.  Call get_valid_dis386 to
1035         get a pointer to the valid dis386.  Print out prefixes if
1036         they aren't NULL.
1037         (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
1038         (REP_Fixup): Set repz_prefix to "rep " when seeing
1039         PREFIX_REPZ.
1041 2007-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
1043         * po/nl.po: Updated translation.
1045 2007-08-28  H.J. Lu  <hongjiu.lu@intel.com>
1047         * i386-dis.c (Md): New.
1048         (grps): Use 0 on invlpg.  Use M on fxsave and fxrstor.  Use
1049         Md on ldmxcsr and stmxcsr.  Use b_mode on clflush.
1050         (OP_0fae): Clear bytemode for sfence.
1052 2007-08-22  Ben Elliston  <bje@au.ibm.com>
1054         * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
1055         (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
1056         (PPCPS): Likewise.
1057         (powerpc_opcodes): Add all pair singles instructions.
1058         * ppc-dis.c (powerpc_dialect): Handle "ppcps".
1059         (print_ppc_disassembler_options): Document -Mppcps.
1061 2007-08-21  Andreas Krebbel  <krebbel1@de.ibm.com>
1063         * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
1064         (s390_cond_ext_format): New global variable.
1065         (expandConditionalJump): New function.
1066         (main): Invoke expandConditionalJump for mnemonics containing '*'.      
1067         * s390-opc.txt: Replace mnemonics with conditional
1068         mask extensions with instructions using the newly introduced '*' tag.
1070 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
1072         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
1074 2007-08-10  Nick Clifton  <nickc@redhat.com>
1076         * po/fi.po: Updated Finnish translation.
1077         * po/ga.po: Updated Irish translation.
1078         * po/vi.po: Updated Vietnamese translation.
1080 2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1082         * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
1083         pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
1084         * i386-tbl.h: Regenerated.
1086 2007-08-03  James E. Wilson  <wilson@specifix.com>
1088         * ia64-gen.c: (main): Add missing newline to copyright message.
1089         * ia64-ic.tbl (fp-non-arith): Add xmpy.
1090         * ia64-asmtab.c: Regenerate.
1091         
1092 2007-08-01  Michael Snyder  <msnyder@access-company.com>
1094         * i386-dis.c (print_insn): Guard against NULL.
1096 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1098         PR binutils/4834
1099         * i386-dis.c (EXw): New.
1100         (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1101         instructions when appropriated.
1103 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
1105         PR binutils/4834
1106         * i386-dis.c (Eq): New.
1107         (EMC): Renamed to ...
1108         (EMCq): This.  Use q_mode instead of v_mode.
1109         (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
1110         when appropriated.
1112 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
1114         * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1115         (prefix_user_table): Likewise.  Use EXq instead of EXx on
1116         "movq".
1118 2007-07-27  Nathan Sidwell  <nathan@codesourcery.com>
1120         * ppc-opc (PPC7450): New.
1121         (powerpc_opcodes): Use it in dcba.
1123 2007-07-24  H.J. Lu  <hongjiu.lu@intel.com>
1125         * i386-gen.c (main): Print a newline after copyright notice.
1127 2007-07-19  Nick Clifton  <nickc@redhat.com>
1129         PR binutils/4801
1130         * maxq-dis.c (get_reg_name): Fix the scan of the
1131         mem_access_syntax_table.
1133 2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>
1135         * i386-dis.c (EMq): Removed.
1136         (EMx): New.
1137         (prefix_user_table): Replace EMq with EMx.
1139 2007-07-16  Nick Clifton  <nickc@redhat.com>
1141         * po/nl.po: Updated translation.
1143 2007-07-12  Nick Clifton  <nickc@redhat.com>
1145         * po/vi.po: Updated translation.
1146         * po/nl.po: Updated translation.
1148 2007-07-06  Mark Kettenis  <kettenis@gnu.org>
1149             H.J. Lu  <hongjiu.lu@intel.com>
1151         * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1152         (ia64-asmtab.c): Likewise.
1153         * Makefile.in: Regenerate.
1155 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1157         * aclocal.m4: Regenerated.
1159 2007-07-04  Nick Clifton  <nickc@redhat.com>
1161         * alpha-dis.c: Update copyright notice to refer to GPLv3.
1162         * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
1163         arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
1164         cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
1165         cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
1166         cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
1167         d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
1168         dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
1169         h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
1170         i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
1171         ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
1172         ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
1173         ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
1174         m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
1175         m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
1176         mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
1177         mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
1178         or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
1179         ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
1180         score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
1181         sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
1182         spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
1183         tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
1184         vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
1185         z8k-dis.c, z8kgen.c: Likewise.
1186         * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
1187         * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
1188         fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
1189         frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
1190         frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
1191         ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
1192         iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
1193         iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
1194         m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
1195         m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1196         m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
1197         mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
1198         mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
1199         mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
1200         openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
1201         openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
1202         xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
1203         xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
1204         xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
1205         xstormy16-opc.h, z8k-opc.h: Regenerated
1207 2007-07-04  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
1209         * cr16-dis.c (getcinvstring): Add const qualifier to char *
1210         parameter.
1211         (print_insn_cr16): Remove cast to char *.
1213 2007-07-03  Nathan Sidwell  <nathan@codesourcery.com>
1215         * m68k-dis.c (fetch_arg): Add E.  Replace length switch with
1216         direct masking.
1217         (print_ins_arg): Add j & K operand types.
1218         (match_insn_m68k): Check and skip initial '.' arg character.
1219         (m68k_scan_mask): Likewise.
1220         * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
1222 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
1224         * Makefile.am: Run "make dep-am".
1225         * Makefile.in: Regenerate.
1226         * aclocal.m4: Regenerate.
1227         * config.in: Regenerate.
1228         * po/POTFILES.in: Regenerate.
1229         * po/opcodes.pot: Regenerate.
1231 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1233         * aclocal.m4: Regenerated.
1234         * Makefile.in: Likewise.
1236 2007-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1238         * i386-reg.tbl: Remove spaces before comments.
1240 2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
1242         * cr16-opc.c: New file.
1243         * cr16-dis.c: New file.
1244         * Makefile.am: Entries for cr16.
1245         * Makefile.in: Regenerate.
1246         * cofigure.in: Add cr16 target information.
1247         * configure  : Regenerate.
1248         * disassemble.c: Add cr16 target information.
1250 2007-06-28  H.J. Lu  <hongjiu.lu@intel.com>
1252         * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
1253         (CFILES): Add i386-gen.c.
1254         (i386-gen): New rule.
1255         (i386-gen.o): Likewise.
1256         (i386-tbl.h): Likewise.
1257         Run "make dep-am".
1258         * Makefile.in: Regenerated.
1260         * i386-gen.c: New file.
1261         * i386-opc.tbl: Likewise.
1262         * i386-reg.tbl: Likewise.
1263         * i386-tbl.h: Likewise.
1265         * i386-opc.c: Include "i386-tbl.h".
1266         (i386_optab): Removed.
1267         (i386_regtab): Likewise.
1268         (i386_regtab_size): Likewise.
1270 2007-06-26  Paul Brook  <paul@codesourcery.com>
1272         * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1274 2007-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1276         * i386-opc.h (regKludge): Renamed to ...
1277         (RegKludge): This.
1279         * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1281 2007-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1283         PR binutils/4667
1284         * i386-dis.c (EX): Removed.
1285         (EMd): New.
1286         (EMq): Likewise.
1287         (EXd): Likewise.
1288         (EXq): Likewise.
1289         (EXx): Likewise.
1290         (PREGRP93...PREGRP97): Likewise.
1291         (dis386_twobyte): Updated.
1292         (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1293         (OP_EX): Remove Intel syntax handling.
1295 2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
1297         * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1299 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1301         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1303         * acinclude.m4: Removed.
1305         * Makefile.in: Regenerated.
1306         * doc/Makefile.in: Likewise.
1307         * aclocal.m4: Likewise.
1308         * configure: Likewise.
1310 2007-06-05  Paul Brook  <paul@codesourcery.com>
1312         * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1314 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
1316         * Makefile.in: Regnerate.
1317         * configure: Regenerate.
1318         * aclocal.m4: Regenerate.
1320 2007-05-18  Alan Modra  <amodra@bigpond.net.au>
1322         * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1323         after setting skip_optional.
1325 2007-05-16  Peter Bergner  <bergner@vnet.ibm.com>
1327         * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1328         (print_insn_powerpc): Use the new operand_value_powerpc and
1329         skip_optional_operands functions to omit or print all optional
1330         operands as a group.
1331         * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1332         (XFL_MASK): Delete L and W bits from the mask.
1333         (mtfsfi, mtfsfi.): Replace use of BF with BFF.  Relpace use of XRA_MASK
1334         with XWRA_MASK.  Use W.
1335         (mtfsf, mtfsf.): Use XFL_L and W.
1337 2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1339         PR binutils/4502
1340         * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1342 2007-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1344         * i386-opc.h (ShortForm): Redefined.
1345         (Jump): Likewise.
1346         (JumpDword): Likewise.
1347         (JumpByte): Likewise.
1348         (JumpInterSegment): Likewise.
1349         (FloatMF): Likewise.
1350         (FloatR): Likewise.
1351         (FloatD): Likewise.
1352         (Size16): Likewise.
1353         (Size32): Likewise.
1354         (Size64): Likewise.
1355         (IgnoreSize): Likewise.
1356         (DefaultSize): Likewise.
1357         (No_bSuf): Likewise.
1358         (No_wSuf): Likewise.
1359         (No_lSuf): Likewise.
1360         (No_sSuf): Likewise.
1361         (No_qSuf): Likewise.
1362         (No_xSuf): Likewise.
1363         (FWait): Likewise.
1364         (IsString): Likewise.
1365         (regKludge): Likewise.
1366         (IsPrefix): Likewise.
1367         (ImmExt): Likewise.
1368         (NoRex64): Likewise.
1369         (Rex64): Likewise.
1370         (Ugh): Likewise.
1372 2007-05-07  H.J. Lu  <hongjiu.lu@intel.com>
1374         * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1375         for some SSE4 instructions.
1376         (threebyte_0x3a_uses_DATA_prefix): Likewise.
1378 2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
1380         * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1382         * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1383         type for crc32.
1385 2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
1387         * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1388         check data size prefix in 16bit mode.
1390         * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1391         support Intel mode.
1393 2007-04-30  Mark Salter  <msalter@redhat.com>
1395         * frv-desc.c: Regenerate.
1396         * frv-desc.h: Regenerate.
1398 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
1400         PR 4436
1401         * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1403 2007-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1405         * i386-dis.c (modrm): Put reg before rm.
1407 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
1409         PR binutils/4430
1410         * i386-dis.c (print_displacement): New.
1411         (OP_E): Call print_displacement instead of print_operand_value
1412         to output displacement when either base or index exist.  Print
1413         the explicit zero displacement in 16bit mode.
1415 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
1417         PR binutils/4429
1418         * i386-dis.c (print_insn): Also swap the order of op_riprel
1419         when swapping op_index.  Break when the RIP relative address
1420         is printed.
1421         (OP_E): Properly handle RIP relative addressing and print the
1422         explicit zero displacement for Intel mode.
1424 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
1426         * Makefile.am: Run "make dep-am".
1427         * Makefile.in: Regenerate.
1428         * ns32k-dis.c: Include sysdep.h first.
1430 2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>
1432         * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1433         opcode.
1434         * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1436 2007-04-24  Nick Clifton  <nickc@redhat.com>
1438         * arm-dis.c (print_insn): Initialise type.
1440 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
1442         * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1443         * Makefile.am: Run "make dep-am".
1444         * Makefile.in: Regenerate.
1446 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
1448         * m68k-opc.c: Mark mcfisa_c instructions.
1450 2007-04-21  Richard Earnshaw  <rearnsha@arm.com>
1452         * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1453         (thumb_opcodes): Add missing white space in adr.
1454         (arm_decode_shift): New parameter, print_shift.  Only decode the
1455         shift parameter if set.  Adjust callers.
1456         (print_insn_arm): Support for operand type q with no shift decode.
1458 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
1460         * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1461         Move contents to..
1462         (i386_regtab): ..here.
1463         * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1465         * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1466         (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1467         (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1468         (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1470 2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
1472         * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1473         rambar1.
1475 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
1477         * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1478         change.
1479         * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1480         in all entries.  Add PPC_OPERAND_SIGNED to DE entry.  Remove
1481         references to following deleted functions.
1482         (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1483         (insert_ds, extract_ds, insert_de, extract_de): Delete.
1484         (insert_des, extract_des, insert_li, extract_li): Delete.
1485         (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1486         (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1487         (num_powerpc_operands): New constant.
1488         (XSPRG_MASK): Remove entire SPRG field.
1489         (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1491 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
1493         * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1494         (Z2_MASK): Define.
1495         (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1497 2007-04-20  Richard Earnshaw  <rearnsha@arm.com>
1499         * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1500         being disassembled.
1502 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
1504         * Makefile.am: Run "make dep-am".
1505         * Makefile.in: Regenerate.
1506         * po/POTFILES.in: Regenerate.
1508 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
1510         * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1511         db10cyc, db12cyc, db16cyc.
1513 2007-04-19  Nathan Froyd <froydnj@codesourcery.com>
1515         * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1517 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1519         * i386-dis.c (CRC32_Fixup): New.
1520         (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1521          PREGRP91): New.
1522         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1523         (threebyte_0x3a_uses_DATA_prefix): Likewise.
1524         (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1525         PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1526         (three_byte_table): Likewise.
1528         * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1530         * i386-opc.h (CpuSSE4_2): New.
1531         (CpuSSE4): Likewise.
1532         (CpuUnknownFlags): Add CpuSSE4_2.
1534 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1536         * i386-dis.c (XMM_Fixup): New.
1537         (Edqb): New.
1538         (Edqd): New.
1539         (XMM0): New.
1540         (dqb_mode): New.
1541         (dqd_mode): New.
1542         (PREGRP39 ... PREGRP85): New.
1543         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1544         (threebyte_0x3a_uses_DATA_prefix): Likewise.
1545         (prefix_user_table): Add PREGRP39 ... PREGRP85.
1546         (three_byte_table): Likewise.
1547         (putop): Handle 'K'.
1548         (intel_operand_size): Handle dqb_mode, dqd_mode):
1549         (OP_E): Likewise.
1550         (OP_G): Likewise.
1552         * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1554         * i386-opc.h (CpuSSE4_1): New.
1555         (CpuUnknownFlags): Add CpuSSE4_1.
1556         (regKludge): Update comment.
1558 2007-04-18  Matthias Klose  <doko@ubuntu.com>
1560         * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1561         * Makefile.in: Regenerate.
1563 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
1565         * Makefile.am: Add ACLOCAL_AMFLAGS.
1566         * Makefile.in: Regenerate.
1568 2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1570         * i386-dis.c: Remove trailing white spaces.
1571         * i386-opc.c: Likewise.
1572         * i386-opc.h: Likewise.
1574 2007-04-11  H.J. Lu  <hongjiu.lu@intel.com>
1576         PR binutils/4333
1577         * i386-dis.c (GRP1a): New.
1578         (GRP1b ... GRPPADLCK2): Update index.
1579         (dis386): Use GRP1a for entry 0x8f.
1580         (mod, rm, reg): Removed. Replaced by ...
1581         (modrm): This.
1582         (grps): Add GRP1a.
1584 2007-04-09  Kazu Hirata  <kazu@codesourcery.com>
1586         * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1587         info->print_address_func if longjmp is called.
1589 2007-03-29  DJ Delorie  <dj@redhat.com>
1591         * m32c-desc.c: Regenerate.
1592         * m32c-dis.c: Regenerate.
1593         * m32c-opc.c: Regenerate.
1595 2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
1597         * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1598         movq.  Remove InvMem from sldt, smsw and str.
1600         * i386-opc.h (InvMem): Renamed to ...
1601         (RegMem): Update comments.
1602         (AnyMem): Remove InvMem.
1604 2007-03-27  Paul Brook  <paul@codesourcery.com>
1606         * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1608 2007-03-24  Paul Brook  <paul@codesourcery.com>
1610         * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1611         (print_insn_coprocessor): Handle %<bitfield>x.
1613 2007-03-24  Paul Brook  <paul@codesourcery.com>
1614             Mark Shinwell  <shinwell@codesourcery.com>
1616         * arm-dis.c (arm_opcodes): Print SRS base register.
1618 2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1620         * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1622         * i386-opc.c (i386_optab): Add rex.wrxb.
1624 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1626         * i386-dis.c (REX_MODE64): Remove definition.
1627         (REX_EXTX): Likewise.
1628         (REX_EXTY): Likewise.
1629         (REX_EXTZ): Likewise.
1630         (USED_REX): Use REX_OPCODE instead of 0x40.
1631         Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1632         REX_R, REX_X and REX_B respectively.
1634 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1636         PR binutils/4218
1637         * i386-dis.c (PREGRP38): New.
1638         (dis386): Use PREGRP38 for 0x90.
1639         (prefix_user_table): Add PREGRP38.
1640         (print_insn): Set uses_REPZ_prefix to 1 for pause.
1641         (NOP_Fixup1): Properly handle REX bits.
1642         (NOP_Fixup2): Likewise.
1644         * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1645         Allow register with nop.
1647 2007-03-20  DJ Delorie  <dj@redhat.com>
1649         * m32c-asm.c: Regenerate.
1650         * m32c-desc.c: Regenerate.
1651         * m32c-desc.h: Regenerate.
1652         * m32c-dis.h: Regenerate.
1653         * m32c-ibld.c: Regenerate.
1654         * m32c-opc.c: Regenerate.
1655         * m32c-opc.h: Regenerate.
1657 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1659         * i386-opc.c: Include "libiberty.h".
1660         (i386_regtab): Remove the last entry.
1661         (i386_regtab_size): New.
1662         (i386_float_regtab_size): Likewise.
1664         * i386-opc.h (i386_regtab_size): New.
1665         (i386_float_regtab_size): Likewise.
1667 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1669         * Makefile.am (CFILES): Add i386-opc.c.
1670         (ALL_MACHINES): Add i386-opc.lo.
1671         Run "make dep-am".
1672         * Makefile.in: Regenerated.
1674         * configure.in: Add i386-opc.lo for bfd_i386_arch.
1675         * configure: Regenerated.
1677         * i386-dis.c: Include "opcode/i386.h".
1678         (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1679         (FWAIT_OPCODE): Remove definition.
1680         (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1681         (MAX_OPERANDS): Remove definition.
1683         * i386-opc.c: New file.
1684         * i386-opc.h: Likewise.
1686 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1688         * Makefile.in: Regenerated.
1690 2007-03-09  H.J. Lu  <hongjiu.lu@intel.com>
1692         * i386-dis.c (OP_Rd): Renamed to ...
1693         (OP_R): This.
1694         (Rd): Updated.
1695         (Rm): Likewise.
1697 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
1699         * fr30-asm.c: Regenerate.
1700         * frv-asm.c: Regenerate.
1701         * ip2k-asm.c: Regenerate.
1702         * iq2000-asm.c: Regenerate.
1703         * m32c-asm.c: Regenerate.
1704         * m32r-asm.c: Regenerate.
1705         * m32r-dis.c: Regenerate.
1706         * mt-asm.c: Regenerate.
1707         * mt-ibld.c: Regenerate.
1708         * mt-opc.c: Regenerate.
1709         * openrisc-asm.c: Regenerate.
1710         * xc16x-asm.c: Regenerate.
1711         * xstormy16-asm.c: Regenerate.
1713         * Makefile.am: Run "make dep-am".
1714         * Makefile.in: Regenerate.
1715         * po/POTFILES.in: Regenerate.
1717 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
1719         * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1720         INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1721         instruction formats added.
1722         (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1723         MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1724         masks added.
1725         * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1726         instructions added.
1727         * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1728         (main): z9-ec cpu type option added.
1729         * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1731 2007-02-22  DJ Delorie  <dj@redhat.com>
1733         * s390-opc.c (INSTR_SS_L2RDRD): New.
1734         (MASK_SS_L2RDRD): New.
1735         * s390-opc.txt (pka): Use it.
1737 2007-02-20  Thiemo Seufer  <ths@mips.com>
1738             Chao-Ying Fu  <fu@mips.com>
1740         * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1741         (print_insn_args): Add support for balign instruction.
1742         * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1743         (mips_builtin_opcodes): Add DSP R2 instructions.
1745 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
1747         * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1748         (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1749         * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1750         cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1752 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
1754         * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1755         * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1756         (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1757         and sfpc.
1759 2007-02-16  Nick Clifton  <nickc@redhat.com>
1761         PR binutils/4045
1762         * avr-dis.c (comment_start): New variable, contains the prefix to
1763         use when printing addresses in comments.
1764         (print_insn_avr): Set comment_start to an empty space if there is
1765         no symbol table available as the generic address printing code
1766         will prefix the numeric value of the address with 0x.
1768 2007-02-13  H.J. Lu  <hongjiu.lu@intel.com>
1770          * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1771          in struct dis386.
1773 2007-02-05  Dave Brolley  <brolley@redhat.com>
1774             Richard Sandiford  <rsandifo@redhat.com>
1775             DJ Delorie  <dj@redhat.com>
1776             Graydon Hoare  <graydon@redhat.com>
1777             Frank Ch. Eigler  <fche@redhat.com>
1778             Ben Elliston  <bje@redhat.com>
1780         * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1781         (CFILES): Add mep-*.c
1782         (ALL_MACHINES): Add mep-*.lo.
1783         (CLEANFILES): Add stamp-mep.
1784         (CGEN_CPUS): Add mep.
1785         (MEP_DEPS): New variable.
1786         (mep-*): New targets.
1787         * configure.in: Handle bfd_mep_arch.
1788         * disassemble.c (ARCH_mep): New macro.
1789         (disassembler): Handle bfd_arch_mep.
1790         (disassemble_init_for_target): Likewise.
1791         * mep-*: New files for Toshiba Media Processor (MeP).
1792         * Makefile.in: Regenerated.
1793         * configure: Regenerated.
1795 2007-02-05  H.J. Lu  <hongjiu.lu@intel.com>
1797         * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1798         wrap around within the same segment in 16bit mode.
1800 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1802         * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1803         prefix.
1805 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1807         * avr-dis.c (avr_operand): Correct PR number in comment.
1809 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1811         * disassemble.c (disassembler_usage): Call
1812         print_i386_disassembler_options for i386 disassembler.
1814         * i386-dis.c (print_i386_disassembler_options): New.
1815         (print_insn): Support the new addr64 option.
1817 2007-02-02  Hiroki Kaminaga  <kaminaga@sm.sony.co.jp>
1819         * ppc-dis.c (powerpc_dialect): Handle ppc440.
1820         * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1821         be used.
1823 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
1825         * ppc-opc.c (insert_bdm): -Many comment.
1826         (valid_bo): Add "extract" param.  Accept both powerpc and power4
1827         BO fields when disassembling with -Many.
1828         (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1830 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
1832         * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1833         cpu32 | fido_a except on tbl instructions.
1835 2007-01-04  Paul Brook  <paul@codesourcery.com>
1837         * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1839 2007-01-04  Andreas Schwab  <schwab@suse.de>
1841         * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1843 2007-01-04  Julian Brown  <julian@codesourcery.com>
1845         * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1846         vqrshl instructions.
1848 For older changes see ChangeLog-2006
1850 Local Variables:
1851 mode: change-log
1852 left-margin: 8
1853 fill-column: 74
1854 version-control: never
1855 End: