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