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