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