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