f800983e7c1503d5391eee6c376b22b667950935
[external/binutils.git] / opcodes / ChangeLog
1 2008-03-07  Alan Modra  <amodra@bigpond.net.au>
2
3         * ppc-opc.c (powerpc_opcodes): Order and format.
4
5 2008-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6
7         * i386-opc.tbl: Allow 16-bit near indirect branches for x86-64.
8         * i386-tbl.h: Regenerated.
9
10 2008-02-23  H.J. Lu  <hongjiu.lu@intel.com>
11
12         * i386-opc.tbl: Disallow 16-bit near indirect branches for
13         x86-64.
14         * i386-tbl.h: Regenerated.
15
16 2008-02-21  Jan Beulich  <jbeulich@novell.com>
17
18         * i386-opc.tbl: Allow Dword for far indirect call. Allow Dword
19         and Fword for far indirect jmp. Allow Reg16 and Word for near
20         indirect jmp on x86-64. Disallow Fword for lcall.
21         * i386-tbl.h: Re-generate.
22
23 2008-02-18  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
24
25         * cr16-opc.c  (cr16_num_optab): Defined
26
27 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
28
29         * i386-gen.c  (operand_type_init): Add OPERAND_TYPE_INOUTPORTREG.
30         * i386-init.h: Regenerated.
31
32 2008-02-14  Nick Clifton  <nickc@redhat.com>
33
34         PR binutils/5524
35         * configure.in (SHARED_LIBADD): Select the correct host specific
36         file extension for shared libraries.
37         * configure: Regenerate.
38
39 2008-02-13  Jan Beulich  <jbeulich@novell.com>
40
41         * i386-opc.h (RegFlat): New.
42         * i386-reg.tbl (flat): Add.
43         * i386-tbl.h: Re-generate.
44
45 2008-02-13  Jan Beulich  <jbeulich@novell.com>
46
47         * i386-dis.c (a_mode): New.
48         (cond_jump_mode): Adjust.
49         (Ma): Change to a_mode.
50         (intel_operand_size): Handle a_mode.
51         * i386-opc.tbl: Allow Dword and Qword for bound.
52         * i386-tbl.h: Re-generate.
53
54 2008-02-13  Jan Beulich  <jbeulich@novell.com>
55
56         * i386-gen.c (process_i386_registers): Process new fields.
57         * i386-opc.h (reg_entry): Shrink reg_flags and reg_num to
58         unsigned char. Add dw2_regnum and Dw2Inval.
59         * i386-reg.tbl: Provide initializers for dw2_regnum. Add pseudo
60         register names.
61         * i386-tbl.h: Re-generate.
62
63 2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>
64
65         * i386-gen.c (cpu_flag_init): Add CPU_XSAVE_FLAGS.
66         * i386-init.h: Updated.
67
68 2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>
69
70         * i386-gen.c (cpu_flags): Add CpuXsave.
71
72         * i386-opc.h (CpuXsave): New.
73         (CpuLM): Updated.
74         (i386_cpu_flags): Add cpuxsave.
75
76         * i386-dis.c (MOD_0FAE_REG_4): New.
77         (RM_0F01_REG_2): Likewise.
78         (MOD_0FAE_REG_5): Updated.
79         (RM_0F01_REG_3): Likewise.
80         (reg_table): Use MOD_0FAE_REG_4.
81         (mod_table): Use RM_0F01_REG_2.  Add MOD_0FAE_REG_4.  Updated
82         for xrstor.
83         (rm_table): Add RM_0F01_REG_2.
84
85         * i386-opc.tbl: Add xsave, xrstor, xgetbv and xsetbv.
86         * i386-init.h: Regenerated.
87         * i386-tbl.h: Likewise.
88
89 2008-02-11  Jan Beulich  <jbeulich@novell.com>
90
91         * i386-opc.tbl: Remove Disp32S from CpuNo64 opcodes. Remove
92         Disp16 from Cpu64 non-jump opcodes (including loop and j?cxz).
93         * i386-tbl.h: Re-generate.
94
95 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
96
97         PR 5715
98         * configure: Regenerated.
99
100 2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
101
102         * mips-dis.c: Update copyright.
103         (mips_arch_choices): Add Octeon.
104         * mips-opc.c: Update copyright.
105         (IOCT): New macro.
106         (mips_builtin_opcodes): Add Octeon instruction synciobdma.
107
108 2008-01-29  Alan Modra  <amodra@bigpond.net.au>
109
110         * ppc-opc.c: Support optional L form mtmsr.
111
112 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
113
114         * i386-dis.c (OP_E_extended): Handle r12 like rsp.
115
116 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
117
118         * i386-gen.c (cpu_flag_init): Add CpuLM to CPU_GENERIC64_FLAGS.
119         * i386-init.h: Regenerated.
120
121 2008-01-23  Tristan Gingold  <gingold@adacore.com>
122
123         * ia64-dis.c (print_insn_ia64): Display symbolic name of ar.fcr,
124         ar.eflag, ar.csd, ar.ssd, ar.cflg, ar.fsr, ar.fir and ar.fdr.
125
126 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
127
128         * i386-gen.c (cpu_flag_init): Remove CpuMMX2.
129         (cpu_flags): Likewise.
130
131         * i386-opc.h (CpuMMX2): Removed.
132         (CpuSSE): Updated.
133
134         * i386-opc.tbl: Replace CpuMMX2 with CpuSSE|Cpu3dnowA.
135         * i386-init.h: Regenerated.
136         * i386-tbl.h: Likewise.
137
138 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
139
140         * i386-gen.c (cpu_flag_init): Add CPU_VMX_FLAGS and
141         CPU_SMX_FLAGS.
142         * i386-init.h: Regenerated.
143
144 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
145
146         * i386-opc.tbl: Use Qword on movddup.
147         * i386-tbl.h: Regenerated.
148
149 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
150
151         * i386-opc.tbl: Put back 16bit movsx/movzx for AT&T syntax.
152         * i386-tbl.h: Regenerated.
153
154 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
155
156         * i386-dis.c (Mx): New.
157         (PREFIX_0FC3): Likewise.
158         (PREFIX_0FC7_REG_6): Updated.
159         (dis386_twobyte): Use PREFIX_0FC3.
160         (prefix_table): Add PREFIX_0FC3.  Use Mq on movntq and movntsd.
161         Use Mx on movntps, movntpd, movntdq and movntdqa.  Use Md on
162         movntss.
163
164 2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>
165
166         * i386-gen.c (opcode_modifiers): Add IntelSyntax.
167         (operand_types): Add Mem.
168
169         * i386-opc.h (IntelSyntax): New.
170         * i386-opc.h (Mem): New.
171         (Byte): Updated.
172         (Opcode_Modifier_Max): Updated.
173         (i386_opcode_modifier): Add intelsyntax.
174         (i386_operand_type): Add mem.
175
176         * i386-opc.tbl: Remove Reg16 from movnti.  Add sizes to more
177         instructions.
178
179         * i386-reg.tbl: Add size for accumulator.
180
181         * i386-init.h: Regenerated.
182         * i386-tbl.h: Likewise.
183
184 2008-01-13  H.J. Lu  <hongjiu.lu@intel.com>
185
186         * i386-opc.h (Byte): Fix a typo.
187
188 2008-01-12  H.J. Lu  <hongjiu.lu@intel.com>
189
190         PR gas/5534
191         * i386-gen.c (operand_type_init): Add Dword to
192         OPERAND_TYPE_ACC32.  Add Qword to OPERAND_TYPE_ACC64.
193         (opcode_modifiers): Remove CheckSize, Byte, Word, Dword,
194         Qword and Xmmword.
195         (operand_types): Add Byte, Word, Dword, Fword, Qword, Tbyte,
196         Xmmword, Unspecified and Anysize.
197         (set_bitfield): Make Mmword an alias of Qword.  Make Oword
198         an alias of Xmmword.
199
200         * i386-opc.h (CheckSize): Removed.
201         (Byte): Updated.
202         (Word): Likewise.
203         (Dword): Likewise.
204         (Qword): Likewise.
205         (Xmmword): Likewise.
206         (FWait): Updated.
207         (OTMax): Likewise.
208         (i386_opcode_modifier): Remove checksize, byte, word, dword,
209         qword and xmmword.
210         (Fword): New.
211         (TBYTE): Likewise.
212         (Unspecified): Likewise.
213         (Anysize): Likewise.
214         (i386_operand_type): Add byte, word, dword, fword, qword,
215         tbyte xmmword, unspecified and anysize.
216
217         * i386-opc.tbl: Updated to use Byte, Word, Dword, Fword, Qword,
218         Tbyte, Xmmword, Unspecified and Anysize.
219
220         * i386-reg.tbl: Add size for accumulator.
221
222         * i386-init.h: Regenerated.
223         * i386-tbl.h: Likewise.
224
225 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
226
227         * i386-dis.c (REG_0F0E): Renamed to REG_0F0D.
228         (REG_0F18): Updated.
229         (reg_table): Updated.
230         (dis386_twobyte): Updated.  Use "nopQ" on 0x19 to 0x1e.
231         (twobyte_has_modrm): Set 1 for 0x19 to 0x1e.
232
233 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
234
235         * i386-gen.c (set_bitfield): Use fail () on error.
236
237 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
238
239         * i386-gen.c (lineno): New.
240         (filename): Likewise.
241         (set_bitfield): Report filename and line numer on error.
242         (process_i386_opcodes): Set filename and update lineno.
243         (process_i386_registers): Likewise.
244
245 2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>
246
247         * i386-gen.c (opcode_modifiers): Rename IntelMnemonic to
248         ATTSyntax.
249
250         * i386-opc.h (IntelMnemonic): Renamed to ..
251         (ATTSyntax): This
252         (Opcode_Modifier_Max): Updated.
253         (i386_opcode_modifier): Remove intelmnemonic. Add attsyntax
254         and intelsyntax.
255
256         * i386-opc.tbl: Remove IntelMnemonic and update with ATTSyntax 
257         on fsub, fubp, fsubr, fsubrp, div, fdivp, fdivr and fdivrp.
258         * i386-tbl.h: Regenerated.
259
260 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
261
262         * i386-gen.c: Update copyright to 2008.
263         * i386-opc.h: Likewise.
264         * i386-opc.tbl: Likewise.
265
266         * i386-init.h: Regenerated.
267         * i386-tbl.h: Likewise.
268
269 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
270
271         * i386-opc.tbl: Add NoRex64 to extractps, movmskpd, movmskps,
272         pextrb, pextrw, pinsrb, pinsrw and pmovmskb.
273         * i386-tbl.h: Regenerated.
274
275 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
276
277         * i386-gen.c (cpu_flag_init): Remove CpuSSE4_1_Or_5 and
278         CpuSSE4_2_Or_ABM.
279         (cpu_flags): Likewise.
280
281         * i386-opc.h (CpuSSE4_1_Or_5): Removed.
282         (CpuSSE4_2_Or_ABM): Likewise.
283         (CpuLM): Updated.
284         (i386_cpu_flags): Remove cpusse4_1_or_5 and cpusse4_2_or_abm.
285
286         * i386-opc.tbl: Replace CpuSSE4_1_Or_5, CpuSSE4_2_Or_ABM and
287         Cpu686|CpuPadLock with CpuSSE4_1|CpuSSE5, CpuABM|CpuSSE4_2
288         and CpuPadLock, respectively.
289         * i386-init.h: Regenerated.
290         * i386-tbl.h: Likewise.
291
292 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
293
294         * i386-gen.c (opcode_modifiers): Remove No_xSuf.
295
296         * i386-opc.h (No_xSuf): Removed.
297         (CheckSize): Updated.
298
299         * i386-tbl.h: Regenerated.
300
301 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
302
303         * i386-gen.c (cpu_flag_init): Add CpuSSE4_2_Or_ABM to
304         CPU_AMDFAM10_FLAGS, CPU_SSE4_2_FLAGS, CpuABM and
305         CPU_SSE5_FLAGS.
306         (cpu_flags): Add CpuSSE4_2_Or_ABM.
307
308         * i386-opc.h (CpuSSE4_2_Or_ABM): New.
309         (CpuLM): Updated.
310         (i386_cpu_flags): Add cpusse4_2_or_abm.
311
312         * i386-opc.tbl: Use CpuSSE4_2_Or_ABM instead of
313         CpuABM|CpuSSE4_2 on popcnt.
314         * i386-init.h: Regenerated.
315         * i386-tbl.h: Likewise.
316
317 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
318
319         * i386-opc.h: Update comments.
320
321 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
322
323         * i386-gen.c (opcode_modifiers): Use Qword instead of QWord.
324         * i386-opc.h: Likewise.
325         * i386-opc.tbl: Likewise.
326
327 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
328
329         PR gas/5534
330         * i386-gen.c (opcode_modifiers): Add No_xSuf, CheckSize,
331         Byte, Word, Dword, QWord and Xmmword.
332
333         * i386-opc.h (No_xSuf): New.
334         (CheckSize): Likewise.
335         (Byte): Likewise.
336         (Word): Likewise.
337         (Dword): Likewise.
338         (QWord): Likewise.
339         (Xmmword): Likewise.
340         (FWait): Updated.
341         (i386_opcode_modifier): Add No_xSuf, CheckSize, Byte, Word,
342         Dword, QWord and Xmmword.
343
344         * i386-opc.tbl: Add CheckSize|QWord to movq if IgnoreSize is
345         used.
346         * i386-tbl.h: Regenerated.
347
348 2008-01-02  Mark Kettenis  <kettenis@gnu.org>
349
350         * m88k-dis.c (instructions): Fix fcvt.* instructions.
351         From Miod Vallat.
352
353 For older changes see ChangeLog-2007
354 \f
355 Local Variables:
356 mode: change-log
357 left-margin: 8
358 fill-column: 74
359 version-control: never
360 End: