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