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