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