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