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