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