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