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