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