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