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