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