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