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