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