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