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