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