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