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