2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
[platform/upstream/binutils.git] / opcodes / ChangeLog
1 2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>
2
3         * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
4         opcode.
5         * opcodes/s390-opc.txt (pfpo, ectg, csst): New z9-ec instructions added.
6 2007-04-24  Nick Clifton  <nickc@redhat.com>
7
8         * arm-dis.c (print_insn): Initialise type.
9
10 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
11
12         * cgen-types.h: Include bfd_stdint.h, not stdint.h.
13         * Makefile.am: Run "make dep-am".
14         * Makefile.in: Regenerate.
15
16 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
17
18         * m68k-opc.c: Mark mcfisa_c instructions.
19
20 2007-04-21  Richard Earnshaw  <rearnsha@arm.com>
21
22         * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
23         (thumb_opcodes): Add missing white space in adr.
24         (arm_decode_shift): New parameter, print_shift.  Only decode the 
25         shift parameter if set.  Adjust callers.
26         (print_insn_arm): Support for operand type q with no shift decode.
27
28 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
29
30         * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
31         Move contents to..
32         (i386_regtab): ..here.
33         * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
34
35         * ppc-opc.c (powerpc_operands): Delete duplicate entries.
36         (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
37         (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
38         (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
39
40 2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
41
42         * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
43         rambar1.
44
45 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
46
47         * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
48         change.
49         * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
50         in all entries.  Add PPC_OPERAND_SIGNED to DE entry.  Remove
51         references to following deleted functions.
52         (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
53         (insert_ds, extract_ds, insert_de, extract_de): Delete.
54         (insert_des, extract_des, insert_li, extract_li): Delete.
55         (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
56         (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
57         (num_powerpc_operands): New constant.
58         (XSPRG_MASK): Remove entire SPRG field.
59         (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
60
61 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
62
63         * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
64         (Z2_MASK): Define.
65         (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
66
67 2007-04-20  Richard Earnshaw  <rearnsha@arm.com>
68
69         * arm-dis.c (print_insn): Only look for a mapping symbol in the section
70         being disassembled.
71
72 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
73
74         * Makefile.am: Run "make dep-am".
75         * Makefile.in: Regenerate.
76         * po/POTFILES.in: Regenerate.
77
78 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
79
80         * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
81         db10cyc, db12cyc, db16cyc.
82
83 2007-04-19  Nathan Froyd <froydnj@codesourcery.com>
84
85         * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
86
87 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
88
89         * i386-dis.c (CRC32_Fixup): New.
90         (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
91          PREGRP91): New.
92         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
93         (threebyte_0x3a_uses_DATA_prefix): Likewise.
94         (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
95         PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
96         (three_byte_table): Likewise.
97
98         * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
99
100         * i386-opc.h (CpuSSE4_2): New.
101         (CpuSSE4): Likewise.
102         (CpuUnknownFlags): Add CpuSSE4_2.
103
104 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
105
106         * i386-dis.c (XMM_Fixup): New.
107         (Edqb): New.
108         (Edqd): New.
109         (XMM0): New.
110         (dqb_mode): New.
111         (dqd_mode): New.
112         (PREGRP39 ... PREGRP85): New.
113         (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
114         (threebyte_0x3a_uses_DATA_prefix): Likewise.
115         (prefix_user_table): Add PREGRP39 ... PREGRP85.
116         (three_byte_table): Likewise.
117         (putop): Handle 'K'.
118         (intel_operand_size): Handle dqb_mode, dqd_mode):
119         (OP_E): Likewise.
120         (OP_G): Likewise.
121
122         * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
123
124         * i386-opc.h (CpuSSE4_1): New.
125         (CpuUnknownFlags): Add CpuSSE4_1.
126         (regKludge): Update comment.
127
128 2007-04-18  Matthias Klose  <doko@ubuntu.com>
129
130         * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
131         * Makefile.in: Regenerate.
132
133 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
134
135         * Makefile.am: Add ACLOCAL_AMFLAGS.
136         * Makefile.in: Regenerate.
137
138 2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
139
140         * i386-dis.c: Remove trailing white spaces.
141         * i386-opc.c: Likewise.
142         * i386-opc.h: Likewise.
143
144 2007-04-11  H.J. Lu  <hongjiu.lu@intel.com>
145
146         PR binutils/4333
147         * i386-dis.c (GRP1a): New.
148         (GRP1b ... GRPPADLCK2): Update index.
149         (dis386): Use GRP1a for entry 0x8f.
150         (mod, rm, reg): Removed. Replaced by ...
151         (modrm): This.
152         (grps): Add GRP1a.
153
154 2007-04-09  Kazu Hirata  <kazu@codesourcery.com>
155
156         * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
157         info->print_address_func if longjmp is called.
158
159 2007-03-29  DJ Delorie  <dj@redhat.com>
160
161         * m32c-desc.c: Regenerate.
162         * m32c-dis.c: Regenerate.
163         * m32c-opc.c: Regenerate.
164
165 2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
166
167         * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
168         movq.  Remove InvMem from sldt, smsw and str.
169
170         * i386-opc.h (InvMem): Renamed to ...
171         (RegMem): Update comments.
172         (AnyMem): Remove InvMem.
173
174 2007-03-27  Paul Brook  <paul@codesourcery.com>
175
176         * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
177
178 2007-03-24  Paul Brook  <paul@codesourcery.com>
179
180         * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
181         (print_insn_coprocessor): Handle %<bitfield>x.
182
183 2007-03-24  Paul Brook  <paul@codesourcery.com>
184             Mark Shinwell  <shinwell@codesourcery.com>
185
186         * arm-dis.c (arm_opcodes): Print SRS base register.
187
188 2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
189
190         * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
191
192         * i386-opc.c (i386_optab): Add rex.wrxb.
193
194 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
195
196         * i386-dis.c (REX_MODE64): Remove definition.
197         (REX_EXTX): Likewise.
198         (REX_EXTY): Likewise.
199         (REX_EXTZ): Likewise.
200         (USED_REX): Use REX_OPCODE instead of 0x40.
201         Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
202         REX_R, REX_X and REX_B respectively.
203
204 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
205
206         PR binutils/4218
207         * i386-dis.c (PREGRP38): New.
208         (dis386): Use PREGRP38 for 0x90.
209         (prefix_user_table): Add PREGRP38.
210         (print_insn): Set uses_REPZ_prefix to 1 for pause.
211         (NOP_Fixup1): Properly handle REX bits.
212         (NOP_Fixup2): Likewise.
213
214         * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
215         Allow register with nop.
216
217 2007-03-20  DJ Delorie  <dj@redhat.com>
218
219         * m32c-asm.c: Regenerate.
220         * m32c-desc.c: Regenerate.
221         * m32c-desc.h: Regenerate.
222         * m32c-dis.h: Regenerate.
223         * m32c-ibld.c: Regenerate.
224         * m32c-opc.c: Regenerate.
225         * m32c-opc.h: Regenerate.
226
227 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
228
229         * i386-opc.c: Include "libiberty.h".
230         (i386_regtab): Remove the last entry.
231         (i386_regtab_size): New.
232         (i386_float_regtab_size): Likewise.
233
234         * i386-opc.h (i386_regtab_size): New.
235         (i386_float_regtab_size): Likewise.
236
237 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
238
239         * Makefile.am (CFILES): Add i386-opc.c.
240         (ALL_MACHINES): Add i386-opc.lo.
241         Run "make dep-am".
242         * Makefile.in: Regenerated.
243
244         * configure.in: Add i386-opc.lo for bfd_i386_arch.
245         * configure: Regenerated.
246
247         * i386-dis.c: Include "opcode/i386.h".
248         (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
249         (FWAIT_OPCODE): Remove definition.
250         (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
251         (MAX_OPERANDS): Remove definition.
252
253         * i386-opc.c: New file.
254         * i386-opc.h: Likewise.
255
256 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
257
258         * Makefile.in: Regenerated.
259
260 2007-03-09  H.J. Lu  <hongjiu.lu@intel.com>
261
262         * i386-dis.c (OP_Rd): Renamed to ...
263         (OP_R): This.
264         (Rd): Updated.
265         (Rm): Likewise.
266
267 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
268
269         * fr30-asm.c: Regenerate.
270         * frv-asm.c: Regenerate.
271         * ip2k-asm.c: Regenerate.
272         * iq2000-asm.c: Regenerate.
273         * m32c-asm.c: Regenerate.
274         * m32r-asm.c: Regenerate.
275         * m32r-dis.c: Regenerate.
276         * mt-asm.c: Regenerate.
277         * mt-ibld.c: Regenerate.
278         * mt-opc.c: Regenerate.
279         * openrisc-asm.c: Regenerate.
280         * xc16x-asm.c: Regenerate.
281         * xstormy16-asm.c: Regenerate.
282
283         * Makefile.am: Run "make dep-am".
284         * Makefile.in: Regenerate.
285         * po/POTFILES.in: Regenerate.
286
287 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
288
289         * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
290         INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
291         instruction formats added.
292         (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
293         MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
294         masks added.
295         * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
296         instructions added.
297         * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
298         (main): z9-ec cpu type option added.
299         * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
300
301 2007-02-22  DJ Delorie  <dj@redhat.com>
302
303         * s390-opc.c (INSTR_SS_L2RDRD): New.
304         (MASK_SS_L2RDRD): New.
305         * s390-opc.txt (pka): Use it.
306
307 2007-02-20  Thiemo Seufer  <ths@mips.com>
308             Chao-Ying Fu  <fu@mips.com>
309
310         * mips-dis.c (mips_arch_choices): Add DSP R2 support.
311         (print_insn_args): Add support for balign instruction.
312         * mips-opc.c (D33): New shortcut for DSP R2 instructions.
313         (mips_builtin_opcodes): Add DSP R2 instructions.
314
315 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
316
317         * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
318         (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
319         * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
320         cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
321
322 2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
323
324         * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
325         * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
326         (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
327         and sfpc.
328
329 2007-02-16  Nick Clifton  <nickc@redhat.com>
330
331         PR binutils/4045
332         * avr-dis.c (comment_start): New variable, contains the prefix to
333         use when printing addresses in comments.
334         (print_insn_avr): Set comment_start to an empty space if there is
335         no symbol table available as the generic address printing code
336         will prefix the numeric value of the address with 0x.
337
338 2007-02-13  H.J. Lu  <hongjiu.lu@intel.com>
339
340          * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
341          in struct dis386.
342
343 2007-02-05  Dave Brolley  <brolley@redhat.com>
344             Richard Sandiford  <rsandifo@redhat.com>
345             DJ Delorie  <dj@redhat.com>
346             Graydon Hoare  <graydon@redhat.com>
347             Frank Ch. Eigler  <fche@redhat.com>
348             Ben Elliston  <bje@redhat.com>
349
350         * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
351         (CFILES): Add mep-*.c
352         (ALL_MACHINES): Add mep-*.lo.
353         (CLEANFILES): Add stamp-mep.
354         (CGEN_CPUS): Add mep.
355         (MEP_DEPS): New variable.
356         (mep-*): New targets.
357         * configure.in: Handle bfd_mep_arch.
358         * disassemble.c (ARCH_mep): New macro.
359         (disassembler): Handle bfd_arch_mep.
360         (disassemble_init_for_target): Likewise.
361         * mep-*: New files for Toshiba Media Processor (MeP).
362         * Makefile.in: Regenerated.
363         * configure: Regenerated.
364
365 2007-02-05  H.J. Lu  <hongjiu.lu@intel.com>
366
367         * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
368         wrap around within the same segment in 16bit mode.
369
370 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
371
372         * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
373         prefix.
374
375 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
376
377         * avr-dis.c (avr_operand): Correct PR number in comment.
378
379 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
380
381         * disassemble.c (disassembler_usage): Call
382         print_i386_disassembler_options for i386 disassembler.
383
384         * i386-dis.c (print_i386_disassembler_options): New.
385         (print_insn): Support the new addr64 option.
386
387 2007-02-02  Hiroki Kaminaga  <kaminaga@sm.sony.co.jp>
388
389         * ppc-dis.c (powerpc_dialect): Handle ppc440.
390         * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
391         be used.
392
393 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
394
395         * ppc-opc.c (insert_bdm): -Many comment.
396         (valid_bo): Add "extract" param.  Accept both powerpc and power4
397         BO fields when disassembling with -Many.
398         (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
399
400 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
401
402         * m68k-opc.c (m68k_opcodes): Replace cpu32 with
403         cpu32 | fido_a except on tbl instructions.
404
405 2007-01-04  Paul Brook  <paul@codesourcery.com>
406
407         * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
408
409 2007-01-04  Andreas Schwab  <schwab@suse.de>
410
411         * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
412
413 2007-01-04  Julian Brown  <julian@codesourcery.com>
414
415         * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
416         vqrshl instructions.
417
418 For older changes see ChangeLog-2006
419 \f
420 Local Variables:
421 mode: change-log
422 left-margin: 8
423 fill-column: 74
424 version-control: never
425 End: