* archive.cc: Formatting fixes: Remove whitespace between
[binutils.git] / opcodes / ChangeLog-2007
blob21fb65c3b359f5e37fdd1cbe6e6746b4405c6a5d
1 2007-12-31  H.J. Lu  <hongjiu.lu@intel.com>
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.
9 2007-12-28  H.J. Lu  <hongjiu.lu@intel.com>
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.
19         (CpuLM): Updated.
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.
25 2007-12-23  H.J. Lu  <hongjiu.lu@intel.com>
27         * i386-gen.c (opcode_modifiers): Add OldGcc, ATTMnemonic and
28         IntelMnemonic.
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
35         intelmnemonic.
37         * i386-opc.tbl: Update fadd, fdiv, fdivp, fdivr, fdivrp, fmul,
38         fsub, fsubp, fsubr and fsubrp with OldGcc, ATTMnemonic and
39         IntelMnemonic.
40         * i386-tbl.h: Regeneratd.
42 2007-12-22  H.J. Lu  <hongjiu.lu@intel.com>
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".
51 2007-12-21  H.J. Lu  <hongjiu.lu@intel.com>
53         * Makefile.am (i386-gen.o): Also depend on
54         $(srcdir)/../include/opcode/i386.h.
55         * Makefile.in: Regenerated.
57 2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
59         * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F
60         entries.
61         * mips-opc.c (IL2E): New.
62         (IL2F): 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.
68 2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
70         * mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New.
71         (mips_builtin_opcodes): Use these new I* values.
73 2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>
75         * s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
76         "tgxt"): Removed.
77         ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
79 2007-11-14  H.J. Lu  <hongjiu.lu@intel.com>
81         * ia64-ic.tbl: Updated for Itanium 9100 series.
82         * ia64-raw.tbl: Likewise.
83         * ia64-waw.tbl: Likewise.
84         * ia64-asmtab.c: Regenerated.
86 2007-11-14  Tristan Gingold  <gingold@adacore.com>
88         * ia64-dis.c (print_insn_ia64): Handle ar.ruc.
89         * ia64-gen.c (lookup_regindex): Likewise.
91 2007-11-07  Jens Arnold  <jens@jens-arnold.net>
93         PR gas/5228
94         * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with
95         parallel loads.
97 2007-11-07  Tristan Gingold  <gingold@adacore.com>
99         * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr
100         registers instead of register number.
102 2007-11-07  David O'Brien  <obrien@FreeBSD.org>
104         * arm-dis.c (arm_opcodes): Remove superflous escapes of percent
105         operators.
107 2007-11-06  Peter Bergner  <bergner@vnet.ibm.com>
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.
113 2007-11-01  H.J. Lu  <hongjiu.lu@intel.com>
115         * i386-gen.c (opcode_modifiers): Replace No_xSuf with
116         No_ldSuf.
117         * i386-opc.tbl: Likewise.
119         * i386-opc.h (No_xSuf): Renamed to ...
120         (No_ldSuf): This.
121         (FWait): Updated.
123 2007-11-01  H.J. Lu  <hongjiu.lu@intel.com>
125         * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword,
126         ToQword and AddrPrefixOp0.
128         * i386-opc.h (ByteOkIntel): New.
129         (ToDword): Likewise.
130         (ToQword): Likewise.
131         (AddrPrefixOp0): Likewise.
132         (IsPrefix): Updated.
133         (i386_opcode_modifier): Add byteokintel, todword, toqword
134         and addrprefixop0.
136         * i386-opc.tbl (cvtss2si): Add ToQword.
137         (cvttss2si): Likewise.
138         (cvtsd2si): Add ToDword.
139         (cvttsd2si): Likewise.
140         (monitor): Add AddrPrefixOp0.
141         (invlpga): Likewise.
142         (vmload): Likewise.
143         (vmrun): Likewise.
144         (vmsave): Likewise.
145         (pextrb): Add ByteOkIntel.
146         (pinsrb): Likewise.
147         * i386-tbl.h: Regenerated.
149 2007-10-31  H.J. Lu  <hongjiu.lu@intel.com>
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.
159 2007-10-26  H.J. Lu  <hongjiu.lu@intel.com>
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.
175 2007-10-26  Nick Clifton  <nickc@redhat.com>
177         * arm-dis.c (print_insn): Check for a symtab that exists but is
178         empty.
180 2007-10-24  Alan Modra  <amodra@bigpond.net.au>
182         * po/POTFILES.in: Regenerate.
184 2007-10-23  H.J. Lu  <hongjiu.lu@intel.com>
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.
192 2007-10-22  H.J. Lu  <hongjiu.lu@intel.com>
194         * i386-dis.c (prefix_table): Reordered by opcode.
195         (mod_table): Likewise.
197 2007-10-19  H.J. Lu  <hongjiu.lu@intel.com>
199         * i386-dis.c (prefix_table): Use XS on psrldq and pslldq.
201 2007-10-17  Nathan Sidwell  <nathan@codesourcery.com>
203         * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
204         coldfire.
206 2007-10-15  Peter Bergner  <bergner@vnet.ibm.com>
208         * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
209         dquaiq. to use the TE and FRT macros.
211 2007-10-15  Peter Bergner  <bergner@vnet.ibm.com>
213         * ppc-opc.c (TE): Correct signedness.
214         (powerpc_opcodes): Sort psq_st and psq_stu according to major
215         opcode number.
217 2007-10-15  H.J. Lu  <hongjiu.lu@intel.com>
219         * i386-dis.c (dis386_twobyte): Reformat.
220         (prefix_table):  Likewise.
221         (three_byte_table): Likewise.
223 2007-10-15  Alan Modra  <amodra@bigpond.net.au>
225         * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
226         macro expansion.
228 2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>
230         * i386-gen.c (opcode_modifiers): Add FirstXmm0.
232         * i386-opc.h (FirstXmm0): New.
233         (IsPrefix): Updated.
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.
241 2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>
243         * i386-dis.c (prefix_table): Reformat pblendvb and blendvps.
245 2007-10-10  H.J. Lu  <hongjiu.lu@intel.com>
247         * i386-dis.c (v_mode): Defined as previous one + 1.
248         (w_mode): Likewise.
249         (d_mode): Likewise.
250         (q_mode): Likewise.
251         (t_mode): Likewise.
252         (x_mode): Likewise.
253         (m_mode): Likewise.
254         (cond_jump_mode): Likewise.
255         (loop_jcxz_mode): Likewise.
256         (dq_mode): Likewise.
257         (dqw_mode): Likewise.
258         (f_mode): Likewise.
259         (const_1_mode): Likewise.
260         (stack_v_mode): Likewise.
261         (z_mode): Likewise.
262         (o_mode): Likewise.
263         (dqb_mode): Likewise.
264         (dqd_mode): Likewise.
265         (es_reg): Likewise.
266         (cs_reg): Likewise.
267         (ss_reg): Likewise.
268         (ds_reg): Likewise.
269         (fs_reg): Likewise.
270         (gs_reg): Likewise.
271         (eAX_reg): Likewise.
272         (eCX_reg): Likewise.
273         (eDX_reg): Likewise.
274         (eBX_reg): Likewise.
275         (eSP_reg): Likewise.
276         (eBP_reg): Likewise.
277         (eSI_reg): Likewise.
278         (eDI_reg): Likewise.
279         (al_reg): Likewise.
280         (cl_reg): Likewise.
281         (dl_reg): Likewise.
282         (bl_reg): Likewise.
283         (ah_reg): Likewise.
284         (ch_reg): Likewise.
285         (dh_reg): Likewise.
286         (bh_reg): Likewise.
287         (ax_reg): Likewise.
288         (cx_reg): Likewise.
289         (dx_reg): Likewise.
290         (bx_reg): Likewise.
291         (sp_reg): Likewise.
292         (bp_reg): Likewise.
293         (si_reg): Likewise.
294         (di_reg): Likewise.
295         (rAX_reg): Likewise.
296         (rCX_reg): Likewise.
297         (rDX_reg): Likewise.
298         (rBX_reg): Likewise.
299         (rSP_reg): Likewise.
300         (rBP_reg): Likewise.
301         (rSI_reg): Likewise.
302         (rDI_reg): Likewise.
303         (z_mode_ax_reg): Likewise.
304         (indir_dx_reg): Likewise.
305         (DREX_OC1): Updated.
306         (DREX_NO_OC0): Likewise.
307         (DREX_MASK): Likewise.
308         (MAX_BYTEMODE): New.  Issue an error if MAX_BYTEMODE is not
309         less than DREX_OC1.
311 2007-10-08  H.J. Lu  <hongjiu.lu@intel.com>
313         * i386-dis.c: Updated comments for 'Y'.
314         (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
316 2007-10-08  Maciej W. Rozycki  <macro@linux-mips.org>
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.
322 2007-10-08  Nick Clifton  <nickc@redhat.com>
324         * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
325         to be ../bfd/libbfd.la.
326         * configure: Regenerate.
328 2007-10-05  H.J. Lu  <hongjiu.lu@intel.com>
330         * i386-dis.c (dis386_twobyte): Add getsec.
332         * i386-gen.c (cpu_flags): Add CpuSMX.
334         * i386-opc.h (CpuSMX): New.
335         (CpuSSSE3): Updated.
336         (i386_cpu_flags): Add cpusmx.
338         * i386-opc.tbl: Add getsec.
339         * i386-init.h: Regenerated.
340         * i386-tbl.h: Likewise.
342 2007-10-05  H.J. Lu  <hongjiu.lu@intel.com>
344         * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
345         (prefix_table): Likewise.
347 2007-10-04  H.J. Lu  <hongjiu.lu@intel.com>
349         * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
350         unpckhpX and unpckhpX.
352 2007-10-04  David Daney  <ddaney@avtrex.com>
354         * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
355         registers.
357 2007-10-04  H.J. Lu  <hongjiu.lu@intel.com>
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.
364 2007-10-04  Nick Clifton  <nickc@redhat.com>
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
372         SHARED_DEPENDENCIES.
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.
378         PR gas/5100
379         * arc-opc.c (insert_offset): Fix spelling mistake in error
380         message.
382 2007-10-03  H.J. Lu  <hongjiu.lu@intel.com>
384         * i386-dis.c (OP_REG): Set add to 0 only when needed.
385         (OP_C): Likewise.
386         (OP_D): Likewise.
387         (OP_MMX): Likewise.
388         (OP_XMM): Likewise.
389         (OP_EM): Likewise.
390         (OP_MXC): Likewise.
391         (OP_EX): Likewise.
393 2007-10-03  H.J. Lu  <hongjiu.lu@intel.com>
395         * i386-opc.tbl: Update SSE comments.
397 2007-10-01  H.J. Lu  <hongjiu.lu@intel.com>
399         * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
400         (THREE_BYTE_0F7B): This.
401         (dis386_twobyte): Updated.
402         (three_byte_table): Updated comments.
404 2007-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
406         * cr16-opc.c: Updated the branch on condition instructions with
407         RELAXABLE flag.
409 2007-09-30  H.J. Lu  <hongjiu.lu@intel.com>
411         * 386-dis.c (prefix_table): Reformat comment.
413 2007-09-29  H.J. Lu  <hongjiu.lu@intel.com>
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 ...
423         (REG_TABLE): This.
424         (OPC_EXT_TABLE): Renamed to ...
425         (MOD_TABLE): This.
426         (OPC_EXT_RM_TABLE): Renamed to ...
427         (RM_TABLE): This.
428         (GRP_XXX): Renamed to ...
429         (REG_XXX): This.
430         (PREGRP_XXX): Renamed to ...
431         (PREFIX_XXX): This.
432         (OPC_EXT_XXX): Renamed to ...
433         (MOD_XXX): This.
434         (OPC_EXT_RM_XXX): Renamed to ...
435         (RM_XXX): This.
436         (grps): Renamed to ...
437         (reg_table): This
438         (prefix_user_table): Renamed to ...
439         (prefix_table): This
440         (opc_ext_table): Renamed to ...
441         (mod_table): This
442         (opc_ext_rm_table): Renamed to ...
443         (rm_table): This
444         (OPC_EXT_RM_XXX): Likewise.
445         (dis386): Updated.
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.
455 2007-09-28  H.J. Lu  <hongjiu.lu@intel.com>
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.
463         (GRPXXX): Removed.
464         (PREGRPXXX): Likewise.
465         (X86_64_XXX): Likewise.
466         (THREE_BYTE_XXX): Likewise.
467         (OPC_EXT_XXX): Likewise.
468         (OPC_EXT_RM_XXX): Likewise.
469         (DIS386): New.
470         (GRP): Likewise.
471         (PREGRP): Likewise.
472         (X86_64_TABLE): Likewise.
473         (THREE_BYTE_TABLE): Likewise.
474         (OPC_EXT_TABLE): Likewise.
475         (OPC_EXT_RM_TABLE): Likewise.
476         (GRP_XXX): 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.
482         (dis386): Updated.
483         (dis386_twobyte): Likewise.
484         (grps): 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.
492 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
494         * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
495         (x86_64_table): Likewise.
496         (opc_ext_table): Likewise.
498 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
500         PR binutils/5072
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.
512 2007-09-27  Kazu Hirata  <kazu@codesourcery.com>
514         * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
516 2007-09-26  James E. Wilson  <wilson@specifix.com>
518         * ia64-gen.c (print_dependency_table): Fix typo in last patch.
520 2007-09-26  Nick Clifton  <nickc@redhat.com>
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.
527 2007-09-26  Jan Beulich  <jbeulich@novell.com>
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.
533 2007-09-26  Jan Beulich  <jbeulich@novell.com>
535         * i386-opc.h (RegEip): Define.
536         (RegEiz): Adjust.
537         * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
538         * i386-tbl.h: Re-generate.
540 2007-09-25  H.J. Lu  <hongjiu.lu@intel.com>
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.
548 2007-09-21  H.J. Lu  <hongjiu.lu@intel.com>
550         * i386-opc.h: Adjust whitespaces.
552 2007-09-21  Dave Brolley  <brolley@redhat.com>
554         * mep-desc.c: Regenerated.
556 2007-09-20  H.J. Lu  <hongjiu.lu@intel.com>
558         * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
560 2007-09-20  H.J. Lu  <hongjiu.lu@intel.com>
562         PR 658
563         * 386-dis.c (index64): New.
564         (index32): Likewise.
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
571         SIB with INDEX == 4.
573         * i386-opc.h (RegEiz): New.
574         (RegRiz): Likewise.
576         * i386-reg.tbl: Add eiz and riz.
577         * i386-tbl.h: Regenerated.
579 2007-09-19  H.J. Lu  <hongjiu.lu@intel.com>
581         * i386-dis.c (OP_E_extended): Always display scale for memory.
583 2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
585         * i386-opc.h (RegRip): New.
587         * i386-reg.tbl (rip): Use RegRip for reg_num.
588         * i386-tbl.h: Regenerated.
590 2007-09-17  Nick Clifton  <nickc@redhat.com>
592         * po/es.po: Updated Spanish translation.
594 2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
596         * Makefile.am: Run "make dep-am".
597         * Makefile.in: Regenerate.
599 2007-09-14  Michael Meissner  <michael.meissner@amd.com>
600             Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
601             Tony Linthicum  <tony.linthicum@amd.com>
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
612         instructions here.
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
682         the DREX byte.
683         (OP_E): Call OP_E_extended.
684         (DREX_REG_MEMORY): New macros for drex handling.
685         (DREX_REG_UNKNOWN): Ditto.
686         (DREX4_OC1): Ditto.
687         (DREX4_NO_OC0): Ditto.
688         (DREX4_MASK): Ditto.
689         (three_byte_table): Add SSE5 instructions.
690         (print_drex_arg): New function to print a DREX register or memory
691         reference.
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.
700 2007-09-13  H.J. Lu  <hongjiu.lu@intel.com>
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.
706 2007-09-12  H.J. Lu  <hongjiu.lu@intel.com>
708         * i386-opc.h (CpuUnused): Defined with CpuMax.
709         (OTUnused): Defined with OTMax.
711 2007-09-12  Jan Beulich  <jbeulich@novell.com>
713         * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
714         pblendvb.
715         * i386-tbl.h: Regenerate.
717 2007-09-09  H.J. Lu  <hongjiu.lu@intel.com>
719         * i386-gen.c (main): Remove the local variable, unused.
721 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
723         * Makefile.am: Run "make dep-am".
724         * Makefile.in: Regenerate.
726 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
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.
734         (initializer): New.
735         (cpu_flag_init): Likewise.
736         (bitfield): Likewise.
737         (BITFIELD): New.
738         (cpu_flags): Likewise.
739         (opcode_modifiers): Likewise.
740         (operand_types): Likewise.
741         (compare): 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
756         process reg_type.
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.
761         * i386-init.h: New.
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.
767         (Cpu286): Likewise.
768         (Cpu386): Likewise.
769         (Cpu486): Likewise.
770         (Cpu586): Likewise.
771         (Cpu686): Likewise.
772         (CpuP4): Likewise.
773         (CpuK6): Likewise.
774         (CpuK8): Likewise.
775         (CpuMMX): Likewise.
776         (CpuMMX2): Likewise.
777         (CpuSSE): Likewise.
778         (CpuSSE2): Likewise.
779         (Cpu3dnow): Likewise.
780         (Cpu3dnowA): Likewise.
781         (CpuSSE3): Likewise.
782         (CpuPadLock): Likewise.
783         (CpuSVME): Likewise.
784         (CpuVMX): Likewise.
785         (CpuSSSE3): Likewise.
786         (CpuSSE4a): Likewise.
787         (CpuABM): Likewise.
788         (CpuSSE4_1): Likewise.
789         (CpuSSE4_2): Likewise.
790         (Cpu64): Likewise.
791         (CpuNo64): Likewise.
792         (D): Likewise.
793         (W): Likewise.
794         (Modrm): Likewise.
795         (ShortForm): Likewise.
796         (Jump): Likewise.
797         (JumpDword): Likewise.
798         (JumpByte): Likewise.
799         (JumpInterSegment): Likewise.
800         (FloatMF): Likewise.
801         (FloatR): Likewise.
802         (FloatD): Likewise.
803         (Size16): Likewise.
804         (Size32): Likewise.
805         (Size64): Likewise.
806         (IgnoreSize): Likewise.
807         (DefaultSize): Likewise.
808         (No_bSuf): Likewise.
809         (No_wSuf): Likewise.
810         (No_lSuf): Likewise.
811         (No_sSuf): Likewise.
812         (No_qSuf): Likewise.
813         (No_xSuf): Likewise.
814         (FWait): Likewise.
815         (IsString): Likewise.
816         (RegKludge): Likewise.
817         (IsPrefix): Likewise.
818         (ImmExt): Likewise.
819         (NoRex64): Likewise.
820         (Rex64): Likewise.
821         (Ugh): Likewise.
822         (Reg8): Likewise.
823         (Reg16): Likewise.
824         (Reg32): Likewise.
825         (Reg64): Likewise.
826         (FloatReg): Likewise.
827         (RegMMX): Likewise.
828         (RegXMM): Likewise.
829         (Imm8): Likewise.
830         (Imm8S): Likewise.
831         (Imm16): Likewise.
832         (Imm32): Likewise.
833         (Imm32S): Likewise.
834         (Imm64): Likewise.
835         (Imm1): Likewise.
836         (BaseIndex): Likewise.
837         (Disp8): Likewise.
838         (Disp16): Likewise.
839         (Disp32): Likewise.
840         (Disp32S): Likewise.
841         (Disp64): Likewise.
842         (InOutPortReg): Likewise.
843         (ShiftCount): Likewise.
844         (Control): Likewise.
845         (Debug): Likewise.
846         (Test): Likewise.
847         (SReg2): Likewise.
848         (SReg3): Likewise.
849         (Acc): Likewise.
850         (FloatAcc): Likewise.
851         (JumpAbsolute): Likewise.
852         (EsSeg): Likewise.
853         (RegMem): Likewise.
854         (OTMax): Likewise.
855         (Reg): Commented out.
856         (WordReg): Likewise.
857         (ImplicitRegister): Likewise.
858         (Imm): Likewise.
859         (EncImm): Likewise.
860         (Disp): Likewise.
861         (AnyMem): Likewise.
862         (LLongMem): Likewise.
863         (LongMem): Likewise.
864         (ShortMem): Likewise.
865         (WordMem): Likewise.
866         (ByteMem): Likewise.
867         (CpuMax): New
868         (CpuLM): 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.
879         (CpuSSE4): Likewise.
880         (CpuUnknownFlags): Likewise.
881         (Reg): Likewise.
882         (WordReg): Likewise.
883         (ImplicitRegister): Likewise.
884         (Imm): Likewise.
885         (EncImm): Likewise.
886         (Disp): Likewise.
887         (AnyMem): Likewise.
888         (LLongMem): Likewise.
889         (LongMem): Likewise.
890         (ShortMem): Likewise.
891         (WordMem): Likewise.
892         (ByteMem): 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
901         instead.
902         * Makefile.in: Regenerated.
904 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
906         * i386-gen.c (next_field): Updated to take a separator.
907         (process_i386_opcodes): Updated.
908         (process_i386_registers): Likewise.
910 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
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.
918 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
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
923         before return.
924         (process_i386_registers): Report errno when faied to open
925         i386-reg.tbl.  Output opcodes to table.  Close i386-reg.tbl
926         before return.
927         (main): Open i386-tbl.h for output.
929         * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
930         * Makefile.in: Regenerated.
932 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
934         * i386-opc.tbl: Correct SVME instructions to allow 32bit register
935         operand in 64bit mode.
936         * i386-tbl.h: Regenerated.
938 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
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.
944 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
946         * i386-dis.c (SVME_Fixup): Removed.
947         (OPC_EXT_39): New.
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
954         operand only.
955         * i386-tbl.h: Regenerated.
957 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
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.
972 2007-08-30  H.J. Lu  <hongjiu.lu@intel.com>
974         * i386-dis.c (INVLPG_Fixup): Removed.
975         (OPC_EXT_38): New.
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.
981 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
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.
989 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
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.
999 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
1001         * i386-dis.c (prefix_user_table): Fix comment.
1003 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
1005         * i386-dis.c (OP_Skip_MODRM): New.
1006         (OP_Monitor): Likewise.
1007         (OP_Mwait): Likewise.
1008         (Mb): 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.
1023         (OP_VMX): Removed.
1024         (OP_0fae): Likewise.
1025         (PNI_Fixup): Likewise.
1026         (VMX_Fixup): Likewise.
1027         (VM): 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
1044         they aren't NULL.
1045         (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
1046         (REP_Fixup): Set repz_prefix to "rep " when seeing
1047         PREFIX_REPZ.
1049 2007-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
1051         * po/nl.po: Updated translation.
1053 2007-08-28  H.J. Lu  <hongjiu.lu@intel.com>
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.
1060 2007-08-22  Ben Elliston  <bje@au.ibm.com>
1062         * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
1063         (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
1064         (PPCPS): Likewise.
1065         (powerpc_opcodes): Add all pair singles instructions.
1066         * ppc-dis.c (powerpc_dialect): Handle "ppcps".
1067         (print_ppc_disassembler_options): Document -Mppcps.
1069 2007-08-21  Andreas Krebbel  <krebbel1@de.ibm.com>
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.
1078 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
1080         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
1082 2007-08-10  Nick Clifton  <nickc@redhat.com>
1084         * po/fi.po: Updated Finnish translation.
1085         * po/ga.po: Updated Irish translation.
1086         * po/vi.po: Updated Vietnamese translation.
1088 2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1090         * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
1091         pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
1092         * i386-tbl.h: Regenerated.
1094 2007-08-03  James E. Wilson  <wilson@specifix.com>
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.
1099         
1100 2007-08-01  Michael Snyder  <msnyder@access-company.com>
1102         * i386-dis.c (print_insn): Guard against NULL.
1104 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1106         PR binutils/4834
1107         * i386-dis.c (EXw): New.
1108         (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
1109         instructions when appropriated.
1111 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
1113         PR binutils/4834
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
1118         when appropriated.
1120 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
1122         * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
1123         (prefix_user_table): Likewise.  Use EXq instead of EXx on
1124         "movq".
1126 2007-07-27  Nathan Sidwell  <nathan@codesourcery.com>
1128         * ppc-opc (PPC7450): New.
1129         (powerpc_opcodes): Use it in dcba.
1131 2007-07-24  H.J. Lu  <hongjiu.lu@intel.com>
1133         * i386-gen.c (main): Print a newline after copyright notice.
1135 2007-07-19  Nick Clifton  <nickc@redhat.com>
1137         PR binutils/4801
1138         * maxq-dis.c (get_reg_name): Fix the scan of the
1139         mem_access_syntax_table.
1141 2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>
1143         * i386-dis.c (EMq): Removed.
1144         (EMx): New.
1145         (prefix_user_table): Replace EMq with EMx.
1147 2007-07-16  Nick Clifton  <nickc@redhat.com>
1149         * po/nl.po: Updated translation.
1151 2007-07-12  Nick Clifton  <nickc@redhat.com>
1153         * po/vi.po: Updated translation.
1154         * po/nl.po: Updated translation.
1156 2007-07-06  Mark Kettenis  <kettenis@gnu.org>
1157             H.J. Lu  <hongjiu.lu@intel.com>
1159         * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
1160         (ia64-asmtab.c): Likewise.
1161         * Makefile.in: Regenerate.
1163 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1165         * aclocal.m4: Regenerated.
1167 2007-07-04  Nick Clifton  <nickc@redhat.com>
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
1215 2007-07-04  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
1217         * cr16-dis.c (getcinvstring): Add const qualifier to char *
1218         parameter.
1219         (print_insn_cr16): Remove cast to char *.
1221 2007-07-03  Nathan Sidwell  <nathan@codesourcery.com>
1223         * m68k-dis.c (fetch_arg): Add E.  Replace length switch with
1224         direct masking.
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.
1230 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
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.
1239 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1241         * aclocal.m4: Regenerated.
1242         * Makefile.in: Likewise.
1244 2007-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1246         * i386-reg.tbl: Remove spaces before comments.
1248 2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
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.
1258 2007-06-28  H.J. Lu  <hongjiu.lu@intel.com>
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.
1265         Run "make dep-am".
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.
1278 2007-06-26  Paul Brook  <paul@codesourcery.com>
1280         * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
1282 2007-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1284         * i386-opc.h (regKludge): Renamed to ...
1285         (RegKludge): This.
1287         * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
1289 2007-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1291         PR binutils/4667
1292         * i386-dis.c (EX): Removed.
1293         (EMd): New.
1294         (EMq): Likewise.
1295         (EXd): Likewise.
1296         (EXq): Likewise.
1297         (EXx): Likewise.
1298         (PREGRP93...PREGRP97): Likewise.
1299         (dis386_twobyte): Updated.
1300         (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
1301         (OP_EX): Remove Intel syntax handling.
1303 2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
1305         * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
1307 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
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.
1318 2007-06-05  Paul Brook  <paul@codesourcery.com>
1320         * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1322 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
1324         * Makefile.in: Regnerate.
1325         * configure: Regenerate.
1326         * aclocal.m4: Regenerate.
1328 2007-05-18  Alan Modra  <amodra@bigpond.net.au>
1330         * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1331         after setting skip_optional.
1333 2007-05-16  Peter Bergner  <bergner@vnet.ibm.com>
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.
1345 2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1347         PR binutils/4502
1348         * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1350 2007-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1352         * i386-opc.h (ShortForm): Redefined.
1353         (Jump): Likewise.
1354         (JumpDword): Likewise.
1355         (JumpByte): Likewise.
1356         (JumpInterSegment): Likewise.
1357         (FloatMF): Likewise.
1358         (FloatR): Likewise.
1359         (FloatD): Likewise.
1360         (Size16): Likewise.
1361         (Size32): Likewise.
1362         (Size64): 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.
1371         (FWait): Likewise.
1372         (IsString): Likewise.
1373         (regKludge): Likewise.
1374         (IsPrefix): Likewise.
1375         (ImmExt): Likewise.
1376         (NoRex64): Likewise.
1377         (Rex64): Likewise.
1378         (Ugh): Likewise.
1380 2007-05-07  H.J. Lu  <hongjiu.lu@intel.com>
1382         * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1383         for some SSE4 instructions.
1384         (threebyte_0x3a_uses_DATA_prefix): Likewise.
1386 2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
1388         * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1390         * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1391         type for crc32.
1393 2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
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
1399         support Intel mode.
1401 2007-04-30  Mark Salter  <msalter@redhat.com>
1403         * frv-desc.c: Regenerate.
1404         * frv-desc.h: Regenerate.
1406 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
1408         PR 4436
1409         * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1411 2007-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1413         * i386-dis.c (modrm): Put reg before rm.
1415 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
1417         PR binutils/4430
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.
1423 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
1425         PR binutils/4429
1426         * i386-dis.c (print_insn): Also swap the order of op_riprel
1427         when swapping op_index.  Break when the RIP relative address
1428         is printed.
1429         (OP_E): Properly handle RIP relative addressing and print the
1430         explicit zero displacement for Intel mode.
1432 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
1434         * Makefile.am: Run "make dep-am".
1435         * Makefile.in: Regenerate.
1436         * ns32k-dis.c: Include sysdep.h first.
1438 2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>
1440         * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1441         opcode.
1442         * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1444 2007-04-24  Nick Clifton  <nickc@redhat.com>
1446         * arm-dis.c (print_insn): Initialise type.
1448 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
1450         * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1451         * Makefile.am: Run "make dep-am".
1452         * Makefile.in: Regenerate.
1454 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
1456         * m68k-opc.c: Mark mcfisa_c instructions.
1458 2007-04-21  Richard Earnshaw  <rearnsha@arm.com>
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.
1466 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
1468         * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1469         Move contents to..
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.
1478 2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
1480         * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1481         rambar1.
1483 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
1485         * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1486         change.
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.
1499 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
1501         * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1502         (Z2_MASK): Define.
1503         (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1505 2007-04-20  Richard Earnshaw  <rearnsha@arm.com>
1507         * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1508         being disassembled.
1510 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
1512         * Makefile.am: Run "make dep-am".
1513         * Makefile.in: Regenerate.
1514         * po/POTFILES.in: Regenerate.
1516 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
1518         * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1519         db10cyc, db12cyc, db16cyc.
1521 2007-04-19  Nathan Froyd <froydnj@codesourcery.com>
1523         * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1525 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1527         * i386-dis.c (CRC32_Fixup): New.
1528         (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1529          PREGRP91): New.
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.
1542 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1544         * i386-dis.c (XMM_Fixup): New.
1545         (Edqb): New.
1546         (Edqd): New.
1547         (XMM0): New.
1548         (dqb_mode): New.
1549         (dqd_mode): 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):
1557         (OP_E): Likewise.
1558         (OP_G): Likewise.
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.
1566 2007-04-18  Matthias Klose  <doko@ubuntu.com>
1568         * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1569         * Makefile.in: Regenerate.
1571 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
1573         * Makefile.am: Add ACLOCAL_AMFLAGS.
1574         * Makefile.in: Regenerate.
1576 2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1578         * i386-dis.c: Remove trailing white spaces.
1579         * i386-opc.c: Likewise.
1580         * i386-opc.h: Likewise.
1582 2007-04-11  H.J. Lu  <hongjiu.lu@intel.com>
1584         PR binutils/4333
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 ...
1589         (modrm): This.
1590         (grps): Add GRP1a.
1592 2007-04-09  Kazu Hirata  <kazu@codesourcery.com>
1594         * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1595         info->print_address_func if longjmp is called.
1597 2007-03-29  DJ Delorie  <dj@redhat.com>
1599         * m32c-desc.c: Regenerate.
1600         * m32c-dis.c: Regenerate.
1601         * m32c-opc.c: Regenerate.
1603 2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
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.
1612 2007-03-27  Paul Brook  <paul@codesourcery.com>
1614         * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1616 2007-03-24  Paul Brook  <paul@codesourcery.com>
1618         * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1619         (print_insn_coprocessor): Handle %<bitfield>x.
1621 2007-03-24  Paul Brook  <paul@codesourcery.com>
1622             Mark Shinwell  <shinwell@codesourcery.com>
1624         * arm-dis.c (arm_opcodes): Print SRS base register.
1626 2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1628         * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1630         * i386-opc.c (i386_optab): Add rex.wrxb.
1632 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
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.
1642 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1644         PR binutils/4218
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.
1655 2007-03-20  DJ Delorie  <dj@redhat.com>
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.
1665 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
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.
1675 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1677         * Makefile.am (CFILES): Add i386-opc.c.
1678         (ALL_MACHINES): Add i386-opc.lo.
1679         Run "make dep-am".
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.
1694 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1696         * Makefile.in: Regenerated.
1698 2007-03-09  H.J. Lu  <hongjiu.lu@intel.com>
1700         * i386-dis.c (OP_Rd): Renamed to ...
1701         (OP_R): This.
1702         (Rd): Updated.
1703         (Rm): Likewise.
1705 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
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.
1725 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
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
1732         masks added.
1733         * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1734         instructions added.
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.
1739 2007-02-22  DJ Delorie  <dj@redhat.com>
1741         * s390-opc.c (INSTR_SS_L2RDRD): New.
1742         (MASK_SS_L2RDRD): New.
1743         * s390-opc.txt (pka): Use it.
1745 2007-02-20  Thiemo Seufer  <ths@mips.com>
1746             Chao-Ying Fu  <fu@mips.com>
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.
1753 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
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.
1760 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
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
1765         and sfpc.
1767 2007-02-16  Nick Clifton  <nickc@redhat.com>
1769         PR binutils/4045
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.
1776 2007-02-13  H.J. Lu  <hongjiu.lu@intel.com>
1778          * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1779          in struct dis386.
1781 2007-02-05  Dave Brolley  <brolley@redhat.com>
1782             Richard Sandiford  <rsandifo@redhat.com>
1783             DJ Delorie  <dj@redhat.com>
1784             Graydon Hoare  <graydon@redhat.com>
1785             Frank Ch. Eigler  <fche@redhat.com>
1786             Ben Elliston  <bje@redhat.com>
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.
1803 2007-02-05  H.J. Lu  <hongjiu.lu@intel.com>
1805         * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1806         wrap around within the same segment in 16bit mode.
1808 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1810         * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1811         prefix.
1813 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1815         * avr-dis.c (avr_operand): Correct PR number in comment.
1817 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
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.
1825 2007-02-02  Hiroki Kaminaga  <kaminaga@sm.sony.co.jp>
1827         * ppc-dis.c (powerpc_dialect): Handle ppc440.
1828         * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1829         be used.
1831 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
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.
1838 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
1840         * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1841         cpu32 | fido_a except on tbl instructions.
1843 2007-01-04  Paul Brook  <paul@codesourcery.com>
1845         * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1847 2007-01-04  Andreas Schwab  <schwab@suse.de>
1849         * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1851 2007-01-04  Julian Brown  <julian@codesourcery.com>
1853         * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1854         vqrshl instructions.
1856 For older changes see ChangeLog-2006
1858 Local Variables:
1859 mode: change-log
1860 left-margin: 8
1861 fill-column: 74
1862 version-control: never
1863 End: