OSDN Git Service

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