2007-09-06 H.J. Lu <hongjiu.lu@intel.com>
[external/binutils.git] / opcodes / ChangeLog
1 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * i386-gen.c (table): Moved ...
4         (main): Here.  Call process_copyright to output copyright.
5         (process_copyright): New.
6         (process_i386_opcodes): Take FILE *table.
7         (process_i386_registers): Likewise.
8
9 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10
11         * i386-gen.c (table): New.
12         (process_i386_opcodes): Report errno when faied to open
13         i386-opc.tbl.  Output opcodes to table.  Close i386-opc.tbl
14         before return.
15         (process_i386_registers): Report errno when faied to open
16         i386-reg.tbl.  Output opcodes to table.  Close i386-reg.tbl
17         before return.
18         (main): Open i386-tbl.h for output.
19
20         * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
21         * Makefile.in: Regenerated.
22
23 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24
25         * i386-opc.tbl: Correct SVME instructions to allow 32bit register
26         operand in 64bit mode.
27         * i386-tbl.h: Regenerated.
28
29 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
30
31         * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
32         (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
33         (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
34
35 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
36
37         * i386-dis.c (SVME_Fixup): Removed.
38         (OPC_EXT_39): New.
39         (OPC_EXT_RM_6): Likewise.
40         (grps): Use OPC_EXT_39.
41         (opc_ext_table): Add OPC_EXT_39.
42         (opc_ext_rm_table): Add OPC_EXT_RM_6.
43
44         * i386-opc.tbl: Correct SVME instructions to take register
45         operand only.
46         * i386-tbl.h: Regenerated.
47
48 2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>
49
50         * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
51         * Makefile.in: Regenerated.
52
53         * configure.in (AC_GNU_SOURCE): Added.
54         (AC_PROG_CC): Moved before AC_GNU_SOURCE.
55         (AC_CHECK_DECLS): Add stpcpy.
56         * configure: Regenerated.
57         * config.in: Likewise.
58
59         * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
60
61         * sysdep.h (stpcpy): New.
62
63 2007-08-30  H.J. Lu  <hongjiu.lu@intel.com>
64
65         * i386-dis.c (INVLPG_Fixup): Removed.
66         (OPC_EXT_38): New.
67         (OPC_EXT_RM_5): Likewise.
68         (grps): Use OPC_EXT_38.
69         (opc_ext_table): Add OPC_EXT_38.
70         (opc_ext_rm_table): Add OPC_EXT_RM_5.
71
72 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
73
74         * i386-dis.c (SIMD_Fixup): Removed.
75         (OPC_EXT_34...OPC_EXT_37): New.
76         (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
77         (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
78         (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
79
80 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
81
82         * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
83         (dis386): Use OPC_EXT_0...OPC_EXT_2.
84         (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
85         (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
86         (prefix_user_table): Use OPC_EXT_32.
87         (x86_64_table): Use OPC_EXT_33.
88         (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
89
90 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
91
92         * i386-dis.c (prefix_user_table): Fix comment.
93
94 2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>
95
96         * i386-dis.c (OP_Skip_MODRM): New.
97         (OP_Monitor): Likewise.
98         (OP_Mwait): Likewise.
99         (Mb): Likewise.
100         (Skip_MODRM): Likewise.
101         (USE_OPC_EXT_TABLE): Likewise.
102         (USE_OPC_EXT_RM_TABLE): Likewise.
103         (PREGRP98...PREGRP100): Likewise.
104         (OPC_EXT_0...OPC_EXT_24): Likewise.
105         (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
106         (lock_prefix): Likewise.
107         (data_prefix): Likewise.
108         (addr_prefix): Likewise.
109         (repz_prefix): Likewise.
110         (repnz_prefix): Likewise.
111         (opc_ext_table): Likewise.
112         (opc_ext_rm_table): Likewise.
113         (get_valid_dis386): Likewise.
114         (OP_VMX): Removed.
115         (OP_0fae): Likewise.
116         (PNI_Fixup): Likewise.
117         (VMX_Fixup): Likewise.
118         (VM): Likewise.
119         (twobyte_uses_DATA_prefix): Likewise.
120         (twobyte_uses_REPNZ_prefix): Likewise.
121         (twobyte_uses_REPZ_prefix): Likewise.
122         (threebyte_0x38_uses_DATA_prefix): Likewise.
123         (threebyte_0x38_uses_REPNZ_prefix): Likewise.
124         (threebyte_0x38_uses_REPZ_prefix): Likewise.
125         (threebyte_0x3a_uses_DATA_prefix): Likewise.
126         (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
127         (threebyte_0x3a_uses_REPZ_prefix): Likewise.
128         (grps): Use OPC_EXT_0...OPC_EXT_24.
129         (prefix_user_table): Add PREGRP98...PREGRP100.
130         (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
131         uses_REPNZ_prefix and uses_REPZ_prefix.  Initialize
132         repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
133         data_prefix based on prefixes.  Call get_valid_dis386 to
134         get a pointer to the valid dis386.  Print out prefixes if
135         they aren't NULL.
136         (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
137         (REP_Fixup): Set repz_prefix to "rep " when seeing
138         PREFIX_REPZ.
139
140 2007-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
141
142         * po/nl.po: Updated translation.
143
144 2007-08-28  H.J. Lu  <hongjiu.lu@intel.com>
145
146         * i386-dis.c (Md): New.
147         (grps): Use 0 on invlpg.  Use M on fxsave and fxrstor.  Use
148         Md on ldmxcsr and stmxcsr.  Use b_mode on clflush.
149         (OP_0fae): Clear bytemode for sfence.
150
151 2007-08-22  Ben Elliston  <bje@au.ibm.com>
152
153         * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
154         (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
155         (PPCPS): Likewise.
156         (powerpc_opcodes): Add all pair singles instructions.
157         * ppc-dis.c (powerpc_dialect): Handle "ppcps".
158         (print_ppc_disassembler_options): Document -Mppcps.
159
160 2007-08-21  Andreas Krebbel  <krebbel1@de.ibm.com>
161
162         * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
163         (s390_cond_ext_format): New global variable.
164         (expandConditionalJump): New function.
165         (main): Invoke expandConditionalJump for mnemonics containing '*'.      
166         * s390-opc.txt: Replace mnemonics with conditional
167         mask extensions with instructions using the newly introduced '*' tag.
168
169 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
170
171         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
172
173 2007-08-10  Nick Clifton  <nickc@redhat.com>
174
175         * po/fi.po: Updated Finnish translation.
176         * po/ga.po: Updated Irish translation.
177         * po/vi.po: Updated Vietnamese translation.
178
179 2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>
180
181         * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
182         pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
183         * i386-tbl.h: Regenerated.
184
185 2007-08-03  James E. Wilson  <wilson@specifix.com>
186
187         * ia64-gen.c: (main): Add missing newline to copyright message.
188         * ia64-ic.tbl (fp-non-arith): Add xmpy.
189         * ia64-asmtab.c: Regenerate.
190         
191 2007-08-01  Michael Snyder  <msnyder@access-company.com>
192
193         * i386-dis.c (print_insn): Guard against NULL.
194
195 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
196
197         PR binutils/4834
198         * i386-dis.c (EXw): New.
199         (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
200         instructions when appropriated.
201
202 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
203
204         PR binutils/4834
205         * i386-dis.c (Eq): New.
206         (EMC): Renamed to ...
207         (EMCq): This.  Use q_mode instead of v_mode.
208         (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
209         when appropriated.
210
211 2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>
212
213         * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
214         (prefix_user_table): Likewise.  Use EXq instead of EXx on
215         "movq".
216
217 2007-07-27  Nathan Sidwell  <nathan@codesourcery.com>
218
219         * ppc-opc (PPC7450): New.
220         (powerpc_opcodes): Use it in dcba.
221
222 2007-07-24  H.J. Lu  <hongjiu.lu@intel.com>
223
224         * i386-gen.c (main): Print a newline after copyright notice.
225
226 2007-07-19  Nick Clifton  <nickc@redhat.com>
227
228         PR binutils/4801
229         * maxq-dis.c (get_reg_name): Fix the scan of the
230         mem_access_syntax_table.
231
232 2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>
233
234         * i386-dis.c (EMq): Removed.
235         (EMx): New.
236         (prefix_user_table): Replace EMq with EMx.
237
238 2007-07-16  Nick Clifton  <nickc@redhat.com>
239
240         * po/nl.po: Updated translation.
241
242 2007-07-12  Nick Clifton  <nickc@redhat.com>
243
244         * po/vi.po: Updated translation.
245         * po/nl.po: Updated translation.
246
247 2007-07-06  Mark Kettenis  <kettenis@gnu.org>
248             H.J. Lu  <hongjiu.lu@intel.com>
249
250         * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
251         (ia64-asmtab.c): Likewise.
252         * Makefile.in: Regenerate.
253
254 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
255
256         * aclocal.m4: Regenerated.
257
258 2007-07-04  Nick Clifton  <nickc@redhat.com>
259
260         * alpha-dis.c: Update copyright notice to refer to GPLv3.
261         * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
262         arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
263         cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
264         cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
265         cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
266         d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
267         dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
268         h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
269         i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
270         ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
271         ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
272         ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
273         m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
274         m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
275         mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
276         mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
277         or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
278         ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
279         score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
280         sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
281         spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
282         tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
283         vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
284         z8k-dis.c, z8kgen.c: Likewise.
285         * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
286         * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
287         fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
288         frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
289         frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
290         ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
291         iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
292         iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
293         m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
294         m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
295         m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
296         mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
297         mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
298         mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
299         openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
300         openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
301         xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
302         xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
303         xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
304         xstormy16-opc.h, z8k-opc.h: Regenerated
305
306 2007-07-04  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
307
308         * cr16-dis.c (getcinvstring): Add const qualifier to char *
309         parameter.
310         (print_insn_cr16): Remove cast to char *.
311
312 2007-07-03  Nathan Sidwell  <nathan@codesourcery.com>
313
314         * m68k-dis.c (fetch_arg): Add E.  Replace length switch with
315         direct masking.
316         (print_ins_arg): Add j & K operand types.
317         (match_insn_m68k): Check and skip initial '.' arg character.
318         (m68k_scan_mask): Likewise.
319         * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
320
321 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
322
323         * Makefile.am: Run "make dep-am".
324         * Makefile.in: Regenerate.
325         * aclocal.m4: Regenerate.
326         * config.in: Regenerate.
327         * po/POTFILES.in: Regenerate.
328         * po/opcodes.pot: Regenerate.
329
330 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
331
332         * aclocal.m4: Regenerated.
333         * Makefile.in: Likewise.
334
335 2007-06-29  H.J. Lu  <hongjiu.lu@intel.com>
336
337         * i386-reg.tbl: Remove spaces before comments.
338
339 2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
340
341         * cr16-opc.c: New file.
342         * cr16-dis.c: New file.
343         * Makefile.am: Entries for cr16.
344         * Makefile.in: Regenerate.
345         * cofigure.in: Add cr16 target information.
346         * configure  : Regenerate.
347         * disassemble.c: Add cr16 target information.
348
349 2007-06-28  H.J. Lu  <hongjiu.lu@intel.com>
350
351         * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
352         (CFILES): Add i386-gen.c.
353         (i386-gen): New rule.
354         (i386-gen.o): Likewise.
355         (i386-tbl.h): Likewise.
356         Run "make dep-am".
357         * Makefile.in: Regenerated.
358
359         * i386-gen.c: New file.
360         * i386-opc.tbl: Likewise.
361         * i386-reg.tbl: Likewise.
362         * i386-tbl.h: Likewise.
363
364         * i386-opc.c: Include "i386-tbl.h".
365         (i386_optab): Removed.
366         (i386_regtab): Likewise.
367         (i386_regtab_size): Likewise.
368
369 2007-06-26  Paul Brook  <paul@codesourcery.com>
370
371         * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
372
373 2007-06-25  H.J. Lu  <hongjiu.lu@intel.com>
374
375         * i386-opc.h (regKludge): Renamed to ...
376         (RegKludge): This.
377
378         * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
379
380 2007-06-23  H.J. Lu  <hongjiu.lu@intel.com>
381
382         PR binutils/4667
383         * i386-dis.c (EX): Removed.
384         (EMd): New.
385         (EMq): Likewise.
386         (EXd): Likewise.
387         (EXq): Likewise.
388         (EXx): Likewise.
389         (PREGRP93...PREGRP97): Likewise.
390         (dis386_twobyte): Updated.
391         (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
392         (OP_EX): Remove Intel syntax handling.
393
394 2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
395
396         * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
397
398 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
399
400         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
401
402         * acinclude.m4: Removed.
403
404         * Makefile.in: Regenerated.
405         * doc/Makefile.in: Likewise.
406         * aclocal.m4: Likewise.
407         * configure: Likewise.
408
409 2007-06-05  Paul Brook  <paul@codesourcery.com>
410
411         * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
412
413 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
414
415         * Makefile.in: Regnerate.
416         * configure: Regenerate.
417         * aclocal.m4: Regenerate.
418
419 2007-05-18  Alan Modra  <amodra@bigpond.net.au>
420
421         * ppc-dis.c (print_insn_powerpc): Don't skip all operands
422         after setting skip_optional.
423
424 2007-05-16  Peter Bergner  <bergner@vnet.ibm.com>
425
426         * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
427         (print_insn_powerpc): Use the new operand_value_powerpc and
428         skip_optional_operands functions to omit or print all optional
429         operands as a group.
430         * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
431         (XFL_MASK): Delete L and W bits from the mask.
432         (mtfsfi, mtfsfi.): Replace use of BF with BFF.  Relpace use of XRA_MASK
433         with XWRA_MASK.  Use W.
434         (mtfsf, mtfsf.): Use XFL_L and W.
435
436 2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>
437
438         PR binutils/4502
439         * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
440
441 2007-05-10  H.J. Lu  <hongjiu.lu@intel.com>
442
443         * i386-opc.h (ShortForm): Redefined.
444         (Jump): Likewise.
445         (JumpDword): Likewise.
446         (JumpByte): Likewise.
447         (JumpInterSegment): Likewise.
448         (FloatMF): Likewise.
449         (FloatR): Likewise.
450         (FloatD): Likewise.
451         (Size16): Likewise.
452         (Size32): Likewise.
453         (Size64): Likewise.
454         (IgnoreSize): Likewise.
455         (DefaultSize): Likewise.
456         (No_bSuf): Likewise.
457         (No_wSuf): Likewise.
458         (No_lSuf): Likewise.
459         (No_sSuf): Likewise.
460         (No_qSuf): Likewise.
461         (No_xSuf): Likewise.
462         (FWait): Likewise.
463         (IsString): Likewise.
464         (regKludge): Likewise.
465         (IsPrefix): Likewise.
466         (ImmExt): Likewise.
467         (NoRex64): Likewise.
468         (Rex64): Likewise.
469         (Ugh): Likewise.
470
471 2007-05-07  H.J. Lu  <hongjiu.lu@intel.com>
472
473         * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
474         for some SSE4 instructions.
475         (threebyte_0x3a_uses_DATA_prefix): Likewise.
476
477 2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
478
479         * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
480
481         * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
482         type for crc32.
483
484 2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
485
486         * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
487         check data size prefix in 16bit mode.
488
489         * i386-opc.c (i386_optab): Default crc32 to non-8bit and
490         support Intel mode.
491
492 2007-04-30  Mark Salter  <msalter@redhat.com>
493
494         * frv-desc.c: Regenerate.
495         * frv-desc.h: Regenerate.
496
497 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
498
499         PR 4436
500         * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
501
502 2007-04-27  H.J. Lu  <hongjiu.lu@intel.com>
503
504         * i386-dis.c (modrm): Put reg before rm.
505
506 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
507
508         PR binutils/4430
509         * i386-dis.c (print_displacement): New.
510         (OP_E): Call print_displacement instead of print_operand_value
511         to output displacement when either base or index exist.  Print
512         the explicit zero displacement in 16bit mode.
513
514 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
515
516         PR binutils/4429
517         * i386-dis.c (print_insn): Also swap the order of op_riprel
518         when swapping op_index.  Break when the RIP relative address
519         is printed.
520         (OP_E): Properly handle RIP relative addressing and print the
521         explicit zero displacement for Intel mode.
522
523 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
524
525         * Makefile.am: Run "make dep-am".
526         * Makefile.in: Regenerate.
527         * ns32k-dis.c: Include sysdep.h first.
528
529 2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>
530
531         * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
532         opcode.
533         * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
534
535 2007-04-24  Nick Clifton  <nickc@redhat.com>
536
537         * arm-dis.c (print_insn): Initialise type.
538
539 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
540
541         * cgen-types.h: Include bfd_stdint.h, not stdint.h.
542         * Makefile.am: Run "make dep-am".
543         * Makefile.in: Regenerate.
544
545 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
546
547         * m68k-opc.c: Mark mcfisa_c instructions.
548
549 2007-04-21  Richard Earnshaw  <rearnsha@arm.com>
550
551         * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
552         (thumb_opcodes): Add missing white space in adr.
553         (arm_decode_shift): New parameter, print_shift.  Only decode the
554         shift parameter if set.  Adjust callers.
555         (print_insn_arm): Support for operand type q with no shift decode.
556
557 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
558
559         * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
560         Move contents to..
561         (i386_regtab): ..here.
562         * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
563
564         * ppc-opc.c (powerpc_operands): Delete duplicate entries.
565         (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
566         (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
567         (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
568
569 2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
570
571         * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
572         rambar1.
573
574 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
575
576         * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
577         change.
578         * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
579         in all entries.  Add PPC_OPERAND_SIGNED to DE entry.  Remove
580         references to following deleted functions.
581         (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
582         (insert_ds, extract_ds, insert_de, extract_de): Delete.
583         (insert_des, extract_des, insert_li, extract_li): Delete.
584         (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
585         (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
586         (num_powerpc_operands): New constant.
587         (XSPRG_MASK): Remove entire SPRG field.
588         (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
589
590 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
591
592         * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
593         (Z2_MASK): Define.
594         (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
595
596 2007-04-20  Richard Earnshaw  <rearnsha@arm.com>
597
598         * arm-dis.c (print_insn): Only look for a mapping symbol in the section
599         being disassembled.
600
601 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
602
603         * Makefile.am: Run "make dep-am".
604         * Makefile.in: Regenerate.
605         * po/POTFILES.in: Regenerate.
606
607 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
608
609         * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
610         db10cyc, db12cyc, db16cyc.
611
612 2007-04-19  Nathan Froyd <froydnj@codesourcery.com>
613
614         * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
615
616 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
617
618         * i386-dis.c (CRC32_Fixup): New.
619         (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
620          PREGRP91): New.
621         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
622         (threebyte_0x3a_uses_DATA_prefix): Likewise.
623         (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
624         PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
625         (three_byte_table): Likewise.
626
627         * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
628
629         * i386-opc.h (CpuSSE4_2): New.
630         (CpuSSE4): Likewise.
631         (CpuUnknownFlags): Add CpuSSE4_2.
632
633 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
634
635         * i386-dis.c (XMM_Fixup): New.
636         (Edqb): New.
637         (Edqd): New.
638         (XMM0): New.
639         (dqb_mode): New.
640         (dqd_mode): New.
641         (PREGRP39 ... PREGRP85): New.
642         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
643         (threebyte_0x3a_uses_DATA_prefix): Likewise.
644         (prefix_user_table): Add PREGRP39 ... PREGRP85.
645         (three_byte_table): Likewise.
646         (putop): Handle 'K'.
647         (intel_operand_size): Handle dqb_mode, dqd_mode):
648         (OP_E): Likewise.
649         (OP_G): Likewise.
650
651         * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
652
653         * i386-opc.h (CpuSSE4_1): New.
654         (CpuUnknownFlags): Add CpuSSE4_1.
655         (regKludge): Update comment.
656
657 2007-04-18  Matthias Klose  <doko@ubuntu.com>
658
659         * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
660         * Makefile.in: Regenerate.
661
662 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
663
664         * Makefile.am: Add ACLOCAL_AMFLAGS.
665         * Makefile.in: Regenerate.
666
667 2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
668
669         * i386-dis.c: Remove trailing white spaces.
670         * i386-opc.c: Likewise.
671         * i386-opc.h: Likewise.
672
673 2007-04-11  H.J. Lu  <hongjiu.lu@intel.com>
674
675         PR binutils/4333
676         * i386-dis.c (GRP1a): New.
677         (GRP1b ... GRPPADLCK2): Update index.
678         (dis386): Use GRP1a for entry 0x8f.
679         (mod, rm, reg): Removed. Replaced by ...
680         (modrm): This.
681         (grps): Add GRP1a.
682
683 2007-04-09  Kazu Hirata  <kazu@codesourcery.com>
684
685         * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
686         info->print_address_func if longjmp is called.
687
688 2007-03-29  DJ Delorie  <dj@redhat.com>
689
690         * m32c-desc.c: Regenerate.
691         * m32c-dis.c: Regenerate.
692         * m32c-opc.c: Regenerate.
693
694 2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
695
696         * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
697         movq.  Remove InvMem from sldt, smsw and str.
698
699         * i386-opc.h (InvMem): Renamed to ...
700         (RegMem): Update comments.
701         (AnyMem): Remove InvMem.
702
703 2007-03-27  Paul Brook  <paul@codesourcery.com>
704
705         * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
706
707 2007-03-24  Paul Brook  <paul@codesourcery.com>
708
709         * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
710         (print_insn_coprocessor): Handle %<bitfield>x.
711
712 2007-03-24  Paul Brook  <paul@codesourcery.com>
713             Mark Shinwell  <shinwell@codesourcery.com>
714
715         * arm-dis.c (arm_opcodes): Print SRS base register.
716
717 2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
718
719         * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
720
721         * i386-opc.c (i386_optab): Add rex.wrxb.
722
723 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
724
725         * i386-dis.c (REX_MODE64): Remove definition.
726         (REX_EXTX): Likewise.
727         (REX_EXTY): Likewise.
728         (REX_EXTZ): Likewise.
729         (USED_REX): Use REX_OPCODE instead of 0x40.
730         Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
731         REX_R, REX_X and REX_B respectively.
732
733 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
734
735         PR binutils/4218
736         * i386-dis.c (PREGRP38): New.
737         (dis386): Use PREGRP38 for 0x90.
738         (prefix_user_table): Add PREGRP38.
739         (print_insn): Set uses_REPZ_prefix to 1 for pause.
740         (NOP_Fixup1): Properly handle REX bits.
741         (NOP_Fixup2): Likewise.
742
743         * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
744         Allow register with nop.
745
746 2007-03-20  DJ Delorie  <dj@redhat.com>
747
748         * m32c-asm.c: Regenerate.
749         * m32c-desc.c: Regenerate.
750         * m32c-desc.h: Regenerate.
751         * m32c-dis.h: Regenerate.
752         * m32c-ibld.c: Regenerate.
753         * m32c-opc.c: Regenerate.
754         * m32c-opc.h: Regenerate.
755
756 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
757
758         * i386-opc.c: Include "libiberty.h".
759         (i386_regtab): Remove the last entry.
760         (i386_regtab_size): New.
761         (i386_float_regtab_size): Likewise.
762
763         * i386-opc.h (i386_regtab_size): New.
764         (i386_float_regtab_size): Likewise.
765
766 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
767
768         * Makefile.am (CFILES): Add i386-opc.c.
769         (ALL_MACHINES): Add i386-opc.lo.
770         Run "make dep-am".
771         * Makefile.in: Regenerated.
772
773         * configure.in: Add i386-opc.lo for bfd_i386_arch.
774         * configure: Regenerated.
775
776         * i386-dis.c: Include "opcode/i386.h".
777         (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
778         (FWAIT_OPCODE): Remove definition.
779         (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
780         (MAX_OPERANDS): Remove definition.
781
782         * i386-opc.c: New file.
783         * i386-opc.h: Likewise.
784
785 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
786
787         * Makefile.in: Regenerated.
788
789 2007-03-09  H.J. Lu  <hongjiu.lu@intel.com>
790
791         * i386-dis.c (OP_Rd): Renamed to ...
792         (OP_R): This.
793         (Rd): Updated.
794         (Rm): Likewise.
795
796 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
797
798         * fr30-asm.c: Regenerate.
799         * frv-asm.c: Regenerate.
800         * ip2k-asm.c: Regenerate.
801         * iq2000-asm.c: Regenerate.
802         * m32c-asm.c: Regenerate.
803         * m32r-asm.c: Regenerate.
804         * m32r-dis.c: Regenerate.
805         * mt-asm.c: Regenerate.
806         * mt-ibld.c: Regenerate.
807         * mt-opc.c: Regenerate.
808         * openrisc-asm.c: Regenerate.
809         * xc16x-asm.c: Regenerate.
810         * xstormy16-asm.c: Regenerate.
811
812         * Makefile.am: Run "make dep-am".
813         * Makefile.in: Regenerate.
814         * po/POTFILES.in: Regenerate.
815
816 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
817
818         * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
819         INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
820         instruction formats added.
821         (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
822         MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
823         masks added.
824         * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
825         instructions added.
826         * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
827         (main): z9-ec cpu type option added.
828         * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
829
830 2007-02-22  DJ Delorie  <dj@redhat.com>
831
832         * s390-opc.c (INSTR_SS_L2RDRD): New.
833         (MASK_SS_L2RDRD): New.
834         * s390-opc.txt (pka): Use it.
835
836 2007-02-20  Thiemo Seufer  <ths@mips.com>
837             Chao-Ying Fu  <fu@mips.com>
838
839         * mips-dis.c (mips_arch_choices): Add DSP R2 support.
840         (print_insn_args): Add support for balign instruction.
841         * mips-opc.c (D33): New shortcut for DSP R2 instructions.
842         (mips_builtin_opcodes): Add DSP R2 instructions.
843
844 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
845
846         * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
847         (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
848         * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
849         cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
850
851 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
852
853         * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
854         * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
855         (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
856         and sfpc.
857
858 2007-02-16  Nick Clifton  <nickc@redhat.com>
859
860         PR binutils/4045
861         * avr-dis.c (comment_start): New variable, contains the prefix to
862         use when printing addresses in comments.
863         (print_insn_avr): Set comment_start to an empty space if there is
864         no symbol table available as the generic address printing code
865         will prefix the numeric value of the address with 0x.
866
867 2007-02-13  H.J. Lu  <hongjiu.lu@intel.com>
868
869          * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
870          in struct dis386.
871
872 2007-02-05  Dave Brolley  <brolley@redhat.com>
873             Richard Sandiford  <rsandifo@redhat.com>
874             DJ Delorie  <dj@redhat.com>
875             Graydon Hoare  <graydon@redhat.com>
876             Frank Ch. Eigler  <fche@redhat.com>
877             Ben Elliston  <bje@redhat.com>
878
879         * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
880         (CFILES): Add mep-*.c
881         (ALL_MACHINES): Add mep-*.lo.
882         (CLEANFILES): Add stamp-mep.
883         (CGEN_CPUS): Add mep.
884         (MEP_DEPS): New variable.
885         (mep-*): New targets.
886         * configure.in: Handle bfd_mep_arch.
887         * disassemble.c (ARCH_mep): New macro.
888         (disassembler): Handle bfd_arch_mep.
889         (disassemble_init_for_target): Likewise.
890         * mep-*: New files for Toshiba Media Processor (MeP).
891         * Makefile.in: Regenerated.
892         * configure: Regenerated.
893
894 2007-02-05  H.J. Lu  <hongjiu.lu@intel.com>
895
896         * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
897         wrap around within the same segment in 16bit mode.
898
899 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
900
901         * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
902         prefix.
903
904 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
905
906         * avr-dis.c (avr_operand): Correct PR number in comment.
907
908 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
909
910         * disassemble.c (disassembler_usage): Call
911         print_i386_disassembler_options for i386 disassembler.
912
913         * i386-dis.c (print_i386_disassembler_options): New.
914         (print_insn): Support the new addr64 option.
915
916 2007-02-02  Hiroki Kaminaga  <kaminaga@sm.sony.co.jp>
917
918         * ppc-dis.c (powerpc_dialect): Handle ppc440.
919         * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
920         be used.
921
922 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
923
924         * ppc-opc.c (insert_bdm): -Many comment.
925         (valid_bo): Add "extract" param.  Accept both powerpc and power4
926         BO fields when disassembling with -Many.
927         (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
928
929 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
930
931         * m68k-opc.c (m68k_opcodes): Replace cpu32 with
932         cpu32 | fido_a except on tbl instructions.
933
934 2007-01-04  Paul Brook  <paul@codesourcery.com>
935
936         * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
937
938 2007-01-04  Andreas Schwab  <schwab@suse.de>
939
940         * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
941
942 2007-01-04  Julian Brown  <julian@codesourcery.com>
943
944         * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
945         vqrshl instructions.
946
947 For older changes see ChangeLog-2006
948 \f
949 Local Variables:
950 mode: change-log
951 left-margin: 8
952 fill-column: 74
953 version-control: never
954 End: