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