1 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
3 * aclocal.m4: Regenerated.
4 * Makefile.in: Likewise.
6 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
8 * i386-reg.tbl: Remove spaces before comments.
10 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
12 * cr16-opc.c: New file.
13 * cr16-dis.c: New file.
14 * Makefile.am: Entries for cr16.
15 * Makefile.in: Regenerate.
16 * cofigure.in: Add cr16 target information.
17 * configure : Regenerate.
18 * disassemble.c: Add cr16 target information.
20 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
22 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
23 (CFILES): Add i386-gen.c.
25 (i386-gen.o): Likewise.
26 (i386-tbl.h): Likewise.
28 * Makefile.in: Regenerated.
30 * i386-gen.c: New file.
31 * i386-opc.tbl: Likewise.
32 * i386-reg.tbl: Likewise.
33 * i386-tbl.h: Likewise.
35 * i386-opc.c: Include "i386-tbl.h".
36 (i386_optab): Removed.
37 (i386_regtab): Likewise.
38 (i386_regtab_size): Likewise.
40 2007-06-26 Paul Brook <paul@codesourcery.com>
42 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
44 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
46 * i386-opc.h (regKludge): Renamed to ...
49 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
51 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
54 * i386-dis.c (EX): Removed.
60 (PREGRP93...PREGRP97): Likewise.
61 (dis386_twobyte): Updated.
62 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
63 (OP_EX): Remove Intel syntax handling.
65 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
67 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
69 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
71 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
73 * acinclude.m4: Removed.
75 * Makefile.in: Regenerated.
76 * doc/Makefile.in: Likewise.
77 * aclocal.m4: Likewise.
78 * configure: Likewise.
80 2007-06-05 Paul Brook <paul@codesourcery.com>
82 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
84 2007-05-24 Steve Ellcey <sje@cup.hp.com>
86 * Makefile.in: Regnerate.
87 * configure: Regenerate.
88 * aclocal.m4: Regenerate.
90 2007-05-18 Alan Modra <amodra@bigpond.net.au>
92 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
93 after setting skip_optional.
95 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
97 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
98 (print_insn_powerpc): Use the new operand_value_powerpc and
99 skip_optional_operands functions to omit or print all optional
101 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
102 (XFL_MASK): Delete L and W bits from the mask.
103 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
104 with XWRA_MASK. Use W.
105 (mtfsf, mtfsf.): Use XFL_L and W.
107 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
110 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
112 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
114 * i386-opc.h (ShortForm): Redefined.
116 (JumpDword): Likewise.
117 (JumpByte): Likewise.
118 (JumpInterSegment): Likewise.
125 (IgnoreSize): Likewise.
126 (DefaultSize): Likewise.
134 (IsString): Likewise.
135 (regKludge): Likewise.
136 (IsPrefix): Likewise.
142 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
144 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
145 for some SSE4 instructions.
146 (threebyte_0x3a_uses_DATA_prefix): Likewise.
148 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
150 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
152 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
155 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
157 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
158 check data size prefix in 16bit mode.
160 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
163 2007-04-30 Mark Salter <msalter@redhat.com>
165 * frv-desc.c: Regenerate.
166 * frv-desc.h: Regenerate.
168 2007-04-30 Alan Modra <amodra@bigpond.net.au>
171 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
173 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
175 * i386-dis.c (modrm): Put reg before rm.
177 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
180 * i386-dis.c (print_displacement): New.
181 (OP_E): Call print_displacement instead of print_operand_value
182 to output displacement when either base or index exist. Print
183 the explicit zero displacement in 16bit mode.
185 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
188 * i386-dis.c (print_insn): Also swap the order of op_riprel
189 when swapping op_index. Break when the RIP relative address
191 (OP_E): Properly handle RIP relative addressing and print the
192 explicit zero displacement for Intel mode.
194 2007-04-27 Alan Modra <amodra@bigpond.net.au>
196 * Makefile.am: Run "make dep-am".
197 * Makefile.in: Regenerate.
198 * ns32k-dis.c: Include sysdep.h first.
200 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
202 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
204 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
206 2007-04-24 Nick Clifton <nickc@redhat.com>
208 * arm-dis.c (print_insn): Initialise type.
210 2007-04-24 Alan Modra <amodra@bigpond.net.au>
212 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
213 * Makefile.am: Run "make dep-am".
214 * Makefile.in: Regenerate.
216 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
218 * m68k-opc.c: Mark mcfisa_c instructions.
220 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
222 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
223 (thumb_opcodes): Add missing white space in adr.
224 (arm_decode_shift): New parameter, print_shift. Only decode the
225 shift parameter if set. Adjust callers.
226 (print_insn_arm): Support for operand type q with no shift decode.
228 2007-04-21 Alan Modra <amodra@bigpond.net.au>
230 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
232 (i386_regtab): ..here.
233 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
235 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
236 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
237 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
238 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
240 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
242 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
245 2007-04-20 Alan Modra <amodra@bigpond.net.au>
247 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
249 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
250 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
251 references to following deleted functions.
252 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
253 (insert_ds, extract_ds, insert_de, extract_de): Delete.
254 (insert_des, extract_des, insert_li, extract_li): Delete.
255 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
256 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
257 (num_powerpc_operands): New constant.
258 (XSPRG_MASK): Remove entire SPRG field.
259 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
261 2007-04-20 Alan Modra <amodra@bigpond.net.au>
263 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
265 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
267 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
269 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
272 2007-04-19 Alan Modra <amodra@bigpond.net.au>
274 * Makefile.am: Run "make dep-am".
275 * Makefile.in: Regenerate.
276 * po/POTFILES.in: Regenerate.
278 2007-04-19 Alan Modra <amodra@bigpond.net.au>
280 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
281 db10cyc, db12cyc, db16cyc.
283 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
285 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
287 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
289 * i386-dis.c (CRC32_Fixup): New.
290 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
292 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
293 (threebyte_0x3a_uses_DATA_prefix): Likewise.
294 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
295 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
296 (three_byte_table): Likewise.
298 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
300 * i386-opc.h (CpuSSE4_2): New.
302 (CpuUnknownFlags): Add CpuSSE4_2.
304 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
306 * i386-dis.c (XMM_Fixup): New.
312 (PREGRP39 ... PREGRP85): New.
313 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
314 (threebyte_0x3a_uses_DATA_prefix): Likewise.
315 (prefix_user_table): Add PREGRP39 ... PREGRP85.
316 (three_byte_table): Likewise.
318 (intel_operand_size): Handle dqb_mode, dqd_mode):
322 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
324 * i386-opc.h (CpuSSE4_1): New.
325 (CpuUnknownFlags): Add CpuSSE4_1.
326 (regKludge): Update comment.
328 2007-04-18 Matthias Klose <doko@ubuntu.com>
330 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
331 * Makefile.in: Regenerate.
333 2007-04-14 Steve Ellcey <sje@cup.hp.com>
335 * Makefile.am: Add ACLOCAL_AMFLAGS.
336 * Makefile.in: Regenerate.
338 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
340 * i386-dis.c: Remove trailing white spaces.
341 * i386-opc.c: Likewise.
342 * i386-opc.h: Likewise.
344 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
347 * i386-dis.c (GRP1a): New.
348 (GRP1b ... GRPPADLCK2): Update index.
349 (dis386): Use GRP1a for entry 0x8f.
350 (mod, rm, reg): Removed. Replaced by ...
354 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
356 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
357 info->print_address_func if longjmp is called.
359 2007-03-29 DJ Delorie <dj@redhat.com>
361 * m32c-desc.c: Regenerate.
362 * m32c-dis.c: Regenerate.
363 * m32c-opc.c: Regenerate.
365 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
367 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
368 movq. Remove InvMem from sldt, smsw and str.
370 * i386-opc.h (InvMem): Renamed to ...
371 (RegMem): Update comments.
372 (AnyMem): Remove InvMem.
374 2007-03-27 Paul Brook <paul@codesourcery.com>
376 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
378 2007-03-24 Paul Brook <paul@codesourcery.com>
380 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
381 (print_insn_coprocessor): Handle %<bitfield>x.
383 2007-03-24 Paul Brook <paul@codesourcery.com>
384 Mark Shinwell <shinwell@codesourcery.com>
386 * arm-dis.c (arm_opcodes): Print SRS base register.
388 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
390 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
392 * i386-opc.c (i386_optab): Add rex.wrxb.
394 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
396 * i386-dis.c (REX_MODE64): Remove definition.
397 (REX_EXTX): Likewise.
398 (REX_EXTY): Likewise.
399 (REX_EXTZ): Likewise.
400 (USED_REX): Use REX_OPCODE instead of 0x40.
401 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
402 REX_R, REX_X and REX_B respectively.
404 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
407 * i386-dis.c (PREGRP38): New.
408 (dis386): Use PREGRP38 for 0x90.
409 (prefix_user_table): Add PREGRP38.
410 (print_insn): Set uses_REPZ_prefix to 1 for pause.
411 (NOP_Fixup1): Properly handle REX bits.
412 (NOP_Fixup2): Likewise.
414 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
415 Allow register with nop.
417 2007-03-20 DJ Delorie <dj@redhat.com>
419 * m32c-asm.c: Regenerate.
420 * m32c-desc.c: Regenerate.
421 * m32c-desc.h: Regenerate.
422 * m32c-dis.h: Regenerate.
423 * m32c-ibld.c: Regenerate.
424 * m32c-opc.c: Regenerate.
425 * m32c-opc.h: Regenerate.
427 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
429 * i386-opc.c: Include "libiberty.h".
430 (i386_regtab): Remove the last entry.
431 (i386_regtab_size): New.
432 (i386_float_regtab_size): Likewise.
434 * i386-opc.h (i386_regtab_size): New.
435 (i386_float_regtab_size): Likewise.
437 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
439 * Makefile.am (CFILES): Add i386-opc.c.
440 (ALL_MACHINES): Add i386-opc.lo.
442 * Makefile.in: Regenerated.
444 * configure.in: Add i386-opc.lo for bfd_i386_arch.
445 * configure: Regenerated.
447 * i386-dis.c: Include "opcode/i386.h".
448 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
449 (FWAIT_OPCODE): Remove definition.
450 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
451 (MAX_OPERANDS): Remove definition.
453 * i386-opc.c: New file.
454 * i386-opc.h: Likewise.
456 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
458 * Makefile.in: Regenerated.
460 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
462 * i386-dis.c (OP_Rd): Renamed to ...
467 2007-03-08 Alan Modra <amodra@bigpond.net.au>
469 * fr30-asm.c: Regenerate.
470 * frv-asm.c: Regenerate.
471 * ip2k-asm.c: Regenerate.
472 * iq2000-asm.c: Regenerate.
473 * m32c-asm.c: Regenerate.
474 * m32r-asm.c: Regenerate.
475 * m32r-dis.c: Regenerate.
476 * mt-asm.c: Regenerate.
477 * mt-ibld.c: Regenerate.
478 * mt-opc.c: Regenerate.
479 * openrisc-asm.c: Regenerate.
480 * xc16x-asm.c: Regenerate.
481 * xstormy16-asm.c: Regenerate.
483 * Makefile.am: Run "make dep-am".
484 * Makefile.in: Regenerate.
485 * po/POTFILES.in: Regenerate.
487 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
489 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
490 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
491 instruction formats added.
492 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
493 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
495 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
497 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
498 (main): z9-ec cpu type option added.
499 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
501 2007-02-22 DJ Delorie <dj@redhat.com>
503 * s390-opc.c (INSTR_SS_L2RDRD): New.
504 (MASK_SS_L2RDRD): New.
505 * s390-opc.txt (pka): Use it.
507 2007-02-20 Thiemo Seufer <ths@mips.com>
508 Chao-Ying Fu <fu@mips.com>
510 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
511 (print_insn_args): Add support for balign instruction.
512 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
513 (mips_builtin_opcodes): Add DSP R2 instructions.
515 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
517 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
518 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
519 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
520 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
522 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
524 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
525 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
526 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
529 2007-02-16 Nick Clifton <nickc@redhat.com>
532 * avr-dis.c (comment_start): New variable, contains the prefix to
533 use when printing addresses in comments.
534 (print_insn_avr): Set comment_start to an empty space if there is
535 no symbol table available as the generic address printing code
536 will prefix the numeric value of the address with 0x.
538 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
540 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
543 2007-02-05 Dave Brolley <brolley@redhat.com>
544 Richard Sandiford <rsandifo@redhat.com>
545 DJ Delorie <dj@redhat.com>
546 Graydon Hoare <graydon@redhat.com>
547 Frank Ch. Eigler <fche@redhat.com>
548 Ben Elliston <bje@redhat.com>
550 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
551 (CFILES): Add mep-*.c
552 (ALL_MACHINES): Add mep-*.lo.
553 (CLEANFILES): Add stamp-mep.
554 (CGEN_CPUS): Add mep.
555 (MEP_DEPS): New variable.
556 (mep-*): New targets.
557 * configure.in: Handle bfd_mep_arch.
558 * disassemble.c (ARCH_mep): New macro.
559 (disassembler): Handle bfd_arch_mep.
560 (disassemble_init_for_target): Likewise.
561 * mep-*: New files for Toshiba Media Processor (MeP).
562 * Makefile.in: Regenerated.
563 * configure: Regenerated.
565 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
567 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
568 wrap around within the same segment in 16bit mode.
570 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
572 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
575 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
577 * avr-dis.c (avr_operand): Correct PR number in comment.
579 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
581 * disassemble.c (disassembler_usage): Call
582 print_i386_disassembler_options for i386 disassembler.
584 * i386-dis.c (print_i386_disassembler_options): New.
585 (print_insn): Support the new addr64 option.
587 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
589 * ppc-dis.c (powerpc_dialect): Handle ppc440.
590 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
593 2007-02-02 Alan Modra <amodra@bigpond.net.au>
595 * ppc-opc.c (insert_bdm): -Many comment.
596 (valid_bo): Add "extract" param. Accept both powerpc and power4
597 BO fields when disassembling with -Many.
598 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
600 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
602 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
603 cpu32 | fido_a except on tbl instructions.
605 2007-01-04 Paul Brook <paul@codesourcery.com>
607 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
609 2007-01-04 Andreas Schwab <schwab@suse.de>
611 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
613 2007-01-04 Julian Brown <julian@codesourcery.com>
615 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
618 For older changes see ChangeLog-2006
624 version-control: never