gas/testsuite/
[binutils.git] / opcodes / ChangeLog
blob9d4edb00a1a3baf96f73539fc829d80ffe04f0f0
1 2007-10-08  H.J. Lu  <hongjiu.lu@intel.com>
3         * i386-dis.c: Updated comments for 'Y'.
4         (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
6 2007-10-08  Maciej W. Rozycki  <macro@linux-mips.org>
8         * opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
9         (mips_cp0_names_r4000): Likewise.
10         (mips_arch_choices): Link to the above as appropriate.
12 2007-10-08  Nick Clifton  <nickc@redhat.com>
14         * configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency
15         to be ../bfd/libbfd.la.
16         * configure: Regenerate.
18 2007-10-05  H.J. Lu  <hongjiu.lu@intel.com>
20         * i386-dis.c (dis386_twobyte): Add getsec.
22         * i386-gen.c (cpu_flags): Add CpuSMX.
24         * i386-opc.h (CpuSMX): New.
25         (CpuSSSE3): Updated.
26         (i386_cpu_flags): Add cpusmx.
28         * i386-opc.tbl: Add getsec.
29         * i386-init.h: Regenerated.
30         * i386-tbl.h: Likewise.
32 2007-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34         * i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
35         (prefix_table): Likewise.
37 2007-10-04  H.J. Lu  <hongjiu.lu@intel.com>
39         * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on
40         unpckhpX and unpckhpX.
42 2007-10-04  David Daney  <ddaney@avtrex.com>
44         * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
45         registers.
47 2007-10-04  H.J. Lu  <hongjiu.lu@intel.com>
49         * i386-dis.c (MOD_0F12_PREFIX_0): Use "movlps" and "movhlps"
50         instead of "movlpX" and "movhlpX", respectively.
51         (MOD_0F16_PREFIX_0): Use "movhps" and "movlhps" instead of
52         "movhpX" and "movlhpX", respectively.
54 2007-10-04  Nick Clifton  <nickc@redhat.com>
56         * configure.in (WIN32LDFLAGS): Rename to SHARED_LDFLAGS.
57         (WIN32LIBADD): Rename to SHARED_LIBADD
58         (SHARED_DEPENDENCIES): New exported variable.
59         (enable_shared): Add dependency upon libbfd.la for non-cygwin
60         based shared library builds.
61         * Makefile.am (libopcodes_la_DEPENDENCIES): Append
62         SHARED_DEPENDENCIES.
63         (libopcodes_la_LIBADD): Rename WIN32LIBADD to SHARED_LIBADD.
64         (libopcodes_la_LDFLAGS): Rename WIN32LDFLAGS to SHARED_LDFLAGS.
65         * configure: Regenerate.
66         * Makefile.in: Regenerate.
68         PR gas/5100
69         * arc-opc.c (insert_offset): Fix spelling mistake in error
70         message.
72 2007-10-03  H.J. Lu  <hongjiu.lu@intel.com>
74         * i386-dis.c (OP_REG): Set add to 0 only when needed.
75         (OP_C): Likewise.
76         (OP_D): Likewise.
77         (OP_MMX): Likewise.
78         (OP_XMM): Likewise.
79         (OP_EM): Likewise.
80         (OP_MXC): Likewise.
81         (OP_EX): Likewise.
83 2007-10-03  H.J. Lu  <hongjiu.lu@intel.com>
85         * i386-opc.tbl: Update SSE comments.
87 2007-10-01  H.J. Lu  <hongjiu.lu@intel.com>
89         * i386-dis.c (THREE_BYTE_0FBA): Renamed to ...
90         (THREE_BYTE_0F7B): This.
91         (dis386_twobyte): Updated.
92         (three_byte_table): Updated comments.
94 2007-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
96         * cr16-opc.c: Updated the branch on condition instructions with
97         RELAXABLE flag.
99 2007-09-30  H.J. Lu  <hongjiu.lu@intel.com>
101         * 386-dis.c (prefix_table): Reformat comment.
103 2007-09-29  H.J. Lu  <hongjiu.lu@intel.com>
105         * 386-dis.c (USE_GROUPS): Renamed to ...
106         (USE_REG_TABLE): This.
107         (USE_OPC_EXT_TABLE): Renamed to ...
108         (USE_MOD_TABLE): This.
109         (USE_OPC_EXT_RM_TABLE): Renamed to ...
110         (USE_RM_TABLE): This.
111         (USE_XXX_TABLE): Reordered.
112         (GRP): Renamed to ...
113         (REG_TABLE): This.
114         (OPC_EXT_TABLE): Renamed to ...
115         (MOD_TABLE): This.
116         (OPC_EXT_RM_TABLE): Renamed to ...
117         (RM_TABLE): This.
118         (GRP_XXX): Renamed to ...
119         (REG_XXX): This.
120         (PREGRP_XXX): Renamed to ...
121         (PREFIX_XXX): This.
122         (OPC_EXT_XXX): Renamed to ...
123         (MOD_XXX): This.
124         (OPC_EXT_RM_XXX): Renamed to ...
125         (RM_XXX): This.
126         (grps): Renamed to ...
127         (reg_table): This
128         (prefix_user_table): Renamed to ...
129         (prefix_table): This
130         (opc_ext_table): Renamed to ...
131         (mod_table): This
132         (opc_ext_rm_table): Renamed to ...
133         (rm_table): This
134         (OPC_EXT_RM_XXX): Likewise.
135         (dis386): Updated.
136         (dis386_twobyte): Likewise.
137         (reg_table): Likewise.
138         (prefix_table): Likewise.
139         (x86_64_table): Likewise.
140         (three_byte_table): Likewise.
141         (mod_table): Likewise.
142         (rm_table): Likewise.
143         (get_valid_dis386): Likewise.
145 2007-09-28  H.J. Lu  <hongjiu.lu@intel.com>
147         * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
148         (USE_PREFIX_TABLE): This.
149         (X86_64_SPECIAL): Renamed to ...
150         (USE_X86_64_TABLE): This.
151         (IS_3BYTE_OPCODE): Renamed to ...
152         (USE_3BYTE_TABLE): This.
153         (GRPXXX): Removed.
154         (PREGRPXXX): Likewise.
155         (X86_64_XXX): Likewise.
156         (THREE_BYTE_XXX): Likewise.
157         (OPC_EXT_XXX): Likewise.
158         (OPC_EXT_RM_XXX): Likewise.
159         (DIS386): New.
160         (GRP): Likewise.
161         (PREGRP): Likewise.
162         (X86_64_TABLE): Likewise.
163         (THREE_BYTE_TABLE): Likewise.
164         (OPC_EXT_TABLE): Likewise.
165         (OPC_EXT_RM_TABLE): Likewise.
166         (GRP_XXX): Likewise.
167         (PREGRP_XXX): Likewise.
168         (X86_64_XXX): Likewise.
169         (THREE_BYTE_XXX): Likewise.
170         (OPC_EXT_XXX): Likewise.
171         (OPC_EXT_RM_XXX): Likewise.
172         (dis386): Updated.
173         (dis386_twobyte): Likewise.
174         (grps): Likewise.
175         (prefix_user_table): Likewise.
176         (x86_64_table): Likewise.
177         (three_byte_table): Likewise.
178         (opc_ext_table): Likewise.
179         (opc_ext_rm_table): Likewise.
180         (get_valid_dis386): Likewise.
182 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
184         * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
185         (x86_64_table): Likewise.
186         (opc_ext_table): Likewise.
188 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
190         PR binutils/5072
191         * i386-dis.c: Update comments on '{', '}' and '|' to support
192         only AT&T and Intel modes.
193         (X86_64_4...X86_64_27): New.
194         (dis386): Updated.  Use X86_64_4...X86_64_21.
195         (dis386_twobyte): Updated.
196         (float_mem): Likewise.
197         (x86_64_table): Add X86_64_4...X86_64_27.
198         (opc_ext_table): Updated.  Use X86_64_22...X86_64_27.
199         (putop): Updated handling of '{', '}' and '|' to support only
200         AT&T and Intel modes.
202 2007-09-27  Kazu Hirata  <kazu@codesourcery.com>
204         * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
206 2007-09-26  James E. Wilson  <wilson@specifix.com>
208         * ia64-gen.c (print_dependency_table): Fix typo in last patch.
210 2007-09-26  Nick Clifton  <nickc@redhat.com>
212         * mt-asm.c (parse_imm16): Reword error message in order to allow
213         it to be translated properly.
214         * ia64-gen.c (print_dependency_table): Likewise.
215         * mips-dis.c (print_insn_args): Likewise.
217 2007-09-26  Jan Beulich  <jbeulich@novell.com>
219         * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
220         relative addressing. Update used_prefixes based on whether any
221         base or index register was printed.
223 2007-09-26  Jan Beulich  <jbeulich@novell.com>
225         * i386-opc.h (RegEip): Define.
226         (RegEiz): Adjust.
227         * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
228         * i386-tbl.h: Re-generate.
230 2007-09-25  H.J. Lu  <hongjiu.lu@intel.com>
232         * i386-gen.c (process_i386_opcodes): Process opcode_length.
234         * i386-opc.h (template): Add opcode_length.
235         * 386-opc.tbl: Likewise.
236         * i386-tbl.h: Regenerated.
238 2007-09-21  H.J. Lu  <hongjiu.lu@intel.com>
240         * i386-opc.h: Adjust whitespaces.
242 2007-09-21  Dave Brolley  <brolley@redhat.com>
244         * mep-desc.c: Regenerated.
246 2007-09-20  H.J. Lu  <hongjiu.lu@intel.com>
248         * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
250 2007-09-20  H.J. Lu  <hongjiu.lu@intel.com>
252         PR 658
253         * 386-dis.c (index64): New.
254         (index32): Likewise.
255         (intel_index64): Likewise.
256         (intel_index32): Likewise.
257         (att_index64): Likewise.
258         (att_index32): Likewise.
259         (print_insn): Set index64 and index32.
260         (OP_E_extended): Use index64/index32 for index register for
261         SIB with INDEX == 4.
263         * i386-opc.h (RegEiz): New.
264         (RegRiz): Likewise.
266         * i386-reg.tbl: Add eiz and riz.
267         * i386-tbl.h: Regenerated.
269 2007-09-19  H.J. Lu  <hongjiu.lu@intel.com>
271         * i386-dis.c (OP_E_extended): Always display scale for memory.
273 2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
275         * i386-opc.h (RegRip): New.
277         * i386-reg.tbl (rip): Use RegRip for reg_num.
278         * i386-tbl.h: Regenerated.
280 2007-09-17  Nick Clifton  <nickc@redhat.com>
282         * po/es.po: Updated Spanish translation.
284 2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
286         * Makefile.am: Run "make dep-am".
287         * Makefile.in: Regenerate.
289 2007-09-14  Michael Meissner  <michael.meissner@amd.com>
290             Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
291             Tony Linthicum  <tony.linthicum@amd.com>
293         * i386-opc.h (CpuSSE5):  New macro.
294         (i386_cpu_flags): Add Drex, Drexv and Drexc.
296         * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
297         (operand_type_init): Add CpuSSE5.
298         (opcode_modifiers): Add Drex, Drexv and Drexc.
299         (i386_opcode_modifier): Ditto.
301         * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
302         instructions here.
303         (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
304         (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
305         (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
306         (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
307         (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
308         (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
309         (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
310         (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
311         (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
312         (phsubbw,phsubwd,phsubdq): Ditto.
313         (pcmov,pperm,permps,permpd): Ditto.
314         (protb,protw,protd,protq): Ditto.
315         (pshlb,pshlw,pshld,pshlq): Ditto.
316         (pshab,pshaw,pshad,pshaq): Ditto.
317         (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
318         (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
319         (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
320         (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
321         (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
322         (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
323         (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
324         (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
325         (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
326         (comunlepd,comgtpd,comtruepd): Ditto.
327         (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
328         (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
329         (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
330         (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
331         (comunless,comgtss,comtruess): Ditto.
332         (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
333         (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
334         (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
335         (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
336         (comunlesd,comgtsd,comtruesd): Ditto.
337         (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
338         (pcomnequb,pcomneub): Ditto.
339         (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
340         (pcomnequw,pcomneuw): Ditto.
341         (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
342         (pcomnequd,pcomneud): Ditto.
343         (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
344         (pcomnequq,pcomneuq): Ditto.
345         (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
346         (pcomneqb,pcomneb): Ditto.
347         (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
348         (pcomneqw,pcomnew): Ditto.
349         (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
350         (pcomneqd,pcomned): Ditto.
351         (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
352         (pcomeqq,pcomneqq,pcomneq): Ditto.
353         (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
354         (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
355         (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
356         (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
357         (frczps,frczpd,frczss,frczsd): Ditto.
358         (cvtph2ps,cvtps2ph): Ditto.
360         * i386-tbl.h: Regenerate from i386-opc.tbl.
361         * i386-init.h: Likewise.
363         * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
364         (dis386_move_test): New disassembly support for move from test
365         register instruction that overlaps with SSE5 instructions.
366         (print_insn): Add support for special casing the i386/i486 move
367         from test register instruction that overlaps with the SSE5
368         0x0f24 4 operand instructions.
369         (OP_DREX_ICMP): New macros for SSE5 DREX handling.
370         (OP_DREX_FCMP): Ditto.
371         (OP_E_extended): Rename from OP_E, add additional argument to skip
372         the DREX byte.
373         (OP_E): Call OP_E_extended.
374         (DREX_REG_MEMORY): New macros for drex handling.
375         (DREX_REG_UNKNOWN): Ditto.
376         (DREX4_OC1): Ditto.
377         (DREX4_NO_OC0): Ditto.
378         (DREX4_MASK): Ditto.
379         (three_byte_table): Add SSE5 instructions.
380         (print_drex_arg): New function to print a DREX register or memory
381         reference.
382         (OP_DREX4): New function for handling DREX 4 argument ops.
383         (OP_DREX3): New function for handling DREX 3 argument ops.
384         (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
385         (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
386         byte opcode support for SSE5 instructions.
387         (dis386_twobyte): Add SSE5 24/25/7a/7b support.
388         (three_byte_table): Add rows for describing SSE5 instructions.
390 2007-09-13  H.J. Lu  <hongjiu.lu@intel.com>
392         * i386-dis.c (get_valid_dis386): Take a pointer to
393         disassemble_info.  Handle IS_3BYTE_OPCODE.
394         (print_insn): Updated.  Don't handle IS_3BYTE_OPCODE here.
396 2007-09-12  H.J. Lu  <hongjiu.lu@intel.com>
398         * i386-opc.h (CpuUnused): Defined with CpuMax.
399         (OTUnused): Defined with OTMax.
401 2007-09-12  Jan Beulich  <jbeulich@novell.com>
403         * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
404         pblendvb.
405         * i386-tbl.h: Regenerate.
407 2007-09-09  H.J. Lu  <hongjiu.lu@intel.com>
409         * i386-gen.c (main): Remove the local variable, unused.
411 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
413         * Makefile.am: Run "make dep-am".
414         * Makefile.in: Regenerate.
416 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
418         * configure.in (AC_CHECK_HEADERS): Add limits.h.
419         * configure: Regenerated.
420         * config.in: Likewise.
422         * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
423         <string.h>.  Use xstrerror instead of strerror.
424         (initializer): New.
425         (cpu_flag_init): Likewise.
426         (bitfield): Likewise.
427         (BITFIELD): New.
428         (cpu_flags): Likewise.
429         (opcode_modifiers): Likewise.
430         (operand_types): Likewise.
431         (compare): Likewise.
432         (set_cpu_flags): Likewise.
433         (output_cpu_flags): Likewise.
434         (process_i386_cpu_flags): Likewise.
435         (output_opcode_modifier): Likewise.
436         (process_i386_opcode_modifier): Likewise.
437         (output_operand_type): Likewise.
438         (process_i386_operand_type): Likewise.
439         (set_bitfield): Likewise.
440         (operand_type_init): Likewise.
441         (process_i386_initializers): Likewise.
442         (process_i386_opcodes): Call process_i386_opcode_modifier to
443         process opcode_modifier.  Call process_i386_operand_type to
444         process operand_types.
445         (process_i386_registers): Call process_i386_operand_type to
446         process reg_type.
447         (main): Check unused bits in i386_cpu_flags and i386_operand_type.
448         Sort cpu_flags, opcode_modifiers and operand_types.  Call
449         process_i386_initializers.
451         * i386-init.h: New.
452         * i386-tbl.h: Regenerated.
454         * i386-opc.h: Include <limits.h>.
455         (CHAR_BIT): Define as 8 if not defined.
456         (Cpu186): Changed to position of bitfiled.
457         (Cpu286): Likewise.
458         (Cpu386): Likewise.
459         (Cpu486): Likewise.
460         (Cpu586): Likewise.
461         (Cpu686): Likewise.
462         (CpuP4): Likewise.
463         (CpuK6): Likewise.
464         (CpuK8): Likewise.
465         (CpuMMX): Likewise.
466         (CpuMMX2): Likewise.
467         (CpuSSE): Likewise.
468         (CpuSSE2): Likewise.
469         (Cpu3dnow): Likewise.
470         (Cpu3dnowA): Likewise.
471         (CpuSSE3): Likewise.
472         (CpuPadLock): Likewise.
473         (CpuSVME): Likewise.
474         (CpuVMX): Likewise.
475         (CpuSSSE3): Likewise.
476         (CpuSSE4a): Likewise.
477         (CpuABM): Likewise.
478         (CpuSSE4_1): Likewise.
479         (CpuSSE4_2): Likewise.
480         (Cpu64): Likewise.
481         (CpuNo64): Likewise.
482         (D): Likewise.
483         (W): Likewise.
484         (Modrm): Likewise.
485         (ShortForm): Likewise.
486         (Jump): Likewise.
487         (JumpDword): Likewise.
488         (JumpByte): Likewise.
489         (JumpInterSegment): Likewise.
490         (FloatMF): Likewise.
491         (FloatR): Likewise.
492         (FloatD): Likewise.
493         (Size16): Likewise.
494         (Size32): Likewise.
495         (Size64): Likewise.
496         (IgnoreSize): Likewise.
497         (DefaultSize): Likewise.
498         (No_bSuf): Likewise.
499         (No_wSuf): Likewise.
500         (No_lSuf): Likewise.
501         (No_sSuf): Likewise.
502         (No_qSuf): Likewise.
503         (No_xSuf): Likewise.
504         (FWait): Likewise.
505         (IsString): Likewise.
506         (RegKludge): Likewise.
507         (IsPrefix): Likewise.
508         (ImmExt): Likewise.
509         (NoRex64): Likewise.
510         (Rex64): Likewise.
511         (Ugh): Likewise.
512         (Reg8): Likewise.
513         (Reg16): Likewise.
514         (Reg32): Likewise.
515         (Reg64): Likewise.
516         (FloatReg): Likewise.
517         (RegMMX): Likewise.
518         (RegXMM): Likewise.
519         (Imm8): Likewise.
520         (Imm8S): Likewise.
521         (Imm16): Likewise.
522         (Imm32): Likewise.
523         (Imm32S): Likewise.
524         (Imm64): Likewise.
525         (Imm1): Likewise.
526         (BaseIndex): Likewise.
527         (Disp8): Likewise.
528         (Disp16): Likewise.
529         (Disp32): Likewise.
530         (Disp32S): Likewise.
531         (Disp64): Likewise.
532         (InOutPortReg): Likewise.
533         (ShiftCount): Likewise.
534         (Control): Likewise.
535         (Debug): Likewise.
536         (Test): Likewise.
537         (SReg2): Likewise.
538         (SReg3): Likewise.
539         (Acc): Likewise.
540         (FloatAcc): Likewise.
541         (JumpAbsolute): Likewise.
542         (EsSeg): Likewise.
543         (RegMem): Likewise.
544         (OTMax): Likewise.
545         (Reg): Commented out.
546         (WordReg): Likewise.
547         (ImplicitRegister): Likewise.
548         (Imm): Likewise.
549         (EncImm): Likewise.
550         (Disp): Likewise.
551         (AnyMem): Likewise.
552         (LLongMem): Likewise.
553         (LongMem): Likewise.
554         (ShortMem): Likewise.
555         (WordMem): Likewise.
556         (ByteMem): Likewise.
557         (CpuMax): New
558         (CpuLM): Likewise.
559         (CpuNumOfUints): Likewise.
560         (CpuNumOfBits): Likewise.
561         (CpuUnused): Likewise.
562         (OTNumOfUints): Likewise.
563         (OTNumOfBits): Likewise.
564         (OTUnused): Likewise.
565         (i386_cpu_flags): New type.
566         (i386_operand_type): Likewise.
567         (i386_opcode_modifier): Likewise.
568         (CpuSledgehammer): Removed.
569         (CpuSSE4): Likewise.
570         (CpuUnknownFlags): Likewise.
571         (Reg): Likewise.
572         (WordReg): Likewise.
573         (ImplicitRegister): Likewise.
574         (Imm): Likewise.
575         (EncImm): Likewise.
576         (Disp): Likewise.
577         (AnyMem): Likewise.
578         (LLongMem): Likewise.
579         (LongMem): Likewise.
580         (ShortMem): Likewise.
581         (WordMem): Likewise.
582         (ByteMem): Likewise.
583         (template): Use i386_cpu_flags for cpu_flags, use
584         i386_opcode_modifier for opcode_modifier, use
585         i386_operand_type for operand_types.
586         (reg_entry): Use i386_operand_type for reg_type.
588         * Makefile.am (HFILES): Add i386-init.h.
589         ($(srcdir)/i386-init.h): New rule.
590         ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
591         instead.
592         * Makefile.in: Regenerated.
594 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
596         * i386-gen.c (next_field): Updated to take a separator.
597         (process_i386_opcodes): Updated.
598         (process_i386_registers): Likewise.
600 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
602         * i386-gen.c (table): Moved ...
603         (main): Here.  Call process_copyright to output copyright.
604         (process_copyright): New.
605         (process_i386_opcodes): Take FILE *table.
606         (process_i386_registers): Likewise.
608 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
610         * i386-gen.c (table): New.
611         (process_i386_opcodes): Report errno when faied to open
612         i386-opc.tbl.  Output opcodes to table.  Close i386-opc.tbl
613         before return.
614         (process_i386_registers): Report errno when faied to open
615         i386-reg.tbl.  Output opcodes to table.  Close i386-reg.tbl
616         before return.
617         (main): Open i386-tbl.h for output.
619         * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
620         * Makefile.in: Regenerated.
622 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
624         * i386-opc.tbl: Correct SVME instructions to allow 32bit register
625         operand in 64bit mode.
626         * i386-tbl.h: Regenerated.
628 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
630         * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
631         (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
632         (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
634 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
636         * i386-dis.c (SVME_Fixup): Removed.
637         (OPC_EXT_39): New.
638         (OPC_EXT_RM_6): Likewise.
639         (grps): Use OPC_EXT_39.
640         (opc_ext_table): Add OPC_EXT_39.
641         (opc_ext_rm_table): Add OPC_EXT_RM_6.
643         * i386-opc.tbl: Correct SVME instructions to take register
644         operand only.
645         * i386-tbl.h: Regenerated.
647 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
649         * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
650         * Makefile.in: Regenerated.
652         * configure.in (AC_GNU_SOURCE): Added.
653         (AC_PROG_CC): Moved before AC_GNU_SOURCE.
654         (AC_CHECK_DECLS): Add stpcpy.
655         * configure: Regenerated.
656         * config.in: Likewise.
658         * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
660         * sysdep.h (stpcpy): New.
662 2007-08-30  H.J. Lu  <hongjiu.lu@intel.com>
664         * i386-dis.c (INVLPG_Fixup): Removed.
665         (OPC_EXT_38): New.
666         (OPC_EXT_RM_5): Likewise.
667         (grps): Use OPC_EXT_38.
668         (opc_ext_table): Add OPC_EXT_38.
669         (opc_ext_rm_table): Add OPC_EXT_RM_5.
671 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
673         * i386-dis.c (SIMD_Fixup): Removed.
674         (OPC_EXT_34...OPC_EXT_37): New.
675         (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
676         (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
677         (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
679 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
681         * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
682         (dis386): Use OPC_EXT_0...OPC_EXT_2.
683         (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
684         (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
685         (prefix_user_table): Use OPC_EXT_32.
686         (x86_64_table): Use OPC_EXT_33.
687         (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
689 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
691         * i386-dis.c (prefix_user_table): Fix comment.
693 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
695         * i386-dis.c (OP_Skip_MODRM): New.
696         (OP_Monitor): Likewise.
697         (OP_Mwait): Likewise.
698         (Mb): Likewise.
699         (Skip_MODRM): Likewise.
700         (USE_OPC_EXT_TABLE): Likewise.
701         (USE_OPC_EXT_RM_TABLE): Likewise.
702         (PREGRP98...PREGRP100): Likewise.
703         (OPC_EXT_0...OPC_EXT_24): Likewise.
704         (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
705         (lock_prefix): Likewise.
706         (data_prefix): Likewise.
707         (addr_prefix): Likewise.
708         (repz_prefix): Likewise.
709         (repnz_prefix): Likewise.
710         (opc_ext_table): Likewise.
711         (opc_ext_rm_table): Likewise.
712         (get_valid_dis386): Likewise.
713         (OP_VMX): Removed.
714         (OP_0fae): Likewise.
715         (PNI_Fixup): Likewise.
716         (VMX_Fixup): Likewise.
717         (VM): Likewise.
718         (twobyte_uses_DATA_prefix): Likewise.
719         (twobyte_uses_REPNZ_prefix): Likewise.
720         (twobyte_uses_REPZ_prefix): Likewise.
721         (threebyte_0x38_uses_DATA_prefix): Likewise.
722         (threebyte_0x38_uses_REPNZ_prefix): Likewise.
723         (threebyte_0x38_uses_REPZ_prefix): Likewise.
724         (threebyte_0x3a_uses_DATA_prefix): Likewise.
725         (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
726         (threebyte_0x3a_uses_REPZ_prefix): Likewise.
727         (grps): Use OPC_EXT_0...OPC_EXT_24.
728         (prefix_user_table): Add PREGRP98...PREGRP100.
729         (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
730         uses_REPNZ_prefix and uses_REPZ_prefix.  Initialize
731         repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
732         data_prefix based on prefixes.  Call get_valid_dis386 to
733         get a pointer to the valid dis386.  Print out prefixes if
734         they aren't NULL.
735         (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
736         (REP_Fixup): Set repz_prefix to "rep " when seeing
737         PREFIX_REPZ.
739 2007-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
741         * po/nl.po: Updated translation.
743 2007-08-28  H.J. Lu  <hongjiu.lu@intel.com>
745         * i386-dis.c (Md): New.
746         (grps): Use 0 on invlpg.  Use M on fxsave and fxrstor.  Use
747         Md on ldmxcsr and stmxcsr.  Use b_mode on clflush.
748         (OP_0fae): Clear bytemode for sfence.
750 2007-08-22  Ben Elliston  <bje@au.ibm.com>
752         * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
753         (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
754         (PPCPS): Likewise.
755         (powerpc_opcodes): Add all pair singles instructions.
756         * ppc-dis.c (powerpc_dialect): Handle "ppcps".
757         (print_ppc_disassembler_options): Document -Mppcps.
759 2007-08-21  Andreas Krebbel  <krebbel1@de.ibm.com>
761         * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
762         (s390_cond_ext_format): New global variable.
763         (expandConditionalJump): New function.
764         (main): Invoke expandConditionalJump for mnemonics containing '*'.      
765         * s390-opc.txt: Replace mnemonics with conditional
766         mask extensions with instructions using the newly introduced '*' tag.
768 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
770         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
772 2007-08-10  Nick Clifton  <nickc@redhat.com>
774         * po/fi.po: Updated Finnish translation.
775         * po/ga.po: Updated Irish translation.
776         * po/vi.po: Updated Vietnamese translation.
778 2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>
780         * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
781         pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
782         * i386-tbl.h: Regenerated.
784 2007-08-03  James E. Wilson  <wilson@specifix.com>
786         * ia64-gen.c: (main): Add missing newline to copyright message.
787         * ia64-ic.tbl (fp-non-arith): Add xmpy.
788         * ia64-asmtab.c: Regenerate.
789         
790 2007-08-01  Michael Snyder  <msnyder@access-company.com>
792         * i386-dis.c (print_insn): Guard against NULL.
794 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
796         PR binutils/4834
797         * i386-dis.c (EXw): New.
798         (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
799         instructions when appropriated.
801 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
803         PR binutils/4834
804         * i386-dis.c (Eq): New.
805         (EMC): Renamed to ...
806         (EMCq): This.  Use q_mode instead of v_mode.
807         (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
808         when appropriated.
810 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
812         * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
813         (prefix_user_table): Likewise.  Use EXq instead of EXx on
814         "movq".
816 2007-07-27  Nathan Sidwell  <nathan@codesourcery.com>
818         * ppc-opc (PPC7450): New.
819         (powerpc_opcodes): Use it in dcba.
821 2007-07-24  H.J. Lu  <hongjiu.lu@intel.com>
823         * i386-gen.c (main): Print a newline after copyright notice.
825 2007-07-19  Nick Clifton  <nickc@redhat.com>
827         PR binutils/4801
828         * maxq-dis.c (get_reg_name): Fix the scan of the
829         mem_access_syntax_table.
831 2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>
833         * i386-dis.c (EMq): Removed.
834         (EMx): New.
835         (prefix_user_table): Replace EMq with EMx.
837 2007-07-16  Nick Clifton  <nickc@redhat.com>
839         * po/nl.po: Updated translation.
841 2007-07-12  Nick Clifton  <nickc@redhat.com>
843         * po/vi.po: Updated translation.
844         * po/nl.po: Updated translation.
846 2007-07-06  Mark Kettenis  <kettenis@gnu.org>
847             H.J. Lu  <hongjiu.lu@intel.com>
849         * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
850         (ia64-asmtab.c): Likewise.
851         * Makefile.in: Regenerate.
853 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
855         * aclocal.m4: Regenerated.
857 2007-07-04  Nick Clifton  <nickc@redhat.com>
859         * alpha-dis.c: Update copyright notice to refer to GPLv3.
860         * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
861         arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
862         cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
863         cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
864         cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
865         d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
866         dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
867         h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
868         i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
869         ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
870         ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
871         ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
872         m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
873         m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
874         mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
875         mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
876         or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
877         ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
878         score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
879         sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
880         spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
881         tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
882         vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
883         z8k-dis.c, z8kgen.c: Likewise.
884         * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
885         * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
886         fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
887         frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
888         frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
889         ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
890         iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
891         iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
892         m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
893         m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
894         m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
895         mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
896         mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
897         mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
898         openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
899         openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
900         xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
901         xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
902         xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
903         xstormy16-opc.h, z8k-opc.h: Regenerated
905 2007-07-04  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
907         * cr16-dis.c (getcinvstring): Add const qualifier to char *
908         parameter.
909         (print_insn_cr16): Remove cast to char *.
911 2007-07-03  Nathan Sidwell  <nathan@codesourcery.com>
913         * m68k-dis.c (fetch_arg): Add E.  Replace length switch with
914         direct masking.
915         (print_ins_arg): Add j & K operand types.
916         (match_insn_m68k): Check and skip initial '.' arg character.
917         (m68k_scan_mask): Likewise.
918         * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
920 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
922         * Makefile.am: Run "make dep-am".
923         * Makefile.in: Regenerate.
924         * aclocal.m4: Regenerate.
925         * config.in: Regenerate.
926         * po/POTFILES.in: Regenerate.
927         * po/opcodes.pot: Regenerate.
929 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
931         * aclocal.m4: Regenerated.
932         * Makefile.in: Likewise.
934 2007-06-29  H.J. Lu  <hongjiu.lu@intel.com>
936         * i386-reg.tbl: Remove spaces before comments.
938 2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
940         * cr16-opc.c: New file.
941         * cr16-dis.c: New file.
942         * Makefile.am: Entries for cr16.
943         * Makefile.in: Regenerate.
944         * cofigure.in: Add cr16 target information.
945         * configure  : Regenerate.
946         * disassemble.c: Add cr16 target information.
948 2007-06-28  H.J. Lu  <hongjiu.lu@intel.com>
950         * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
951         (CFILES): Add i386-gen.c.
952         (i386-gen): New rule.
953         (i386-gen.o): Likewise.
954         (i386-tbl.h): Likewise.
955         Run "make dep-am".
956         * Makefile.in: Regenerated.
958         * i386-gen.c: New file.
959         * i386-opc.tbl: Likewise.
960         * i386-reg.tbl: Likewise.
961         * i386-tbl.h: Likewise.
963         * i386-opc.c: Include "i386-tbl.h".
964         (i386_optab): Removed.
965         (i386_regtab): Likewise.
966         (i386_regtab_size): Likewise.
968 2007-06-26  Paul Brook  <paul@codesourcery.com>
970         * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
972 2007-06-25  H.J. Lu  <hongjiu.lu@intel.com>
974         * i386-opc.h (regKludge): Renamed to ...
975         (RegKludge): This.
977         * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
979 2007-06-23  H.J. Lu  <hongjiu.lu@intel.com>
981         PR binutils/4667
982         * i386-dis.c (EX): Removed.
983         (EMd): New.
984         (EMq): Likewise.
985         (EXd): Likewise.
986         (EXq): Likewise.
987         (EXx): Likewise.
988         (PREGRP93...PREGRP97): Likewise.
989         (dis386_twobyte): Updated.
990         (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
991         (OP_EX): Remove Intel syntax handling.
993 2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
995         * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
997 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
999         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1001         * acinclude.m4: Removed.
1003         * Makefile.in: Regenerated.
1004         * doc/Makefile.in: Likewise.
1005         * aclocal.m4: Likewise.
1006         * configure: Likewise.
1008 2007-06-05  Paul Brook  <paul@codesourcery.com>
1010         * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
1012 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
1014         * Makefile.in: Regnerate.
1015         * configure: Regenerate.
1016         * aclocal.m4: Regenerate.
1018 2007-05-18  Alan Modra  <amodra@bigpond.net.au>
1020         * ppc-dis.c (print_insn_powerpc): Don't skip all operands
1021         after setting skip_optional.
1023 2007-05-16  Peter Bergner  <bergner@vnet.ibm.com>
1025         * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
1026         (print_insn_powerpc): Use the new operand_value_powerpc and
1027         skip_optional_operands functions to omit or print all optional
1028         operands as a group.
1029         * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
1030         (XFL_MASK): Delete L and W bits from the mask.
1031         (mtfsfi, mtfsfi.): Replace use of BF with BFF.  Relpace use of XRA_MASK
1032         with XWRA_MASK.  Use W.
1033         (mtfsf, mtfsf.): Use XFL_L and W.
1035 2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1037         PR binutils/4502
1038         * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
1040 2007-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1042         * i386-opc.h (ShortForm): Redefined.
1043         (Jump): Likewise.
1044         (JumpDword): Likewise.
1045         (JumpByte): Likewise.
1046         (JumpInterSegment): Likewise.
1047         (FloatMF): Likewise.
1048         (FloatR): Likewise.
1049         (FloatD): Likewise.
1050         (Size16): Likewise.
1051         (Size32): Likewise.
1052         (Size64): Likewise.
1053         (IgnoreSize): Likewise.
1054         (DefaultSize): Likewise.
1055         (No_bSuf): Likewise.
1056         (No_wSuf): Likewise.
1057         (No_lSuf): Likewise.
1058         (No_sSuf): Likewise.
1059         (No_qSuf): Likewise.
1060         (No_xSuf): Likewise.
1061         (FWait): Likewise.
1062         (IsString): Likewise.
1063         (regKludge): Likewise.
1064         (IsPrefix): Likewise.
1065         (ImmExt): Likewise.
1066         (NoRex64): Likewise.
1067         (Rex64): Likewise.
1068         (Ugh): Likewise.
1070 2007-05-07  H.J. Lu  <hongjiu.lu@intel.com>
1072         * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
1073         for some SSE4 instructions.
1074         (threebyte_0x3a_uses_DATA_prefix): Likewise.
1076 2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
1078         * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
1080         * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
1081         type for crc32.
1083 2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
1085         * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
1086         check data size prefix in 16bit mode.
1088         * i386-opc.c (i386_optab): Default crc32 to non-8bit and
1089         support Intel mode.
1091 2007-04-30  Mark Salter  <msalter@redhat.com>
1093         * frv-desc.c: Regenerate.
1094         * frv-desc.h: Regenerate.
1096 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
1098         PR 4436
1099         * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1101 2007-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1103         * i386-dis.c (modrm): Put reg before rm.
1105 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
1107         PR binutils/4430
1108         * i386-dis.c (print_displacement): New.
1109         (OP_E): Call print_displacement instead of print_operand_value
1110         to output displacement when either base or index exist.  Print
1111         the explicit zero displacement in 16bit mode.
1113 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
1115         PR binutils/4429
1116         * i386-dis.c (print_insn): Also swap the order of op_riprel
1117         when swapping op_index.  Break when the RIP relative address
1118         is printed.
1119         (OP_E): Properly handle RIP relative addressing and print the
1120         explicit zero displacement for Intel mode.
1122 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
1124         * Makefile.am: Run "make dep-am".
1125         * Makefile.in: Regenerate.
1126         * ns32k-dis.c: Include sysdep.h first.
1128 2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>
1130         * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1131         opcode.
1132         * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1134 2007-04-24  Nick Clifton  <nickc@redhat.com>
1136         * arm-dis.c (print_insn): Initialise type.
1138 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
1140         * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1141         * Makefile.am: Run "make dep-am".
1142         * Makefile.in: Regenerate.
1144 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
1146         * m68k-opc.c: Mark mcfisa_c instructions.
1148 2007-04-21  Richard Earnshaw  <rearnsha@arm.com>
1150         * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1151         (thumb_opcodes): Add missing white space in adr.
1152         (arm_decode_shift): New parameter, print_shift.  Only decode the
1153         shift parameter if set.  Adjust callers.
1154         (print_insn_arm): Support for operand type q with no shift decode.
1156 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
1158         * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1159         Move contents to..
1160         (i386_regtab): ..here.
1161         * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1163         * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1164         (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1165         (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1166         (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1168 2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
1170         * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1171         rambar1.
1173 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
1175         * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1176         change.
1177         * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1178         in all entries.  Add PPC_OPERAND_SIGNED to DE entry.  Remove
1179         references to following deleted functions.
1180         (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1181         (insert_ds, extract_ds, insert_de, extract_de): Delete.
1182         (insert_des, extract_des, insert_li, extract_li): Delete.
1183         (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1184         (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1185         (num_powerpc_operands): New constant.
1186         (XSPRG_MASK): Remove entire SPRG field.
1187         (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1189 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
1191         * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1192         (Z2_MASK): Define.
1193         (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1195 2007-04-20  Richard Earnshaw  <rearnsha@arm.com>
1197         * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1198         being disassembled.
1200 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
1202         * Makefile.am: Run "make dep-am".
1203         * Makefile.in: Regenerate.
1204         * po/POTFILES.in: Regenerate.
1206 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
1208         * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1209         db10cyc, db12cyc, db16cyc.
1211 2007-04-19  Nathan Froyd <froydnj@codesourcery.com>
1213         * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1215 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1217         * i386-dis.c (CRC32_Fixup): New.
1218         (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1219          PREGRP91): New.
1220         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1221         (threebyte_0x3a_uses_DATA_prefix): Likewise.
1222         (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1223         PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1224         (three_byte_table): Likewise.
1226         * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1228         * i386-opc.h (CpuSSE4_2): New.
1229         (CpuSSE4): Likewise.
1230         (CpuUnknownFlags): Add CpuSSE4_2.
1232 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1234         * i386-dis.c (XMM_Fixup): New.
1235         (Edqb): New.
1236         (Edqd): New.
1237         (XMM0): New.
1238         (dqb_mode): New.
1239         (dqd_mode): New.
1240         (PREGRP39 ... PREGRP85): New.
1241         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1242         (threebyte_0x3a_uses_DATA_prefix): Likewise.
1243         (prefix_user_table): Add PREGRP39 ... PREGRP85.
1244         (three_byte_table): Likewise.
1245         (putop): Handle 'K'.
1246         (intel_operand_size): Handle dqb_mode, dqd_mode):
1247         (OP_E): Likewise.
1248         (OP_G): Likewise.
1250         * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1252         * i386-opc.h (CpuSSE4_1): New.
1253         (CpuUnknownFlags): Add CpuSSE4_1.
1254         (regKludge): Update comment.
1256 2007-04-18  Matthias Klose  <doko@ubuntu.com>
1258         * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1259         * Makefile.in: Regenerate.
1261 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
1263         * Makefile.am: Add ACLOCAL_AMFLAGS.
1264         * Makefile.in: Regenerate.
1266 2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1268         * i386-dis.c: Remove trailing white spaces.
1269         * i386-opc.c: Likewise.
1270         * i386-opc.h: Likewise.
1272 2007-04-11  H.J. Lu  <hongjiu.lu@intel.com>
1274         PR binutils/4333
1275         * i386-dis.c (GRP1a): New.
1276         (GRP1b ... GRPPADLCK2): Update index.
1277         (dis386): Use GRP1a for entry 0x8f.
1278         (mod, rm, reg): Removed. Replaced by ...
1279         (modrm): This.
1280         (grps): Add GRP1a.
1282 2007-04-09  Kazu Hirata  <kazu@codesourcery.com>
1284         * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1285         info->print_address_func if longjmp is called.
1287 2007-03-29  DJ Delorie  <dj@redhat.com>
1289         * m32c-desc.c: Regenerate.
1290         * m32c-dis.c: Regenerate.
1291         * m32c-opc.c: Regenerate.
1293 2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
1295         * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1296         movq.  Remove InvMem from sldt, smsw and str.
1298         * i386-opc.h (InvMem): Renamed to ...
1299         (RegMem): Update comments.
1300         (AnyMem): Remove InvMem.
1302 2007-03-27  Paul Brook  <paul@codesourcery.com>
1304         * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1306 2007-03-24  Paul Brook  <paul@codesourcery.com>
1308         * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1309         (print_insn_coprocessor): Handle %<bitfield>x.
1311 2007-03-24  Paul Brook  <paul@codesourcery.com>
1312             Mark Shinwell  <shinwell@codesourcery.com>
1314         * arm-dis.c (arm_opcodes): Print SRS base register.
1316 2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1318         * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1320         * i386-opc.c (i386_optab): Add rex.wrxb.
1322 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1324         * i386-dis.c (REX_MODE64): Remove definition.
1325         (REX_EXTX): Likewise.
1326         (REX_EXTY): Likewise.
1327         (REX_EXTZ): Likewise.
1328         (USED_REX): Use REX_OPCODE instead of 0x40.
1329         Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1330         REX_R, REX_X and REX_B respectively.
1332 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1334         PR binutils/4218
1335         * i386-dis.c (PREGRP38): New.
1336         (dis386): Use PREGRP38 for 0x90.
1337         (prefix_user_table): Add PREGRP38.
1338         (print_insn): Set uses_REPZ_prefix to 1 for pause.
1339         (NOP_Fixup1): Properly handle REX bits.
1340         (NOP_Fixup2): Likewise.
1342         * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1343         Allow register with nop.
1345 2007-03-20  DJ Delorie  <dj@redhat.com>
1347         * m32c-asm.c: Regenerate.
1348         * m32c-desc.c: Regenerate.
1349         * m32c-desc.h: Regenerate.
1350         * m32c-dis.h: Regenerate.
1351         * m32c-ibld.c: Regenerate.
1352         * m32c-opc.c: Regenerate.
1353         * m32c-opc.h: Regenerate.
1355 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1357         * i386-opc.c: Include "libiberty.h".
1358         (i386_regtab): Remove the last entry.
1359         (i386_regtab_size): New.
1360         (i386_float_regtab_size): Likewise.
1362         * i386-opc.h (i386_regtab_size): New.
1363         (i386_float_regtab_size): Likewise.
1365 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1367         * Makefile.am (CFILES): Add i386-opc.c.
1368         (ALL_MACHINES): Add i386-opc.lo.
1369         Run "make dep-am".
1370         * Makefile.in: Regenerated.
1372         * configure.in: Add i386-opc.lo for bfd_i386_arch.
1373         * configure: Regenerated.
1375         * i386-dis.c: Include "opcode/i386.h".
1376         (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1377         (FWAIT_OPCODE): Remove definition.
1378         (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1379         (MAX_OPERANDS): Remove definition.
1381         * i386-opc.c: New file.
1382         * i386-opc.h: Likewise.
1384 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1386         * Makefile.in: Regenerated.
1388 2007-03-09  H.J. Lu  <hongjiu.lu@intel.com>
1390         * i386-dis.c (OP_Rd): Renamed to ...
1391         (OP_R): This.
1392         (Rd): Updated.
1393         (Rm): Likewise.
1395 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
1397         * fr30-asm.c: Regenerate.
1398         * frv-asm.c: Regenerate.
1399         * ip2k-asm.c: Regenerate.
1400         * iq2000-asm.c: Regenerate.
1401         * m32c-asm.c: Regenerate.
1402         * m32r-asm.c: Regenerate.
1403         * m32r-dis.c: Regenerate.
1404         * mt-asm.c: Regenerate.
1405         * mt-ibld.c: Regenerate.
1406         * mt-opc.c: Regenerate.
1407         * openrisc-asm.c: Regenerate.
1408         * xc16x-asm.c: Regenerate.
1409         * xstormy16-asm.c: Regenerate.
1411         * Makefile.am: Run "make dep-am".
1412         * Makefile.in: Regenerate.
1413         * po/POTFILES.in: Regenerate.
1415 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
1417         * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1418         INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1419         instruction formats added.
1420         (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1421         MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1422         masks added.
1423         * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1424         instructions added.
1425         * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1426         (main): z9-ec cpu type option added.
1427         * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1429 2007-02-22  DJ Delorie  <dj@redhat.com>
1431         * s390-opc.c (INSTR_SS_L2RDRD): New.
1432         (MASK_SS_L2RDRD): New.
1433         * s390-opc.txt (pka): Use it.
1435 2007-02-20  Thiemo Seufer  <ths@mips.com>
1436             Chao-Ying Fu  <fu@mips.com>
1438         * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1439         (print_insn_args): Add support for balign instruction.
1440         * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1441         (mips_builtin_opcodes): Add DSP R2 instructions.
1443 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
1445         * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1446         (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1447         * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1448         cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1450 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
1452         * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1453         * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1454         (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1455         and sfpc.
1457 2007-02-16  Nick Clifton  <nickc@redhat.com>
1459         PR binutils/4045
1460         * avr-dis.c (comment_start): New variable, contains the prefix to
1461         use when printing addresses in comments.
1462         (print_insn_avr): Set comment_start to an empty space if there is
1463         no symbol table available as the generic address printing code
1464         will prefix the numeric value of the address with 0x.
1466 2007-02-13  H.J. Lu  <hongjiu.lu@intel.com>
1468          * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1469          in struct dis386.
1471 2007-02-05  Dave Brolley  <brolley@redhat.com>
1472             Richard Sandiford  <rsandifo@redhat.com>
1473             DJ Delorie  <dj@redhat.com>
1474             Graydon Hoare  <graydon@redhat.com>
1475             Frank Ch. Eigler  <fche@redhat.com>
1476             Ben Elliston  <bje@redhat.com>
1478         * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1479         (CFILES): Add mep-*.c
1480         (ALL_MACHINES): Add mep-*.lo.
1481         (CLEANFILES): Add stamp-mep.
1482         (CGEN_CPUS): Add mep.
1483         (MEP_DEPS): New variable.
1484         (mep-*): New targets.
1485         * configure.in: Handle bfd_mep_arch.
1486         * disassemble.c (ARCH_mep): New macro.
1487         (disassembler): Handle bfd_arch_mep.
1488         (disassemble_init_for_target): Likewise.
1489         * mep-*: New files for Toshiba Media Processor (MeP).
1490         * Makefile.in: Regenerated.
1491         * configure: Regenerated.
1493 2007-02-05  H.J. Lu  <hongjiu.lu@intel.com>
1495         * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1496         wrap around within the same segment in 16bit mode.
1498 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1500         * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1501         prefix.
1503 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1505         * avr-dis.c (avr_operand): Correct PR number in comment.
1507 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1509         * disassemble.c (disassembler_usage): Call
1510         print_i386_disassembler_options for i386 disassembler.
1512         * i386-dis.c (print_i386_disassembler_options): New.
1513         (print_insn): Support the new addr64 option.
1515 2007-02-02  Hiroki Kaminaga  <kaminaga@sm.sony.co.jp>
1517         * ppc-dis.c (powerpc_dialect): Handle ppc440.
1518         * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1519         be used.
1521 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
1523         * ppc-opc.c (insert_bdm): -Many comment.
1524         (valid_bo): Add "extract" param.  Accept both powerpc and power4
1525         BO fields when disassembling with -Many.
1526         (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1528 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
1530         * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1531         cpu32 | fido_a except on tbl instructions.
1533 2007-01-04  Paul Brook  <paul@codesourcery.com>
1535         * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1537 2007-01-04  Andreas Schwab  <schwab@suse.de>
1539         * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1541 2007-01-04  Julian Brown  <julian@codesourcery.com>
1543         * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1544         vqrshl instructions.
1546 For older changes see ChangeLog-2006
1548 Local Variables:
1549 mode: change-log
1550 left-margin: 8
1551 fill-column: 74
1552 version-control: never
1553 End: