From Craig Silverstein: New version of x86_64.cc.
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
CommitLineData
7fac7ff4
NC
12007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
2
3 * cr16-opc.c: Updated the branch on condition instructions with
4 RELAXABLE flag.
5
4584a60d
L
62007-09-30 H.J. Lu <hongjiu.lu@intel.com>
7
8 * 386-dis.c (prefix_table): Reformat comment.
9
1ceb70f8
L
102007-09-29 H.J. Lu <hongjiu.lu@intel.com>
11
12 * 386-dis.c (USE_GROUPS): Renamed to ...
13 (USE_REG_TABLE): This.
14 (USE_OPC_EXT_TABLE): Renamed to ...
15 (USE_MOD_TABLE): This.
16 (USE_OPC_EXT_RM_TABLE): Renamed to ...
17 (USE_RM_TABLE): This.
18 (USE_XXX_TABLE): Reordered.
19 (GRP): Renamed to ...
20 (REG_TABLE): This.
21 (OPC_EXT_TABLE): Renamed to ...
22 (MOD_TABLE): This.
23 (OPC_EXT_RM_TABLE): Renamed to ...
24 (RM_TABLE): This.
25 (GRP_XXX): Renamed to ...
26 (REG_XXX): This.
27 (PREGRP_XXX): Renamed to ...
28 (PREFIX_XXX): This.
29 (OPC_EXT_XXX): Renamed to ...
30 (MOD_XXX): This.
31 (OPC_EXT_RM_XXX): Renamed to ...
32 (RM_XXX): This.
33 (grps): Renamed to ...
34 (reg_table): This
35 (prefix_user_table): Renamed to ...
36 (prefix_table): This
37 (opc_ext_table): Renamed to ...
38 (mod_table): This
39 (opc_ext_rm_table): Renamed to ...
40 (rm_table): This
41 (OPC_EXT_RM_XXX): Likewise.
42 (dis386): Updated.
43 (dis386_twobyte): Likewise.
44 (reg_table): Likewise.
45 (prefix_table): Likewise.
46 (x86_64_table): Likewise.
47 (three_byte_table): Likewise.
48 (mod_table): Likewise.
49 (rm_table): Likewise.
50 (get_valid_dis386): Likewise.
51
4e7d34a6
L
522007-09-28 H.J. Lu <hongjiu.lu@intel.com>
53
54 * 386-dis.c (USE_PREFIX_USER_TABLE): Renamed to ...
55 (USE_PREFIX_TABLE): This.
56 (X86_64_SPECIAL): Renamed to ...
57 (USE_X86_64_TABLE): This.
58 (IS_3BYTE_OPCODE): Renamed to ...
59 (USE_3BYTE_TABLE): This.
60 (GRPXXX): Removed.
61 (PREGRPXXX): Likewise.
62 (X86_64_XXX): Likewise.
63 (THREE_BYTE_XXX): Likewise.
64 (OPC_EXT_XXX): Likewise.
65 (OPC_EXT_RM_XXX): Likewise.
66 (DIS386): New.
67 (GRP): Likewise.
68 (PREGRP): Likewise.
69 (X86_64_TABLE): Likewise.
70 (THREE_BYTE_TABLE): Likewise.
71 (OPC_EXT_TABLE): Likewise.
72 (OPC_EXT_RM_TABLE): Likewise.
73 (GRP_XXX): Likewise.
74 (PREGRP_XXX): Likewise.
75 (X86_64_XXX): Likewise.
76 (THREE_BYTE_XXX): Likewise.
77 (OPC_EXT_XXX): Likewise.
78 (OPC_EXT_RM_XXX): Likewise.
79 (dis386): Updated.
80 (dis386_twobyte): Likewise.
81 (grps): Likewise.
82 (prefix_user_table): Likewise.
83 (x86_64_table): Likewise.
84 (three_byte_table): Likewise.
85 (opc_ext_table): Likewise.
86 (opc_ext_rm_table): Likewise.
87 (get_valid_dis386): Likewise.
88
6807063e
L
892007-09-27 H.J. Lu <hongjiu.lu@intel.com>
90
91 * i386-dis.c (dis386): Swap X86_64_27 with OPC_EXT_2.
92 (x86_64_table): Likewise.
93 (opc_ext_table): Likewise.
94
7c52e0e8
L
952007-09-27 H.J. Lu <hongjiu.lu@intel.com>
96
97 PR binutils/5072
98 * i386-dis.c: Update comments on '{', '}' and '|' to support
99 only AT&T and Intel modes.
100 (X86_64_4...X86_64_27): New.
101 (dis386): Updated. Use X86_64_4...X86_64_21.
102 (dis386_twobyte): Updated.
103 (float_mem): Likewise.
104 (x86_64_table): Add X86_64_4...X86_64_27.
6807063e 105 (opc_ext_table): Updated. Use X86_64_22...X86_64_27.
7c52e0e8
L
106 (putop): Updated handling of '{', '}' and '|' to support only
107 AT&T and Intel modes.
108
d0fa1372
KH
1092007-09-27 Kazu Hirata <kazu@codesourcery.com>
110
111 * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
112
7a53bcd4
JW
1132007-09-26 James E. Wilson <wilson@specifix.com>
114
115 * ia64-gen.c (print_dependency_table): Fix typo in last patch.
116
168411b1
NC
1172007-09-26 Nick Clifton <nickc@redhat.com>
118
119 * mt-asm.c (parse_imm16): Reword error message in order to allow
120 it to be translated properly.
121 * ia64-gen.c (print_dependency_table): Likewise.
122 * mips-dis.c (print_insn_args): Likewise.
123
87767711
JB
1242007-09-26 Jan Beulich <jbeulich@novell.com>
125
126 * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
127 relative addressing. Update used_prefixes based on whether any
128 base or index register was printed.
129
9a04903e
JB
1302007-09-26 Jan Beulich <jbeulich@novell.com>
131
132 * i386-opc.h (RegEip): Define.
133 (RegEiz): Adjust.
134 * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64.
135 * i386-tbl.h: Re-generate.
136
4dffcebc
L
1372007-09-25 H.J. Lu <hongjiu.lu@intel.com>
138
139 * i386-gen.c (process_i386_opcodes): Process opcode_length.
140
141 * i386-opc.h (template): Add opcode_length.
142 * 386-opc.tbl: Likewise.
143 * i386-tbl.h: Regenerated.
144
a967d2b7
L
1452007-09-21 H.J. Lu <hongjiu.lu@intel.com>
146
147 * i386-opc.h: Adjust whitespaces.
148
c99d3d7a
DB
1492007-09-21 Dave Brolley <brolley@redhat.com>
150
151 * mep-desc.c: Regenerated.
152
20afcfb7
L
1532007-09-20 H.J. Lu <hongjiu.lu@intel.com>
154
155 * i386-dis.c (OP_E_extended): Display eiz for [eiz*1 + offset].
156
db51cc60
L
1572007-09-20 H.J. Lu <hongjiu.lu@intel.com>
158
159 PR 658
160 * 386-dis.c (index64): New.
161 (index32): Likewise.
162 (intel_index64): Likewise.
163 (intel_index32): Likewise.
164 (att_index64): Likewise.
165 (att_index32): Likewise.
166 (print_insn): Set index64 and index32.
167 (OP_E_extended): Use index64/index32 for index register for
168 SIB with INDEX == 4.
169
170 * i386-opc.h (RegEiz): New.
171 (RegRiz): Likewise.
172
173 * i386-reg.tbl: Add eiz and riz.
174 * i386-tbl.h: Regenerated.
175
0f7da397
L
1762007-09-19 H.J. Lu <hongjiu.lu@intel.com>
177
178 * i386-dis.c (OP_E_extended): Always display scale for memory.
179
20e192ab
L
1802007-09-17 H.J. Lu <hongjiu.lu@intel.com>
181
182 * i386-opc.h (RegRip): New.
183
184 * i386-reg.tbl (rip): Use RegRip for reg_num.
185 * i386-tbl.h: Regenerated.
186
7f396d02
NC
1872007-09-17 Nick Clifton <nickc@redhat.com>
188
189 * po/es.po: Updated Spanish translation.
190
c0e9c2a6
L
1912007-09-14 H.J. Lu <hongjiu.lu@intel.com>
192
193 * Makefile.am: Run "make dep-am".
194 * Makefile.in: Regenerate.
195
1962007-09-14 Michael Meissner <michael.meissner@amd.com>
85f10a01
MM
197 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
198 Tony Linthicum <tony.linthicum@amd.com>
199
200 * i386-opc.h (CpuSSE5): New macro.
201 (i386_cpu_flags): Add Drex, Drexv and Drexc.
202
203 * i386-gen.c (cpu_flag_init): Add CPU_SSE5_FLAGS.
204 (operand_type_init): Add CpuSSE5.
205 (opcode_modifiers): Add Drex, Drexv and Drexc.
206 (i386_opcode_modifier): Ditto.
207
208 * i386-opc.tbl (fmaddps,fmaddpd,fmaddss,fmaddsd): Define SSE5
209 instructions here.
210 (fmsubps,fmsubpd,fmsubss,fmsubsd): Ditto.
211 (fnmaddps,fnmaddpd,fnmaddss,fnmaddsd): Ditto.
212 (fnmsubps,fnmsubpd,fnmsubss,fnmsubsd): Ditto.
213 (pmacssww,pmacsww,pmacsswd,pmacswd): Ditto.
214 (pmacssdd,pmacsdd,pmacssdql,pmacssdqh): Ditto.
215 (pmacsdql,pmacsdqh,pmadcsswd,pmadcswd): Ditto.
216 (phaddbw,phaddbd,phaddbq,phaddwd): Ditto.
217 (phaddwq,phadddq,phaddubw,phaddubd): Ditto.
218 (phaddubq,phadduwd,phadduwq,phaddudq): Ditto.
219 (phsubbw,phsubwd,phsubdq): Ditto.
220 (pcmov,pperm,permps,permpd): Ditto.
221 (protb,protw,protd,protq): Ditto.
222 (pshlb,pshlw,pshld,pshlq): Ditto.
223 (pshab,pshaw,pshad,pshaq): Ditto.
224 (comps,comeqps,comltps,comungeps,comleps,comungtps): Ditto.
225 (comunordps,comneps,comneqps,comnltps,comugeps): Ditto.
226 (comnleps,comugtps,comordps,comueqps,comultps): Ditto.
227 (comngeps,comuleps,comngtps,comfalseps,comuneps): Ditto.
228 (comuneqps,comunltps,comgeps,comunleps,comgtps,comtrueps): Ditto.
229 (compd,comeqpd,comltpd,comungepd,comlepd,comungtpd,comunordpd): Ditto.
230 (comnepd,comneqpd,comnltpd,comugepd,comnlepd,comugtpd): Ditto.
231 (comordpd,comueqpd,comultpd,comngepd,comulepd,comngtpd): Ditto.
232 (comfalsepd,comunepd,comuneqpd,comunltpd,comgepd): Ditto.
233 (comunlepd,comgtpd,comtruepd): Ditto.
234 (comss,comeqss,comltss,comungess,comless,comungtss,comunordss): Ditto.
235 (comness,comneqss,comnltss,comugess,comnless,comugtss): Ditto.
236 (comordss,comueqss,comultss,comngess,comuless,comngtss): Ditto.
237 (comfalsess,comuness,comuneqss,comunltss,comgess): Ditto.
238 (comunless,comgtss,comtruess): Ditto.
239 (comsd,comeqsd,comltsd,comungesd,comlesd,comungtsd,comunordsd): Ditto.
240 (comnesd,comneqsd,comnltsd,comugesd,comnlesd,comugtsd): Ditto.
241 (comordsd,comueqsd,comultsd,comngesd,comulesd,comngtsd): Ditto.
242 (comfalsesd,comunesd,comuneqsd,comunltsd,comgesd): Ditto.
243 (comunlesd,comgtsd,comtruesd): Ditto.
244 (pcomub,pcomltub,pcomleub,pcomgtub,pcomgeub,pcomequb): Ditto.
245 (pcomnequb,pcomneub): Ditto.
246 (pcomuw,pcomltuw,pcomleuw,pcomgtuw,pcomgeuw,pcomequw): Ditto.
247 (pcomnequw,pcomneuw): Ditto.
248 (pcomud,pcomltud,pcomleud,pcomgtud,pcomgeud,pcomequd): Ditto.
249 (pcomnequd,pcomneud): Ditto.
250 (pcomuq,pcomltuq,pcomleuq,pcomgtuq,pcomgeuq,pcomequq): Ditto.
251 (pcomnequq,pcomneuq): Ditto.
252 (pcomb,pcomltb,pcomleb,pcomgtb,pcomgeb,pcomeqb): Ditto.
253 (pcomneqb,pcomneb): Ditto.
254 (pcomw,pcomltw,pcomlew,pcomgtw,pcomgew,pcomeqw): Ditto.
255 (pcomneqw,pcomnew): Ditto.
256 (pcomd,pcomltd,pcomled,pcomgtd,pcomged,pcomeqd): Ditto.
257 (pcomneqd,pcomned): Ditto.
258 (pcomq,pcomltq,pcomleq,pcomgtq,pcomgeq): Ditto.
259 (pcomeqq,pcomneqq,pcomneq): Ditto.
260 (pcomtrueb, pcomtruew, pcomtrued, pcomtrueq): Ditto.
261 (pcomtrueub, pcomtrueuw, pcomtrueud, pcomtrueuq): Ditto.
262 (pcomfalseb, pcomfalsew, pcomfalsed, pcomfalseq): Ditto.
263 (pcomfalseub, pcomfalseuw, pcomfalseud, pcomfalseuq): Ditto.
264 (frczps,frczpd,frczss,frczsd): Ditto.
265 (cvtph2ps,cvtps2ph): Ditto.
266
267 * i386-tbl.h: Regenerate from i386-opc.tbl.
c0e9c2a6 268 * i386-init.h: Likewise.
85f10a01
MM
269
270 * i386-dis.c (libiberty.h): Include to get ARRAY_SIZE.
271 (dis386_move_test): New disassembly support for move from test
272 register instruction that overlaps with SSE5 instructions.
273 (print_insn): Add support for special casing the i386/i486 move
274 from test register instruction that overlaps with the SSE5
275 0x0f24 4 operand instructions.
276 (OP_DREX_ICMP): New macros for SSE5 DREX handling.
277 (OP_DREX_FCMP): Ditto.
278 (OP_E_extended): Rename from OP_E, add additional argument to skip
279 the DREX byte.
280 (OP_E): Call OP_E_extended.
281 (DREX_REG_MEMORY): New macros for drex handling.
282 (DREX_REG_UNKNOWN): Ditto.
283 (DREX4_OC1): Ditto.
284 (DREX4_NO_OC0): Ditto.
285 (DREX4_MASK): Ditto.
286 (three_byte_table): Add SSE5 instructions.
287 (print_drex_arg): New function to print a DREX register or memory
288 reference.
289 (OP_DREX4): New function for handling DREX 4 argument ops.
290 (OP_DREX3): New function for handling DREX 3 argument ops.
291 (twobyte_has_modrm): 0f{25,7a,7b} all use the modrm byte.
292 (THREE_BYTE_SSE5_0F{24,25,7A,7B}): New macros for initializing 3
293 byte opcode support for SSE5 instructions.
294 (dis386_twobyte): Add SSE5 24/25/7a/7b support.
295 (three_byte_table): Add rows for describing SSE5 instructions.
296
8bb15339
L
2972007-09-13 H.J. Lu <hongjiu.lu@intel.com>
298
299 * i386-dis.c (get_valid_dis386): Take a pointer to
300 disassemble_info. Handle IS_3BYTE_OPCODE.
301 (print_insn): Updated. Don't handle IS_3BYTE_OPCODE here.
302
8c6c9809
L
3032007-09-12 H.J. Lu <hongjiu.lu@intel.com>
304
305 * i386-opc.h (CpuUnused): Defined with CpuMax.
306 (OTUnused): Defined with OTMax.
307
ae91ad40
JB
3082007-09-12 Jan Beulich <jbeulich@novell.com>
309
310 * i386-opc.tbl: Add two-operand forms of blendvps, blendvpd, and
311 pblendvb.
312 * i386-tbl.h: Regenerate.
313
8b40d594
L
3142007-09-09 H.J. Lu <hongjiu.lu@intel.com>
315
316 * i386-gen.c (main): Remove the local variable, unused.
317
33169993
L
3182007-09-08 H.J. Lu <hongjiu.lu@intel.com>
319
320 * Makefile.am: Run "make dep-am".
321 * Makefile.in: Regenerate.
322
40fb9820
L
3232007-09-08 H.J. Lu <hongjiu.lu@intel.com>
324
325 * configure.in (AC_CHECK_HEADERS): Add limits.h.
326 * configure: Regenerated.
327 * config.in: Likewise.
328
329 * i386-gen.c: Include "sysdep.h" instead of <stdlib.h> and
330 <string.h>. Use xstrerror instead of strerror.
331 (initializer): New.
332 (cpu_flag_init): Likewise.
333 (bitfield): Likewise.
334 (BITFIELD): New.
335 (cpu_flags): Likewise.
336 (opcode_modifiers): Likewise.
337 (operand_types): Likewise.
338 (compare): Likewise.
339 (set_cpu_flags): Likewise.
340 (output_cpu_flags): Likewise.
341 (process_i386_cpu_flags): Likewise.
342 (output_opcode_modifier): Likewise.
343 (process_i386_opcode_modifier): Likewise.
344 (output_operand_type): Likewise.
345 (process_i386_operand_type): Likewise.
346 (set_bitfield): Likewise.
347 (operand_type_init): Likewise.
348 (process_i386_initializers): Likewise.
349 (process_i386_opcodes): Call process_i386_opcode_modifier to
350 process opcode_modifier. Call process_i386_operand_type to
351 process operand_types.
352 (process_i386_registers): Call process_i386_operand_type to
353 process reg_type.
354 (main): Check unused bits in i386_cpu_flags and i386_operand_type.
355 Sort cpu_flags, opcode_modifiers and operand_types. Call
356 process_i386_initializers.
357
358 * i386-init.h: New.
359 * i386-tbl.h: Regenerated.
360
361 * i386-opc.h: Include <limits.h>.
362 (CHAR_BIT): Define as 8 if not defined.
363 (Cpu186): Changed to position of bitfiled.
364 (Cpu286): Likewise.
365 (Cpu386): Likewise.
366 (Cpu486): Likewise.
367 (Cpu586): Likewise.
368 (Cpu686): Likewise.
369 (CpuP4): Likewise.
370 (CpuK6): Likewise.
371 (CpuK8): Likewise.
372 (CpuMMX): Likewise.
373 (CpuMMX2): Likewise.
374 (CpuSSE): Likewise.
375 (CpuSSE2): Likewise.
376 (Cpu3dnow): Likewise.
377 (Cpu3dnowA): Likewise.
378 (CpuSSE3): Likewise.
379 (CpuPadLock): Likewise.
380 (CpuSVME): Likewise.
381 (CpuVMX): Likewise.
382 (CpuSSSE3): Likewise.
383 (CpuSSE4a): Likewise.
384 (CpuABM): Likewise.
385 (CpuSSE4_1): Likewise.
386 (CpuSSE4_2): Likewise.
387 (Cpu64): Likewise.
388 (CpuNo64): Likewise.
389 (D): Likewise.
390 (W): Likewise.
391 (Modrm): Likewise.
392 (ShortForm): Likewise.
393 (Jump): Likewise.
394 (JumpDword): Likewise.
395 (JumpByte): Likewise.
396 (JumpInterSegment): Likewise.
397 (FloatMF): Likewise.
398 (FloatR): Likewise.
399 (FloatD): Likewise.
400 (Size16): Likewise.
401 (Size32): Likewise.
402 (Size64): Likewise.
403 (IgnoreSize): Likewise.
404 (DefaultSize): Likewise.
405 (No_bSuf): Likewise.
406 (No_wSuf): Likewise.
407 (No_lSuf): Likewise.
408 (No_sSuf): Likewise.
409 (No_qSuf): Likewise.
410 (No_xSuf): Likewise.
411 (FWait): Likewise.
412 (IsString): Likewise.
413 (RegKludge): Likewise.
414 (IsPrefix): Likewise.
415 (ImmExt): Likewise.
416 (NoRex64): Likewise.
417 (Rex64): Likewise.
418 (Ugh): Likewise.
419 (Reg8): Likewise.
420 (Reg16): Likewise.
421 (Reg32): Likewise.
422 (Reg64): Likewise.
423 (FloatReg): Likewise.
424 (RegMMX): Likewise.
425 (RegXMM): Likewise.
426 (Imm8): Likewise.
427 (Imm8S): Likewise.
428 (Imm16): Likewise.
429 (Imm32): Likewise.
430 (Imm32S): Likewise.
431 (Imm64): Likewise.
432 (Imm1): Likewise.
433 (BaseIndex): Likewise.
434 (Disp8): Likewise.
435 (Disp16): Likewise.
436 (Disp32): Likewise.
437 (Disp32S): Likewise.
438 (Disp64): Likewise.
439 (InOutPortReg): Likewise.
440 (ShiftCount): Likewise.
441 (Control): Likewise.
442 (Debug): Likewise.
443 (Test): Likewise.
444 (SReg2): Likewise.
445 (SReg3): Likewise.
446 (Acc): Likewise.
447 (FloatAcc): Likewise.
448 (JumpAbsolute): Likewise.
449 (EsSeg): Likewise.
450 (RegMem): Likewise.
451 (OTMax): Likewise.
452 (Reg): Commented out.
453 (WordReg): Likewise.
454 (ImplicitRegister): Likewise.
455 (Imm): Likewise.
456 (EncImm): Likewise.
457 (Disp): Likewise.
458 (AnyMem): Likewise.
459 (LLongMem): Likewise.
460 (LongMem): Likewise.
461 (ShortMem): Likewise.
462 (WordMem): Likewise.
463 (ByteMem): Likewise.
464 (CpuMax): New
465 (CpuLM): Likewise.
466 (CpuNumOfUints): Likewise.
467 (CpuNumOfBits): Likewise.
468 (CpuUnused): Likewise.
469 (OTNumOfUints): Likewise.
470 (OTNumOfBits): Likewise.
471 (OTUnused): Likewise.
472 (i386_cpu_flags): New type.
473 (i386_operand_type): Likewise.
474 (i386_opcode_modifier): Likewise.
475 (CpuSledgehammer): Removed.
476 (CpuSSE4): Likewise.
477 (CpuUnknownFlags): Likewise.
478 (Reg): Likewise.
479 (WordReg): Likewise.
480 (ImplicitRegister): Likewise.
481 (Imm): Likewise.
482 (EncImm): Likewise.
483 (Disp): Likewise.
484 (AnyMem): Likewise.
485 (LLongMem): Likewise.
486 (LongMem): Likewise.
487 (ShortMem): Likewise.
488 (WordMem): Likewise.
489 (ByteMem): Likewise.
490 (template): Use i386_cpu_flags for cpu_flags, use
491 i386_opcode_modifier for opcode_modifier, use
492 i386_operand_type for operand_types.
493 (reg_entry): Use i386_operand_type for reg_type.
494
495 * Makefile.am (HFILES): Add i386-init.h.
496 ($(srcdir)/i386-init.h): New rule.
497 ($(srcdir)/i386-tbl.h): Depend on $(srcdir)/i386-init.h
498 instead.
499 * Makefile.in: Regenerated.
500
93b1ec2c
L
5012007-09-06 H.J. Lu <hongjiu.lu@intel.com>
502
503 * i386-gen.c (next_field): Updated to take a separator.
504 (process_i386_opcodes): Updated.
505 (process_i386_registers): Likewise.
506
72ffa0fb
L
5072007-09-06 H.J. Lu <hongjiu.lu@intel.com>
508
509 * i386-gen.c (table): Moved ...
510 (main): Here. Call process_copyright to output copyright.
511 (process_copyright): New.
512 (process_i386_opcodes): Take FILE *table.
513 (process_i386_registers): Likewise.
514
34edb9ad
L
5152007-09-06 H.J. Lu <hongjiu.lu@intel.com>
516
517 * i386-gen.c (table): New.
518 (process_i386_opcodes): Report errno when faied to open
519 i386-opc.tbl. Output opcodes to table. Close i386-opc.tbl
520 before return.
521 (process_i386_registers): Report errno when faied to open
522 i386-reg.tbl. Output opcodes to table. Close i386-reg.tbl
523 before return.
524 (main): Open i386-tbl.h for output.
525
526 * Makefile.am ($(srcdir)/i386-tbl.h): Remove " > $@".
527 * Makefile.in: Regenerated.
528
26186d74
L
5292007-09-06 H.J. Lu <hongjiu.lu@intel.com>
530
531 * i386-opc.tbl: Correct SVME instructions to allow 32bit register
532 operand in 64bit mode.
533 * i386-tbl.h: Regenerated.
534
1afd85e3
L
5352007-08-31 H.J. Lu <hongjiu.lu@intel.com>
536
537 * i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
538 (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
539 (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
540
144c41d9
L
5412007-08-31 H.J. Lu <hongjiu.lu@intel.com>
542
543 * i386-dis.c (SVME_Fixup): Removed.
544 (OPC_EXT_39): New.
545 (OPC_EXT_RM_6): Likewise.
546 (grps): Use OPC_EXT_39.
547 (opc_ext_table): Add OPC_EXT_39.
548 (opc_ext_rm_table): Add OPC_EXT_RM_6.
549
550 * i386-opc.tbl: Correct SVME instructions to take register
551 operand only.
552 * i386-tbl.h: Regenerated.
553
dabbade6
L
5542007-08-31 H.J. Lu <hongjiu.lu@intel.com>
555
556 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
557 * Makefile.in: Regenerated.
558
559 * configure.in (AC_GNU_SOURCE): Added.
560 (AC_PROG_CC): Moved before AC_GNU_SOURCE.
561 (AC_CHECK_DECLS): Add stpcpy.
562 * configure: Regenerated.
563 * config.in: Likewise.
564
565 * i386-dis.c: Include "sysdep.h" before "dis-asm.h".
566
567 * sysdep.h (stpcpy): New.
568
bbedc832
L
5692007-08-30 H.J. Lu <hongjiu.lu@intel.com>
570
571 * i386-dis.c (INVLPG_Fixup): Removed.
572 (OPC_EXT_38): New.
573 (OPC_EXT_RM_5): Likewise.
574 (grps): Use OPC_EXT_38.
575 (opc_ext_table): Add OPC_EXT_38.
576 (opc_ext_rm_table): Add OPC_EXT_RM_5.
577
876d4bfa
L
5782007-08-29 H.J. Lu <hongjiu.lu@intel.com>
579
580 * i386-dis.c (SIMD_Fixup): Removed.
581 (OPC_EXT_34...OPC_EXT_37): New.
582 (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
583 (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
584 (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
585
d8faab4e
L
5862007-08-29 H.J. Lu <hongjiu.lu@intel.com>
587
588 * i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
589 (dis386): Use OPC_EXT_0...OPC_EXT_2.
590 (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
591 (grps): Updated to use OPC_EXT_6...OPC_EXT_31.
592 (prefix_user_table): Use OPC_EXT_32.
593 (x86_64_table): Use OPC_EXT_33.
594 (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
595
c25c34f8
L
5962007-08-29 H.J. Lu <hongjiu.lu@intel.com>
597
598 * i386-dis.c (prefix_user_table): Fix comment.
599
b844680a
L
6002007-08-29 H.J. Lu <hongjiu.lu@intel.com>
601
602 * i386-dis.c (OP_Skip_MODRM): New.
603 (OP_Monitor): Likewise.
604 (OP_Mwait): Likewise.
605 (Mb): Likewise.
606 (Skip_MODRM): Likewise.
607 (USE_OPC_EXT_TABLE): Likewise.
608 (USE_OPC_EXT_RM_TABLE): Likewise.
609 (PREGRP98...PREGRP100): Likewise.
610 (OPC_EXT_0...OPC_EXT_24): Likewise.
611 (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
612 (lock_prefix): Likewise.
613 (data_prefix): Likewise.
614 (addr_prefix): Likewise.
615 (repz_prefix): Likewise.
616 (repnz_prefix): Likewise.
617 (opc_ext_table): Likewise.
618 (opc_ext_rm_table): Likewise.
619 (get_valid_dis386): Likewise.
620 (OP_VMX): Removed.
621 (OP_0fae): Likewise.
622 (PNI_Fixup): Likewise.
623 (VMX_Fixup): Likewise.
624 (VM): Likewise.
625 (twobyte_uses_DATA_prefix): Likewise.
626 (twobyte_uses_REPNZ_prefix): Likewise.
627 (twobyte_uses_REPZ_prefix): Likewise.
628 (threebyte_0x38_uses_DATA_prefix): Likewise.
629 (threebyte_0x38_uses_REPNZ_prefix): Likewise.
630 (threebyte_0x38_uses_REPZ_prefix): Likewise.
631 (threebyte_0x3a_uses_DATA_prefix): Likewise.
632 (threebyte_0x3a_uses_REPNZ_prefix): Likewise.
633 (threebyte_0x3a_uses_REPZ_prefix): Likewise.
634 (grps): Use OPC_EXT_0...OPC_EXT_24.
c25c34f8 635 (prefix_user_table): Add PREGRP98...PREGRP100.
b844680a
L
636 (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
637 uses_REPNZ_prefix and uses_REPZ_prefix. Initialize
638 repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
639 data_prefix based on prefixes. Call get_valid_dis386 to
640 get a pointer to the valid dis386. Print out prefixes if
641 they aren't NULL.
642 (OP_C): Clear lock_prefix if PREFIX_LOCK is used.
643 (REP_Fixup): Set repz_prefix to "rep " when seeing
644 PREFIX_REPZ.
645
69efdb45
DJ
6462007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
647
648 * po/nl.po: Updated translation.
649
d9a5e5e5
L
6502007-08-28 H.J. Lu <hongjiu.lu@intel.com>
651
652 * i386-dis.c (Md): New.
653 (grps): Use 0 on invlpg. Use M on fxsave and fxrstor. Use
654 Md on ldmxcsr and stmxcsr. Use b_mode on clflush.
655 (OP_0fae): Clear bytemode for sfence.
656
c3d65c1c
BE
6572007-08-22 Ben Elliston <bje@au.ibm.com>
658
659 * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
660 (XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
661 (PPCPS): Likewise.
662 (powerpc_opcodes): Add all pair singles instructions.
663 * ppc-dis.c (powerpc_dialect): Handle "ppcps".
664 (print_ppc_disassembler_options): Document -Mppcps.
665
fcb7aa2f
AK
6662007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
667
668 * s390-mkopc.c (struct s390_cond_ext_format): New global struct.
669 (s390_cond_ext_format): New global variable.
670 (expandConditionalJump): New function.
671 (main): Invoke expandConditionalJump for mnemonics containing '*'.
672 * s390-opc.txt: Replace mnemonics with conditional
673 mask extensions with instructions using the newly introduced '*' tag.
674
e9f27433
AM
6752007-08-17 Alan Modra <amodra@bigpond.net.au>
676
677 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
678
d02756e7
NC
6792007-08-10 Nick Clifton <nickc@redhat.com>
680
681 * po/fi.po: Updated Finnish translation.
682 * po/ga.po: Updated Irish translation.
683 * po/vi.po: Updated Vietnamese translation.
684
c3ad16c0
L
6852007-08-09 H.J. Lu <hongjiu.lu@intel.com>
686
687 * i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
688 pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
689 * i386-tbl.h: Regenerated.
690
b8deab37
JW
6912007-08-03 James E. Wilson <wilson@specifix.com>
692
693 * ia64-gen.c: (main): Add missing newline to copyright message.
694 * ia64-ic.tbl (fp-non-arith): Add xmpy.
695 * ia64-asmtab.c: Regenerate.
696
7a3c21c9
MS
6972007-08-01 Michael Snyder <msnyder@access-company.com>
698
699 * i386-dis.c (print_insn): Guard against NULL.
700
8976381e
L
7012007-07-29 H.J. Lu <hongjiu.lu@intel.com>
702
703 PR binutils/4834
704 * i386-dis.c (EXw): New.
705 (prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
706 instructions when appropriated.
707
09335d05
L
7082007-07-28 H.J. Lu <hongjiu.lu@intel.com>
709
59d5bbeb 710 PR binutils/4834
09335d05
L
711 * i386-dis.c (Eq): New.
712 (EMC): Renamed to ...
713 (EMCq): This. Use q_mode instead of v_mode.
714 (prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
715 when appropriated.
716
231af070
L
7172007-07-28 H.J. Lu <hongjiu.lu@intel.com>
718
719 * i386-dis.c (dis386_twobyte): Change "movd" to "movK".
720 (prefix_user_table): Likewise. Use EXq instead of EXx on
721 "movq".
722
33e8d5ac
NS
7232007-07-27 Nathan Sidwell <nathan@codesourcery.com>
724
725 * ppc-opc (PPC7450): New.
726 (powerpc_opcodes): Use it in dcba.
727
6baf3772
L
7282007-07-24 H.J. Lu <hongjiu.lu@intel.com>
729
730 * i386-gen.c (main): Print a newline after copyright notice.
731
c908d778
NC
7322007-07-19 Nick Clifton <nickc@redhat.com>
733
734 PR binutils/4801
735 * maxq-dis.c (get_reg_name): Fix the scan of the
736 mem_access_syntax_table.
737
14051056
L
7382007-07-16 H.J. Lu <hongjiu.lu@intel.com>
739
740 * i386-dis.c (EMq): Removed.
741 (EMx): New.
742 (prefix_user_table): Replace EMq with EMx.
743
80f2eaf0
NC
7442007-07-16 Nick Clifton <nickc@redhat.com>
745
746 * po/nl.po: Updated translation.
747
7353bd54
NC
7482007-07-12 Nick Clifton <nickc@redhat.com>
749
750 * po/vi.po: Updated translation.
751 * po/nl.po: Updated translation.
752
e8d39116
L
7532007-07-06 Mark Kettenis <kettenis@gnu.org>
754 H.J. Lu <hongjiu.lu@intel.com>
755
756 * Makefile.am (i386-tbl.h): Add $(srcdir)/ to target.
757 (ia64-asmtab.c): Likewise.
758 * Makefile.in: Regenerate.
759
033ca630
L
7602007-07-05 H.J. Lu <hongjiu.lu@intel.com>
761
762 * aclocal.m4: Regenerated.
763
9b201bb5
NC
7642007-07-04 Nick Clifton <nickc@redhat.com>
765
766 * alpha-dis.c: Update copyright notice to refer to GPLv3.
767 * alpha-opc.c, arc-dis.c, arc-dis.h, arc-ext.c, arc-ext.h,
768 arc-opc.c, arm-dis.c, avr-dis.c, bfin-dis.c, cgen-asm.c,
769 cgen-asm.in, cgen-bitset.c, cgen-dis.c, cgen-dis.in, cgen-ibld.in,
770 cgen-opc.c, cgen-ops.h, cgen.sh, cgen-types.h, cr16-dis.c,
771 cr16-opc.c, cris-dis.c, cris-opc.c, crx-dis.c, crx-opc.c,
772 d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, disassemble.c,
773 dis-buf.c, dis-init.c, dlx-dis.c, h8300-dis.c, h8500-dis.c,
774 h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, i386-dis.c,
775 i386-gen.c, i386-opc.c, i386-opc.h, i860-dis.c, i960-dis.c,
776 ia64-asmtab.h, ia64-dis.c, ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c,
777 ia64-opc.c, ia64-opc-d.c, ia64-opc-f.c, ia64-opc.h, ia64-opc-i.c,
778 ia64-opc-m.c, ia64-opc-x.c, m10200-dis.c, m10200-opc.c,
779 m10300-dis.c, m10300-opc.c, m68hc11-dis.c, m68hc11-opc.c,
780 m68k-dis.c, m68k-opc.c, m88k-dis.c, maxq-dis.c, mcore-dis.c,
781 mcore-opc.h, mips16-opc.c, mips-dis.c, mips-opc.c, mmix-dis.c,
782 mmix-opc.c, msp430-dis.c, ns32k-dis.c, opintl.h, or32-dis.c,
783 or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, pj-opc.c,
784 ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, s390-opc.c,
785 score-dis.c, score-opc.h, sh64-dis.c, sh64-opc.c, sh64-opc.h,
786 sh-dis.c, sh-opc.h, sparc-dis.c, sparc-opc.c, spu-dis.c,
787 spu-opc.c, sysdep.h, tic30-dis.c, tic4x-dis.c, tic54x-dis.c,
788 tic54x-opc.c, tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c,
789 vax-dis.c, w65-dis.c, w65-opc.h, xtensa-dis.c, z80-dis.c,
790 z8k-dis.c, z8kgen.c: Likewise.
791 * i386-opc.tbl, i386-reg.tbl: Add copyright notice.
792 * aclocal.m4, configure, fr30-asm.c, fr30-desc.c, fr30-desc.h,
793 fr30-dis.c, fr30-ibld.c, fr30-opc.c, fr30-opc.h, frv-asm.c,
794 frv-desc.c, frv-desc.h, frv-dis.c, frv-ibld.c, frv-opc.c,
795 frv-opc.h, i386-tbl.h, ia64-asmtab.c, ip2k-asm.c, ip2k-desc.c,
796 ip2k-desc.h, ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h,
797 iq2000-asm.c, iq2000-desc.c, iq2000-desc.h, iq2000-dis.c,
798 iq2000-ibld.c, iq2000-opc.c, iq2000-opc.h, m32c-asm.c,
799 m32c-desc.c, m32c-desc.h, m32c-dis.c, m32c-ibld.c, m32c-opc.c,
800 m32c-opc.h, m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
801 m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, mep-asm.c,
802 mep-desc.c, mep-desc.h, mep-dis.c, mep-ibld.c, mep-opc.c,
803 mep-opc.h, mt-asm.c, mt-desc.c, mt-desc.h, mt-dis.c, mt-ibld.c,
804 mt-opc.c, mt-opc.h, openrisc-asm.c, openrisc-desc.c,
805 openrisc-desc.h, openrisc-dis.c, openrisc-ibld.c, openrisc-opc.c,
806 openrisc-opc.h, xc16x-asm.c, xc16x-desc.c, xc16x-desc.h,
807 xc16x-dis.c, xc16x-ibld.c, xc16x-opc.c, xc16x-opc.h,
808 xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h,
809 xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c,
810 xstormy16-opc.h, z8k-opc.h: Regenerated
811
ddb341a7
NC
8122007-07-04 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
813
814 * cr16-dis.c (getcinvstring): Add const qualifier to char *
815 parameter.
816 (print_insn_cr16): Remove cast to char *.
817
afa2158f
NS
8182007-07-03 Nathan Sidwell <nathan@codesourcery.com>
819
820 * m68k-dis.c (fetch_arg): Add E. Replace length switch with
821 direct masking.
822 (print_ins_arg): Add j & K operand types.
823 (match_insn_m68k): Check and skip initial '.' arg character.
824 (m68k_scan_mask): Likewise.
825 * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
826
ae351704
AM
8272007-07-02 Alan Modra <amodra@bigpond.net.au>
828
829 * Makefile.am: Run "make dep-am".
830 * Makefile.in: Regenerate.
831 * aclocal.m4: Regenerate.
832 * config.in: Regenerate.
833 * po/POTFILES.in: Regenerate.
834 * po/opcodes.pot: Regenerate.
835
86b57e31
L
8362007-06-30 H.J. Lu <hongjiu.lu@intel.com>
837
838 * aclocal.m4: Regenerated.
839 * Makefile.in: Likewise.
840
f85fcb85
L
8412007-06-29 H.J. Lu <hongjiu.lu@intel.com>
842
843 * i386-reg.tbl: Remove spaces before comments.
844
3d3d428f
NC
8452007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
846
847 * cr16-opc.c: New file.
848 * cr16-dis.c: New file.
849 * Makefile.am: Entries for cr16.
850 * Makefile.in: Regenerate.
851 * cofigure.in: Add cr16 target information.
852 * configure : Regenerate.
853 * disassemble.c: Add cr16 target information.
854
40b8e679
L
8552007-06-28 H.J. Lu <hongjiu.lu@intel.com>
856
857 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
858 (CFILES): Add i386-gen.c.
859 (i386-gen): New rule.
860 (i386-gen.o): Likewise.
861 (i386-tbl.h): Likewise.
862 Run "make dep-am".
863 * Makefile.in: Regenerated.
864
865 * i386-gen.c: New file.
866 * i386-opc.tbl: Likewise.
867 * i386-reg.tbl: Likewise.
868 * i386-tbl.h: Likewise.
869
870 * i386-opc.c: Include "i386-tbl.h".
871 (i386_optab): Removed.
872 (i386_regtab): Likewise.
873 (i386_regtab_size): Likewise.
874
cd2cf30b
PB
8752007-06-26 Paul Brook <paul@codesourcery.com>
876
877 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
878
5f15756d
L
8792007-06-25 H.J. Lu <hongjiu.lu@intel.com>
880
881 * i386-opc.h (regKludge): Renamed to ...
882 (RegKludge): This.
883
884 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
885
09a2c6cf
L
8862007-06-23 H.J. Lu <hongjiu.lu@intel.com>
887
888 PR binutils/4667
889 * i386-dis.c (EX): Removed.
890 (EMd): New.
891 (EMq): Likewise.
892 (EXd): Likewise.
893 (EXq): Likewise.
894 (EXx): Likewise.
895 (PREGRP93...PREGRP97): Likewise.
896 (dis386_twobyte): Updated.
897 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
898 (OP_EX): Remove Intel syntax handling.
899
ddefa7f5
KH
9002007-06-18 Nathan Sidwell <nathan@codesourcery.com>
901
902 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
903
79887925
L
9042007-06-14 H.J. Lu <hongjiu.lu@intel.com>
905
906 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
907
908 * acinclude.m4: Removed.
909
910 * Makefile.in: Regenerated.
911 * doc/Makefile.in: Likewise.
912 * aclocal.m4: Likewise.
913 * configure: Likewise.
914
79d49516
PB
9152007-06-05 Paul Brook <paul@codesourcery.com>
916
917 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
918
37ad9514
SE
9192007-05-24 Steve Ellcey <sje@cup.hp.com>
920
921 * Makefile.in: Regnerate.
922 * configure: Regenerate.
923 * aclocal.m4: Regenerate.
924
65b650b4
AM
9252007-05-18 Alan Modra <amodra@bigpond.net.au>
926
927 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
928 after setting skip_optional.
929
ea192fa3
PB
9302007-05-16 Peter Bergner <bergner@vnet.ibm.com>
931
932 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
933 (print_insn_powerpc): Use the new operand_value_powerpc and
934 skip_optional_operands functions to omit or print all optional
935 operands as a group.
936 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
937 (XFL_MASK): Delete L and W bits from the mask.
938 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
939 with XWRA_MASK. Use W.
940 (mtfsf, mtfsf.): Use XFL_L and W.
941
9beff690
L
9422007-05-14 H.J. Lu <hongjiu.lu@intel.com>
943
944 PR binutils/4502
945 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
946
4d67a4d3
L
9472007-05-10 H.J. Lu <hongjiu.lu@intel.com>
948
949 * i386-opc.h (ShortForm): Redefined.
950 (Jump): Likewise.
951 (JumpDword): Likewise.
952 (JumpByte): Likewise.
953 (JumpInterSegment): Likewise.
954 (FloatMF): Likewise.
955 (FloatR): Likewise.
956 (FloatD): Likewise.
957 (Size16): Likewise.
958 (Size32): Likewise.
959 (Size64): Likewise.
960 (IgnoreSize): Likewise.
961 (DefaultSize): Likewise.
962 (No_bSuf): Likewise.
963 (No_wSuf): Likewise.
964 (No_lSuf): Likewise.
965 (No_sSuf): Likewise.
966 (No_qSuf): Likewise.
967 (No_xSuf): Likewise.
968 (FWait): Likewise.
969 (IsString): Likewise.
970 (regKludge): Likewise.
971 (IsPrefix): Likewise.
972 (ImmExt): Likewise.
973 (NoRex64): Likewise.
974 (Rex64): Likewise.
975 (Ugh): Likewise.
976
8de28984
L
9772007-05-07 H.J. Lu <hongjiu.lu@intel.com>
978
979 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
980 for some SSE4 instructions.
981 (threebyte_0x3a_uses_DATA_prefix): Likewise.
982
20592a94
L
9832007-05-03 H.J. Lu <hongjiu.lu@intel.com>
984
985 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
986
987 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
988 type for crc32.
989
9344ff29
L
9902007-05-01 H.J. Lu <hongjiu.lu@intel.com>
991
992 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
993 check data size prefix in 16bit mode.
994
995 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
996 support Intel mode.
997
53289dcd 9982007-04-30 Mark Salter <msalter@redhat.com>
65b650b4 999
53289dcd
MS
1000 * frv-desc.c: Regenerate.
1001 * frv-desc.h: Regenerate.
65b650b4 1002
eb42fac1
AM
10032007-04-30 Alan Modra <amodra@bigpond.net.au>
1004
1005 PR 4436
1006 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
1007
484c222e
L
10082007-04-27 H.J. Lu <hongjiu.lu@intel.com>
1009
1010 * i386-dis.c (modrm): Put reg before rm.
1011
5d669648
L
10122007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 PR binutils/4430
1015 * i386-dis.c (print_displacement): New.
1016 (OP_E): Call print_displacement instead of print_operand_value
1017 to output displacement when either base or index exist. Print
1018 the explicit zero displacement in 16bit mode.
1019
185b1163
L
10202007-04-26 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 PR binutils/4429
1023 * i386-dis.c (print_insn): Also swap the order of op_riprel
1024 when swapping op_index. Break when the RIP relative address
1025 is printed.
1026 (OP_E): Properly handle RIP relative addressing and print the
1027 explicit zero displacement for Intel mode.
1028
eddc20ad
AM
10292007-04-27 Alan Modra <amodra@bigpond.net.au>
1030
1031 * Makefile.am: Run "make dep-am".
1032 * Makefile.in: Regenerate.
1033 * ns32k-dis.c: Include sysdep.h first.
1034
dacc8b01
MS
10352007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
1036
1037 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
1038 opcode.
eddc20ad
AM
1039 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
1040
fbb92301
NC
10412007-04-24 Nick Clifton <nickc@redhat.com>
1042
1043 * arm-dis.c (print_insn): Initialise type.
1044
4c273957
AM
10452007-04-24 Alan Modra <amodra@bigpond.net.au>
1046
1047 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
1048 * Makefile.am: Run "make dep-am".
1049 * Makefile.in: Regenerate.
1050
9a2e615a
NS
10512007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1052
1053 * m68k-opc.c: Mark mcfisa_c instructions.
1054
37b37b2d
RE
10552007-04-21 Richard Earnshaw <rearnsha@arm.com>
1056
1057 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
1058 (thumb_opcodes): Add missing white space in adr.
65b650b4 1059 (arm_decode_shift): New parameter, print_shift. Only decode the
37b37b2d
RE
1060 shift parameter if set. Adjust callers.
1061 (print_insn_arm): Support for operand type q with no shift decode.
1062
717bbdf1
AM
10632007-04-21 Alan Modra <amodra@bigpond.net.au>
1064
db557034
AM
1065 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
1066 Move contents to..
1067 (i386_regtab): ..here.
1068 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
1069
717bbdf1
AM
1070 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
1071 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
1072 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
1073 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
1074
78336706
NS
10752007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1076
1077 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
1078 rambar1.
1079
b84bf58a
AM
10802007-04-20 Alan Modra <amodra@bigpond.net.au>
1081
1082 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
1083 change.
1084 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
1085 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
1086 references to following deleted functions.
1087 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
1088 (insert_ds, extract_ds, insert_de, extract_de): Delete.
1089 (insert_des, extract_des, insert_li, extract_li): Delete.
1090 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
1091 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
1092 (num_powerpc_operands): New constant.
1093 (XSPRG_MASK): Remove entire SPRG field.
1094 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
1095
0bbdef92
AM
10962007-04-20 Alan Modra <amodra@bigpond.net.au>
1097
1098 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
1099 (Z2_MASK): Define.
1100 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
1101
86ad2a13
RE
11022007-04-20 Richard Earnshaw <rearnsha@arm.com>
1103
1104 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
1105 being disassembled.
1106
a33e055d
AM
11072007-04-19 Alan Modra <amodra@bigpond.net.au>
1108
1109 * Makefile.am: Run "make dep-am".
1110 * Makefile.in: Regenerate.
1111 * po/POTFILES.in: Regenerate.
1112
360b1600
AM
11132007-04-19 Alan Modra <amodra@bigpond.net.au>
1114
1115 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
1116 db10cyc, db12cyc, db16cyc.
1117
b20ae55e
AM
11182007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1119
1120 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
1121
381d071f
L
11222007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1123
1124 * i386-dis.c (CRC32_Fixup): New.
1125 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
1126 PREGRP91): New.
1127 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
1128 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1129 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
1130 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
1131 (three_byte_table): Likewise.
1132
1133 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
1134
f6fdceb7 1135 * i386-opc.h (CpuSSE4_2): New.
381d071f
L
1136 (CpuSSE4): Likewise.
1137 (CpuUnknownFlags): Add CpuSSE4_2.
1138
42903f7f
L
11392007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * i386-dis.c (XMM_Fixup): New.
1142 (Edqb): New.
1143 (Edqd): New.
1144 (XMM0): New.
1145 (dqb_mode): New.
1146 (dqd_mode): New.
1147 (PREGRP39 ... PREGRP85): New.
1148 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
1149 (threebyte_0x3a_uses_DATA_prefix): Likewise.
1150 (prefix_user_table): Add PREGRP39 ... PREGRP85.
1151 (three_byte_table): Likewise.
1152 (putop): Handle 'K'.
1153 (intel_operand_size): Handle dqb_mode, dqd_mode):
1154 (OP_E): Likewise.
1155 (OP_G): Likewise.
1156
1157 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
1158
1159 * i386-opc.h (CpuSSE4_1): New.
1160 (CpuUnknownFlags): Add CpuSSE4_1.
1161 (regKludge): Update comment.
1162
ee5c21a0
DJ
11632007-04-18 Matthias Klose <doko@ubuntu.com>
1164
1165 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
1166 * Makefile.in: Regenerate.
1167
b7d19ba6
SE
11682007-04-14 Steve Ellcey <sje@cup.hp.com>
1169
1170 * Makefile.am: Add ACLOCAL_AMFLAGS.
1171 * Makefile.in: Regenerate.
1172
246c51aa
L
11732007-04-13 H.J. Lu <hongjiu.lu@intel.com>
1174
1175 * i386-dis.c: Remove trailing white spaces.
6e26e51a
L
1176 * i386-opc.c: Likewise.
1177 * i386-opc.h: Likewise.
246c51aa 1178
7967e09e
L
11792007-04-11 H.J. Lu <hongjiu.lu@intel.com>
1180
1181 PR binutils/4333
1182 * i386-dis.c (GRP1a): New.
1183 (GRP1b ... GRPPADLCK2): Update index.
1184 (dis386): Use GRP1a for entry 0x8f.
1185 (mod, rm, reg): Removed. Replaced by ...
1186 (modrm): This.
1187 (grps): Add GRP1a.
1188
56dc1f8a
KH
11892007-04-09 Kazu Hirata <kazu@codesourcery.com>
1190
1191 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
1192 info->print_address_func if longjmp is called.
1193
144f4bc6
DD
11942007-03-29 DJ Delorie <dj@redhat.com>
1195
1196 * m32c-desc.c: Regenerate.
1197 * m32c-dis.c: Regenerate.
1198 * m32c-opc.c: Regenerate.
1199
e72cf3ec
L
12002007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1201
1202 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
1203 movq. Remove InvMem from sldt, smsw and str.
1204
1205 * i386-opc.h (InvMem): Renamed to ...
1206 (RegMem): Update comments.
1207 (AnyMem): Remove InvMem.
1208
831480e9 12092007-03-27 Paul Brook <paul@codesourcery.com>
b74ed8f5 1210
b74ed8f5
PB
1211 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
1212
4146fd53
PB
12132007-03-24 Paul Brook <paul@codesourcery.com>
1214
1215 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
1216 (print_insn_coprocessor): Handle %<bitfield>x.
1217
b6702015 12182007-03-24 Paul Brook <paul@codesourcery.com>
e72cf3ec 1219 Mark Shinwell <shinwell@codesourcery.com>
b6702015
PB
1220
1221 * arm-dis.c (arm_opcodes): Print SRS base register.
1222
831480e9 12232007-03-23 H.J. Lu <hongjiu.lu@intel.com>
0003779b
L
1224
1225 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
1226
1227 * i386-opc.c (i386_optab): Add rex.wrxb.
1228
831480e9 12292007-03-21 H.J. Lu <hongjiu.lu@intel.com>
161a04f6
L
1230
1231 * i386-dis.c (REX_MODE64): Remove definition.
1232 (REX_EXTX): Likewise.
1233 (REX_EXTY): Likewise.
1234 (REX_EXTZ): Likewise.
1235 (USED_REX): Use REX_OPCODE instead of 0x40.
1236 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
1237 REX_R, REX_X and REX_B respectively.
1238
831480e9 12392007-03-21 H.J. Lu <hongjiu.lu@intel.com>
8b38ad71
L
1240
1241 PR binutils/4218
1242 * i386-dis.c (PREGRP38): New.
1243 (dis386): Use PREGRP38 for 0x90.
1244 (prefix_user_table): Add PREGRP38.
1245 (print_insn): Set uses_REPZ_prefix to 1 for pause.
1246 (NOP_Fixup1): Properly handle REX bits.
1247 (NOP_Fixup2): Likewise.
1248
1249 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
1250 Allow register with nop.
1251
75b06e7b
DD
12522007-03-20 DJ Delorie <dj@redhat.com>
1253
1254 * m32c-asm.c: Regenerate.
1255 * m32c-desc.c: Regenerate.
1256 * m32c-desc.h: Regenerate.
1257 * m32c-dis.h: Regenerate.
1258 * m32c-ibld.c: Regenerate.
1259 * m32c-opc.c: Regenerate.
1260 * m32c-opc.h: Regenerate.
1261
c3fe08fa
L
12622007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1263
1264 * i386-opc.c: Include "libiberty.h".
1265 (i386_regtab): Remove the last entry.
1266 (i386_regtab_size): New.
1267 (i386_float_regtab_size): Likewise.
1268
1269 * i386-opc.h (i386_regtab_size): New.
1270 (i386_float_regtab_size): Likewise.
1271
0b1cf022
L
12722007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1273
1274 * Makefile.am (CFILES): Add i386-opc.c.
1275 (ALL_MACHINES): Add i386-opc.lo.
1276 Run "make dep-am".
1277 * Makefile.in: Regenerated.
1278
1279 * configure.in: Add i386-opc.lo for bfd_i386_arch.
1280 * configure: Regenerated.
1281
1282 * i386-dis.c: Include "opcode/i386.h".
1283 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
1284 (FWAIT_OPCODE): Remove definition.
1285 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
1286 (MAX_OPERANDS): Remove definition.
1287
1288 * i386-opc.c: New file.
1289 * i386-opc.h: Likewise.
1290
56eced12
L
12912007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1292
1293 * Makefile.in: Regenerated.
1294
6f74c397
L
12952007-03-09 H.J. Lu <hongjiu.lu@intel.com>
1296
1297 * i386-dis.c (OP_Rd): Renamed to ...
1298 (OP_R): This.
1299 (Rd): Updated.
1300 (Rm): Likewise.
1301
a6d04ec4
AM
13022007-03-08 Alan Modra <amodra@bigpond.net.au>
1303
1620f33d
AM
1304 * fr30-asm.c: Regenerate.
1305 * frv-asm.c: Regenerate.
1306 * ip2k-asm.c: Regenerate.
1307 * iq2000-asm.c: Regenerate.
1308 * m32c-asm.c: Regenerate.
1309 * m32r-asm.c: Regenerate.
1310 * m32r-dis.c: Regenerate.
1311 * mt-asm.c: Regenerate.
1312 * mt-ibld.c: Regenerate.
1313 * mt-opc.c: Regenerate.
1314 * openrisc-asm.c: Regenerate.
1315 * xc16x-asm.c: Regenerate.
1316 * xstormy16-asm.c: Regenerate.
1317
a6d04ec4
AM
1318 * Makefile.am: Run "make dep-am".
1319 * Makefile.in: Regenerate.
1320 * po/POTFILES.in: Regenerate.
1321
b5639b37
MS
13222007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1323
1324 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
1325 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
1326 instruction formats added.
1327 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
1328 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
1329 masks added.
1330 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
1331 instructions added.
1332 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1333 (main): z9-ec cpu type option added.
1334 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
1335
b2e818b7
DD
13362007-02-22 DJ Delorie <dj@redhat.com>
1337
1338 * s390-opc.c (INSTR_SS_L2RDRD): New.
1339 (MASK_SS_L2RDRD): New.
1340 * s390-opc.txt (pka): Use it.
1341
8b082fb1
TS
13422007-02-20 Thiemo Seufer <ths@mips.com>
1343 Chao-Ying Fu <fu@mips.com>
1344
1345 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
1346 (print_insn_args): Add support for balign instruction.
1347 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
1348 (mips_builtin_opcodes): Add DSP R2 instructions.
1349
929e4d1a
MS
13502007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1351
1352 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
1353 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
1354 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
1355 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
1356
b8e55848
MS
13572007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
1358
1359 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
1360 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
1361 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
1362 and sfpc.
1363
af692060
NC
13642007-02-16 Nick Clifton <nickc@redhat.com>
1365
1366 PR binutils/4045
1367 * avr-dis.c (comment_start): New variable, contains the prefix to
1368 use when printing addresses in comments.
1369 (print_insn_avr): Set comment_start to an empty space if there is
1370 no symbol table available as the generic address printing code
1371 will prefix the numeric value of the address with 0x.
1372
ce518a5f
L
13732007-02-13 H.J. Lu <hongjiu.lu@intel.com>
1374
1375 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
1376 in struct dis386.
1377
bd2f2e55 13782007-02-05 Dave Brolley <brolley@redhat.com>
8c9c183d
DB
1379 Richard Sandiford <rsandifo@redhat.com>
1380 DJ Delorie <dj@redhat.com>
1381 Graydon Hoare <graydon@redhat.com>
1382 Frank Ch. Eigler <fche@redhat.com>
1383 Ben Elliston <bje@redhat.com>
1384
1385 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
1386 (CFILES): Add mep-*.c
1387 (ALL_MACHINES): Add mep-*.lo.
1388 (CLEANFILES): Add stamp-mep.
1389 (CGEN_CPUS): Add mep.
1390 (MEP_DEPS): New variable.
1391 (mep-*): New targets.
1392 * configure.in: Handle bfd_mep_arch.
1393 * disassemble.c (ARCH_mep): New macro.
1394 (disassembler): Handle bfd_arch_mep.
1395 (disassemble_init_for_target): Likewise.
1396 * mep-*: New files for Toshiba Media Processor (MeP).
bd2f2e55
DB
1397 * Makefile.in: Regenerated.
1398 * configure: Regenerated.
1399
eb7834a6 14002007-02-05 H.J. Lu <hongjiu.lu@intel.com>
65ca155d
L
1401
1402 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
1403 wrap around within the same segment in 16bit mode.
1404
eb7834a6 14052007-02-02 H.J. Lu <hongjiu.lu@intel.com>
206717e8
L
1406
1407 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
1408 prefix.
1409
c4f5c3d7
L
14102007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1411
1412 * avr-dis.c (avr_operand): Correct PR number in comment.
1413
fc523535 14142007-02-02 H.J. Lu <hongjiu.lu@intel.com>
f59a29b9
L
1415
1416 * disassemble.c (disassembler_usage): Call
1417 print_i386_disassembler_options for i386 disassembler.
1418
1419 * i386-dis.c (print_i386_disassembler_options): New.
1420 (print_insn): Support the new addr64 option.
1421
64a3a6fc
NC
14222007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
1423
1424 * ppc-dis.c (powerpc_dialect): Handle ppc440.
1425 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
1426 be used.
1427
ba4e851b
AM
14282007-02-02 Alan Modra <amodra@bigpond.net.au>
1429
1430 * ppc-opc.c (insert_bdm): -Many comment.
1431 (valid_bo): Add "extract" param. Accept both powerpc and power4
1432 BO fields when disassembling with -Many.
1433 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
1434
3bdcfdf4
KH
14352007-01-08 Kazu Hirata <kazu@codesourcery.com>
1436
1437 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
1438 cpu32 | fido_a except on tbl instructions.
1439
a028a6f5
PB
14402007-01-04 Paul Brook <paul@codesourcery.com>
1441
1442 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
1443
baee4c9e
AS
14442007-01-04 Andreas Schwab <schwab@suse.de>
1445
1446 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
1447
62ac925e
JB
14482007-01-04 Julian Brown <julian@codesourcery.com>
1449
1450 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
1451 vqrshl instructions.
1452
10a2343e 1453For older changes see ChangeLog-2006
252b5132
RH
1454\f
1455Local Variables:
2f6d2f85
NC
1456mode: change-log
1457left-margin: 8
1458fill-column: 74
252b5132
RH
1459version-control: never
1460End:
This page took 0.427697 seconds and 4 git commands to generate.