1 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
3 * cr16-opc.c: New file.
4 * cr16-dis.c: New file.
5 * Makefile.am: Entries for cr16.
6 * Makefile.in: Regenerate.
7 * cofigure.in: Add cr16 target information.
8 * configure : Regenerate.
9 * disassemble.c: Add cr16 target information.
11 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
13 * Makefile.am (HFILES): Add i386-opc.h and i386-tbl.h.
14 (CFILES): Add i386-gen.c.
16 (i386-gen.o): Likewise.
17 (i386-tbl.h): Likewise.
19 * Makefile.in: Regenerated.
21 * i386-gen.c: New file.
22 * i386-opc.tbl: Likewise.
23 * i386-reg.tbl: Likewise.
24 * i386-tbl.h: Likewise.
26 * i386-opc.c: Include "i386-tbl.h".
27 (i386_optab): Removed.
28 (i386_regtab): Likewise.
29 (i386_regtab_size): Likewise.
31 2007-06-26 Paul Brook <paul@codesourcery.com>
33 * arm-dis.c (coprocessor_opcodes): Add fmxr/fmrx mvfr0/mvfr1.
35 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
37 * i386-opc.h (regKludge): Renamed to ...
40 * i386-opc.c (i386_optab): Replace regKludge with RegKludge.
42 2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
45 * i386-dis.c (EX): Removed.
51 (PREGRP93...PREGRP97): Likewise.
52 (dis386_twobyte): Updated.
53 (prefix_user_table): Updated. Add PREGRP93...PREGRP97.
54 (OP_EX): Remove Intel syntax handling.
56 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
58 * m68k-opc.c (m68k_opcodes): Add wdebugl variants.
60 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
62 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
64 * acinclude.m4: Removed.
66 * Makefile.in: Regenerated.
67 * doc/Makefile.in: Likewise.
68 * aclocal.m4: Likewise.
69 * configure: Likewise.
71 2007-06-05 Paul Brook <paul@codesourcery.com>
73 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
75 2007-05-24 Steve Ellcey <sje@cup.hp.com>
77 * Makefile.in: Regnerate.
78 * configure: Regenerate.
79 * aclocal.m4: Regenerate.
81 2007-05-18 Alan Modra <amodra@bigpond.net.au>
83 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
84 after setting skip_optional.
86 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
88 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
89 (print_insn_powerpc): Use the new operand_value_powerpc and
90 skip_optional_operands functions to omit or print all optional
92 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
93 (XFL_MASK): Delete L and W bits from the mask.
94 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
95 with XWRA_MASK. Use W.
96 (mtfsf, mtfsf.): Use XFL_L and W.
98 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
101 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
103 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
105 * i386-opc.h (ShortForm): Redefined.
107 (JumpDword): Likewise.
108 (JumpByte): Likewise.
109 (JumpInterSegment): Likewise.
116 (IgnoreSize): Likewise.
117 (DefaultSize): Likewise.
125 (IsString): Likewise.
126 (regKludge): Likewise.
127 (IsPrefix): Likewise.
133 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
135 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
136 for some SSE4 instructions.
137 (threebyte_0x3a_uses_DATA_prefix): Likewise.
139 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
141 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
143 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
146 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
148 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
149 check data size prefix in 16bit mode.
151 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
154 2007-04-30 Mark Salter <msalter@redhat.com>
156 * frv-desc.c: Regenerate.
157 * frv-desc.h: Regenerate.
159 2007-04-30 Alan Modra <amodra@bigpond.net.au>
162 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
164 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
166 * i386-dis.c (modrm): Put reg before rm.
168 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
171 * i386-dis.c (print_displacement): New.
172 (OP_E): Call print_displacement instead of print_operand_value
173 to output displacement when either base or index exist. Print
174 the explicit zero displacement in 16bit mode.
176 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
179 * i386-dis.c (print_insn): Also swap the order of op_riprel
180 when swapping op_index. Break when the RIP relative address
182 (OP_E): Properly handle RIP relative addressing and print the
183 explicit zero displacement for Intel mode.
185 2007-04-27 Alan Modra <amodra@bigpond.net.au>
187 * Makefile.am: Run "make dep-am".
188 * Makefile.in: Regenerate.
189 * ns32k-dis.c: Include sysdep.h first.
191 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
193 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
195 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
197 2007-04-24 Nick Clifton <nickc@redhat.com>
199 * arm-dis.c (print_insn): Initialise type.
201 2007-04-24 Alan Modra <amodra@bigpond.net.au>
203 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
204 * Makefile.am: Run "make dep-am".
205 * Makefile.in: Regenerate.
207 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
209 * m68k-opc.c: Mark mcfisa_c instructions.
211 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
213 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
214 (thumb_opcodes): Add missing white space in adr.
215 (arm_decode_shift): New parameter, print_shift. Only decode the
216 shift parameter if set. Adjust callers.
217 (print_insn_arm): Support for operand type q with no shift decode.
219 2007-04-21 Alan Modra <amodra@bigpond.net.au>
221 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
223 (i386_regtab): ..here.
224 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
226 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
227 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
228 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
229 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
231 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
233 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
236 2007-04-20 Alan Modra <amodra@bigpond.net.au>
238 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
240 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
241 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
242 references to following deleted functions.
243 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
244 (insert_ds, extract_ds, insert_de, extract_de): Delete.
245 (insert_des, extract_des, insert_li, extract_li): Delete.
246 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
247 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
248 (num_powerpc_operands): New constant.
249 (XSPRG_MASK): Remove entire SPRG field.
250 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
252 2007-04-20 Alan Modra <amodra@bigpond.net.au>
254 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
256 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
258 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
260 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
263 2007-04-19 Alan Modra <amodra@bigpond.net.au>
265 * Makefile.am: Run "make dep-am".
266 * Makefile.in: Regenerate.
267 * po/POTFILES.in: Regenerate.
269 2007-04-19 Alan Modra <amodra@bigpond.net.au>
271 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
272 db10cyc, db12cyc, db16cyc.
274 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
276 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
278 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
280 * i386-dis.c (CRC32_Fixup): New.
281 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
283 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
284 (threebyte_0x3a_uses_DATA_prefix): Likewise.
285 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
286 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
287 (three_byte_table): Likewise.
289 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
291 * i386-opc.h (CpuSSE4_2): New.
293 (CpuUnknownFlags): Add CpuSSE4_2.
295 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
297 * i386-dis.c (XMM_Fixup): New.
303 (PREGRP39 ... PREGRP85): New.
304 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
305 (threebyte_0x3a_uses_DATA_prefix): Likewise.
306 (prefix_user_table): Add PREGRP39 ... PREGRP85.
307 (three_byte_table): Likewise.
309 (intel_operand_size): Handle dqb_mode, dqd_mode):
313 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
315 * i386-opc.h (CpuSSE4_1): New.
316 (CpuUnknownFlags): Add CpuSSE4_1.
317 (regKludge): Update comment.
319 2007-04-18 Matthias Klose <doko@ubuntu.com>
321 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
322 * Makefile.in: Regenerate.
324 2007-04-14 Steve Ellcey <sje@cup.hp.com>
326 * Makefile.am: Add ACLOCAL_AMFLAGS.
327 * Makefile.in: Regenerate.
329 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
331 * i386-dis.c: Remove trailing white spaces.
332 * i386-opc.c: Likewise.
333 * i386-opc.h: Likewise.
335 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
338 * i386-dis.c (GRP1a): New.
339 (GRP1b ... GRPPADLCK2): Update index.
340 (dis386): Use GRP1a for entry 0x8f.
341 (mod, rm, reg): Removed. Replaced by ...
345 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
347 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
348 info->print_address_func if longjmp is called.
350 2007-03-29 DJ Delorie <dj@redhat.com>
352 * m32c-desc.c: Regenerate.
353 * m32c-dis.c: Regenerate.
354 * m32c-opc.c: Regenerate.
356 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
358 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
359 movq. Remove InvMem from sldt, smsw and str.
361 * i386-opc.h (InvMem): Renamed to ...
362 (RegMem): Update comments.
363 (AnyMem): Remove InvMem.
365 2007-03-27 Paul Brook <paul@codesourcery.com>
367 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
369 2007-03-24 Paul Brook <paul@codesourcery.com>
371 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
372 (print_insn_coprocessor): Handle %<bitfield>x.
374 2007-03-24 Paul Brook <paul@codesourcery.com>
375 Mark Shinwell <shinwell@codesourcery.com>
377 * arm-dis.c (arm_opcodes): Print SRS base register.
379 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
381 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
383 * i386-opc.c (i386_optab): Add rex.wrxb.
385 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
387 * i386-dis.c (REX_MODE64): Remove definition.
388 (REX_EXTX): Likewise.
389 (REX_EXTY): Likewise.
390 (REX_EXTZ): Likewise.
391 (USED_REX): Use REX_OPCODE instead of 0x40.
392 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
393 REX_R, REX_X and REX_B respectively.
395 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
398 * i386-dis.c (PREGRP38): New.
399 (dis386): Use PREGRP38 for 0x90.
400 (prefix_user_table): Add PREGRP38.
401 (print_insn): Set uses_REPZ_prefix to 1 for pause.
402 (NOP_Fixup1): Properly handle REX bits.
403 (NOP_Fixup2): Likewise.
405 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
406 Allow register with nop.
408 2007-03-20 DJ Delorie <dj@redhat.com>
410 * m32c-asm.c: Regenerate.
411 * m32c-desc.c: Regenerate.
412 * m32c-desc.h: Regenerate.
413 * m32c-dis.h: Regenerate.
414 * m32c-ibld.c: Regenerate.
415 * m32c-opc.c: Regenerate.
416 * m32c-opc.h: Regenerate.
418 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
420 * i386-opc.c: Include "libiberty.h".
421 (i386_regtab): Remove the last entry.
422 (i386_regtab_size): New.
423 (i386_float_regtab_size): Likewise.
425 * i386-opc.h (i386_regtab_size): New.
426 (i386_float_regtab_size): Likewise.
428 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
430 * Makefile.am (CFILES): Add i386-opc.c.
431 (ALL_MACHINES): Add i386-opc.lo.
433 * Makefile.in: Regenerated.
435 * configure.in: Add i386-opc.lo for bfd_i386_arch.
436 * configure: Regenerated.
438 * i386-dis.c: Include "opcode/i386.h".
439 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
440 (FWAIT_OPCODE): Remove definition.
441 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
442 (MAX_OPERANDS): Remove definition.
444 * i386-opc.c: New file.
445 * i386-opc.h: Likewise.
447 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
449 * Makefile.in: Regenerated.
451 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
453 * i386-dis.c (OP_Rd): Renamed to ...
458 2007-03-08 Alan Modra <amodra@bigpond.net.au>
460 * fr30-asm.c: Regenerate.
461 * frv-asm.c: Regenerate.
462 * ip2k-asm.c: Regenerate.
463 * iq2000-asm.c: Regenerate.
464 * m32c-asm.c: Regenerate.
465 * m32r-asm.c: Regenerate.
466 * m32r-dis.c: Regenerate.
467 * mt-asm.c: Regenerate.
468 * mt-ibld.c: Regenerate.
469 * mt-opc.c: Regenerate.
470 * openrisc-asm.c: Regenerate.
471 * xc16x-asm.c: Regenerate.
472 * xstormy16-asm.c: Regenerate.
474 * Makefile.am: Run "make dep-am".
475 * Makefile.in: Regenerate.
476 * po/POTFILES.in: Regenerate.
478 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
480 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
481 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
482 instruction formats added.
483 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
484 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
486 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
488 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
489 (main): z9-ec cpu type option added.
490 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
492 2007-02-22 DJ Delorie <dj@redhat.com>
494 * s390-opc.c (INSTR_SS_L2RDRD): New.
495 (MASK_SS_L2RDRD): New.
496 * s390-opc.txt (pka): Use it.
498 2007-02-20 Thiemo Seufer <ths@mips.com>
499 Chao-Ying Fu <fu@mips.com>
501 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
502 (print_insn_args): Add support for balign instruction.
503 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
504 (mips_builtin_opcodes): Add DSP R2 instructions.
506 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
508 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
509 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
510 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
511 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
513 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
515 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
516 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
517 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
520 2007-02-16 Nick Clifton <nickc@redhat.com>
523 * avr-dis.c (comment_start): New variable, contains the prefix to
524 use when printing addresses in comments.
525 (print_insn_avr): Set comment_start to an empty space if there is
526 no symbol table available as the generic address printing code
527 will prefix the numeric value of the address with 0x.
529 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
531 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
534 2007-02-05 Dave Brolley <brolley@redhat.com>
535 Richard Sandiford <rsandifo@redhat.com>
536 DJ Delorie <dj@redhat.com>
537 Graydon Hoare <graydon@redhat.com>
538 Frank Ch. Eigler <fche@redhat.com>
539 Ben Elliston <bje@redhat.com>
541 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
542 (CFILES): Add mep-*.c
543 (ALL_MACHINES): Add mep-*.lo.
544 (CLEANFILES): Add stamp-mep.
545 (CGEN_CPUS): Add mep.
546 (MEP_DEPS): New variable.
547 (mep-*): New targets.
548 * configure.in: Handle bfd_mep_arch.
549 * disassemble.c (ARCH_mep): New macro.
550 (disassembler): Handle bfd_arch_mep.
551 (disassemble_init_for_target): Likewise.
552 * mep-*: New files for Toshiba Media Processor (MeP).
553 * Makefile.in: Regenerated.
554 * configure: Regenerated.
556 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
558 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
559 wrap around within the same segment in 16bit mode.
561 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
563 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
566 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
568 * avr-dis.c (avr_operand): Correct PR number in comment.
570 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
572 * disassemble.c (disassembler_usage): Call
573 print_i386_disassembler_options for i386 disassembler.
575 * i386-dis.c (print_i386_disassembler_options): New.
576 (print_insn): Support the new addr64 option.
578 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
580 * ppc-dis.c (powerpc_dialect): Handle ppc440.
581 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
584 2007-02-02 Alan Modra <amodra@bigpond.net.au>
586 * ppc-opc.c (insert_bdm): -Many comment.
587 (valid_bo): Add "extract" param. Accept both powerpc and power4
588 BO fields when disassembling with -Many.
589 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
591 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
593 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
594 cpu32 | fido_a except on tbl instructions.
596 2007-01-04 Paul Brook <paul@codesourcery.com>
598 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
600 2007-01-04 Andreas Schwab <schwab@suse.de>
602 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
604 2007-01-04 Julian Brown <julian@codesourcery.com>
606 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
609 For older changes see ChangeLog-2006
615 version-control: never