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