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