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