1 2007-06-05 Paul Brook <paul@codesourcery.com>
3 * arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.
5 2007-05-24 Steve Ellcey <sje@cup.hp.com>
7 * Makefile.in: Regnerate.
8 * configure: Regenerate.
9 * aclocal.m4: Regenerate.
11 2007-05-18 Alan Modra <amodra@bigpond.net.au>
13 * ppc-dis.c (print_insn_powerpc): Don't skip all operands
14 after setting skip_optional.
16 2007-05-16 Peter Bergner <bergner@vnet.ibm.com>
18 * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
19 (print_insn_powerpc): Use the new operand_value_powerpc and
20 skip_optional_operands functions to omit or print all optional
22 * ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
23 (XFL_MASK): Delete L and W bits from the mask.
24 (mtfsfi, mtfsfi.): Replace use of BF with BFF. Relpace use of XRA_MASK
25 with XWRA_MASK. Use W.
26 (mtfsf, mtfsf.): Use XFL_L and W.
28 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
31 * i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".
33 2007-05-10 H.J. Lu <hongjiu.lu@intel.com>
35 * i386-opc.h (ShortForm): Redefined.
37 (JumpDword): Likewise.
39 (JumpInterSegment): Likewise.
46 (IgnoreSize): Likewise.
47 (DefaultSize): Likewise.
56 (regKludge): Likewise.
63 2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
65 * i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
66 for some SSE4 instructions.
67 (threebyte_0x3a_uses_DATA_prefix): Likewise.
69 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
71 * i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.
73 * i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
76 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
78 * i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
79 check data size prefix in 16bit mode.
81 * i386-opc.c (i386_optab): Default crc32 to non-8bit and
84 2007-04-30 Mark Salter <msalter@redhat.com>
86 * frv-desc.c: Regenerate.
87 * frv-desc.h: Regenerate.
89 2007-04-30 Alan Modra <amodra@bigpond.net.au>
92 * ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
94 2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
96 * i386-dis.c (modrm): Put reg before rm.
98 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
101 * i386-dis.c (print_displacement): New.
102 (OP_E): Call print_displacement instead of print_operand_value
103 to output displacement when either base or index exist. Print
104 the explicit zero displacement in 16bit mode.
106 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
109 * i386-dis.c (print_insn): Also swap the order of op_riprel
110 when swapping op_index. Break when the RIP relative address
112 (OP_E): Properly handle RIP relative addressing and print the
113 explicit zero displacement for Intel mode.
115 2007-04-27 Alan Modra <amodra@bigpond.net.au>
117 * Makefile.am: Run "make dep-am".
118 * Makefile.in: Regenerate.
119 * ns32k-dis.c: Include sysdep.h first.
121 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
123 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
125 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
127 2007-04-24 Nick Clifton <nickc@redhat.com>
129 * arm-dis.c (print_insn): Initialise type.
131 2007-04-24 Alan Modra <amodra@bigpond.net.au>
133 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
134 * Makefile.am: Run "make dep-am".
135 * Makefile.in: Regenerate.
137 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
139 * m68k-opc.c: Mark mcfisa_c instructions.
141 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
143 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
144 (thumb_opcodes): Add missing white space in adr.
145 (arm_decode_shift): New parameter, print_shift. Only decode the
146 shift parameter if set. Adjust callers.
147 (print_insn_arm): Support for operand type q with no shift decode.
149 2007-04-21 Alan Modra <amodra@bigpond.net.au>
151 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
153 (i386_regtab): ..here.
154 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
156 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
157 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
158 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
159 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
161 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
163 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
166 2007-04-20 Alan Modra <amodra@bigpond.net.au>
168 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
170 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
171 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
172 references to following deleted functions.
173 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
174 (insert_ds, extract_ds, insert_de, extract_de): Delete.
175 (insert_des, extract_des, insert_li, extract_li): Delete.
176 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
177 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
178 (num_powerpc_operands): New constant.
179 (XSPRG_MASK): Remove entire SPRG field.
180 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
182 2007-04-20 Alan Modra <amodra@bigpond.net.au>
184 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
186 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
188 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
190 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
193 2007-04-19 Alan Modra <amodra@bigpond.net.au>
195 * Makefile.am: Run "make dep-am".
196 * Makefile.in: Regenerate.
197 * po/POTFILES.in: Regenerate.
199 2007-04-19 Alan Modra <amodra@bigpond.net.au>
201 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
202 db10cyc, db12cyc, db16cyc.
204 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
206 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
208 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
210 * i386-dis.c (CRC32_Fixup): New.
211 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
213 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
214 (threebyte_0x3a_uses_DATA_prefix): Likewise.
215 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
216 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
217 (three_byte_table): Likewise.
219 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
221 * i386-opc.h (CpuSSE4_2): New.
223 (CpuUnknownFlags): Add CpuSSE4_2.
225 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
227 * i386-dis.c (XMM_Fixup): New.
233 (PREGRP39 ... PREGRP85): New.
234 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
235 (threebyte_0x3a_uses_DATA_prefix): Likewise.
236 (prefix_user_table): Add PREGRP39 ... PREGRP85.
237 (three_byte_table): Likewise.
239 (intel_operand_size): Handle dqb_mode, dqd_mode):
243 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
245 * i386-opc.h (CpuSSE4_1): New.
246 (CpuUnknownFlags): Add CpuSSE4_1.
247 (regKludge): Update comment.
249 2007-04-18 Matthias Klose <doko@ubuntu.com>
251 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
252 * Makefile.in: Regenerate.
254 2007-04-14 Steve Ellcey <sje@cup.hp.com>
256 * Makefile.am: Add ACLOCAL_AMFLAGS.
257 * Makefile.in: Regenerate.
259 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
261 * i386-dis.c: Remove trailing white spaces.
262 * i386-opc.c: Likewise.
263 * i386-opc.h: Likewise.
265 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
268 * i386-dis.c (GRP1a): New.
269 (GRP1b ... GRPPADLCK2): Update index.
270 (dis386): Use GRP1a for entry 0x8f.
271 (mod, rm, reg): Removed. Replaced by ...
275 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
277 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
278 info->print_address_func if longjmp is called.
280 2007-03-29 DJ Delorie <dj@redhat.com>
282 * m32c-desc.c: Regenerate.
283 * m32c-dis.c: Regenerate.
284 * m32c-opc.c: Regenerate.
286 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
288 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
289 movq. Remove InvMem from sldt, smsw and str.
291 * i386-opc.h (InvMem): Renamed to ...
292 (RegMem): Update comments.
293 (AnyMem): Remove InvMem.
295 2007-03-27 Paul Brook <paul@codesourcery.com>
297 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
299 2007-03-24 Paul Brook <paul@codesourcery.com>
301 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
302 (print_insn_coprocessor): Handle %<bitfield>x.
304 2007-03-24 Paul Brook <paul@codesourcery.com>
305 Mark Shinwell <shinwell@codesourcery.com>
307 * arm-dis.c (arm_opcodes): Print SRS base register.
309 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
311 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
313 * i386-opc.c (i386_optab): Add rex.wrxb.
315 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
317 * i386-dis.c (REX_MODE64): Remove definition.
318 (REX_EXTX): Likewise.
319 (REX_EXTY): Likewise.
320 (REX_EXTZ): Likewise.
321 (USED_REX): Use REX_OPCODE instead of 0x40.
322 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
323 REX_R, REX_X and REX_B respectively.
325 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
328 * i386-dis.c (PREGRP38): New.
329 (dis386): Use PREGRP38 for 0x90.
330 (prefix_user_table): Add PREGRP38.
331 (print_insn): Set uses_REPZ_prefix to 1 for pause.
332 (NOP_Fixup1): Properly handle REX bits.
333 (NOP_Fixup2): Likewise.
335 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
336 Allow register with nop.
338 2007-03-20 DJ Delorie <dj@redhat.com>
340 * m32c-asm.c: Regenerate.
341 * m32c-desc.c: Regenerate.
342 * m32c-desc.h: Regenerate.
343 * m32c-dis.h: Regenerate.
344 * m32c-ibld.c: Regenerate.
345 * m32c-opc.c: Regenerate.
346 * m32c-opc.h: Regenerate.
348 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
350 * i386-opc.c: Include "libiberty.h".
351 (i386_regtab): Remove the last entry.
352 (i386_regtab_size): New.
353 (i386_float_regtab_size): Likewise.
355 * i386-opc.h (i386_regtab_size): New.
356 (i386_float_regtab_size): Likewise.
358 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
360 * Makefile.am (CFILES): Add i386-opc.c.
361 (ALL_MACHINES): Add i386-opc.lo.
363 * Makefile.in: Regenerated.
365 * configure.in: Add i386-opc.lo for bfd_i386_arch.
366 * configure: Regenerated.
368 * i386-dis.c: Include "opcode/i386.h".
369 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
370 (FWAIT_OPCODE): Remove definition.
371 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
372 (MAX_OPERANDS): Remove definition.
374 * i386-opc.c: New file.
375 * i386-opc.h: Likewise.
377 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
379 * Makefile.in: Regenerated.
381 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
383 * i386-dis.c (OP_Rd): Renamed to ...
388 2007-03-08 Alan Modra <amodra@bigpond.net.au>
390 * fr30-asm.c: Regenerate.
391 * frv-asm.c: Regenerate.
392 * ip2k-asm.c: Regenerate.
393 * iq2000-asm.c: Regenerate.
394 * m32c-asm.c: Regenerate.
395 * m32r-asm.c: Regenerate.
396 * m32r-dis.c: Regenerate.
397 * mt-asm.c: Regenerate.
398 * mt-ibld.c: Regenerate.
399 * mt-opc.c: Regenerate.
400 * openrisc-asm.c: Regenerate.
401 * xc16x-asm.c: Regenerate.
402 * xstormy16-asm.c: Regenerate.
404 * Makefile.am: Run "make dep-am".
405 * Makefile.in: Regenerate.
406 * po/POTFILES.in: Regenerate.
408 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
410 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
411 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
412 instruction formats added.
413 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
414 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
416 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
418 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
419 (main): z9-ec cpu type option added.
420 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
422 2007-02-22 DJ Delorie <dj@redhat.com>
424 * s390-opc.c (INSTR_SS_L2RDRD): New.
425 (MASK_SS_L2RDRD): New.
426 * s390-opc.txt (pka): Use it.
428 2007-02-20 Thiemo Seufer <ths@mips.com>
429 Chao-Ying Fu <fu@mips.com>
431 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
432 (print_insn_args): Add support for balign instruction.
433 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
434 (mips_builtin_opcodes): Add DSP R2 instructions.
436 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
438 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
439 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
440 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
441 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
443 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
445 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
446 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
447 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
450 2007-02-16 Nick Clifton <nickc@redhat.com>
453 * avr-dis.c (comment_start): New variable, contains the prefix to
454 use when printing addresses in comments.
455 (print_insn_avr): Set comment_start to an empty space if there is
456 no symbol table available as the generic address printing code
457 will prefix the numeric value of the address with 0x.
459 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
461 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
464 2007-02-05 Dave Brolley <brolley@redhat.com>
465 Richard Sandiford <rsandifo@redhat.com>
466 DJ Delorie <dj@redhat.com>
467 Graydon Hoare <graydon@redhat.com>
468 Frank Ch. Eigler <fche@redhat.com>
469 Ben Elliston <bje@redhat.com>
471 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
472 (CFILES): Add mep-*.c
473 (ALL_MACHINES): Add mep-*.lo.
474 (CLEANFILES): Add stamp-mep.
475 (CGEN_CPUS): Add mep.
476 (MEP_DEPS): New variable.
477 (mep-*): New targets.
478 * configure.in: Handle bfd_mep_arch.
479 * disassemble.c (ARCH_mep): New macro.
480 (disassembler): Handle bfd_arch_mep.
481 (disassemble_init_for_target): Likewise.
482 * mep-*: New files for Toshiba Media Processor (MeP).
483 * Makefile.in: Regenerated.
484 * configure: Regenerated.
486 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
488 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
489 wrap around within the same segment in 16bit mode.
491 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
493 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
496 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
498 * avr-dis.c (avr_operand): Correct PR number in comment.
500 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
502 * disassemble.c (disassembler_usage): Call
503 print_i386_disassembler_options for i386 disassembler.
505 * i386-dis.c (print_i386_disassembler_options): New.
506 (print_insn): Support the new addr64 option.
508 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
510 * ppc-dis.c (powerpc_dialect): Handle ppc440.
511 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
514 2007-02-02 Alan Modra <amodra@bigpond.net.au>
516 * ppc-opc.c (insert_bdm): -Many comment.
517 (valid_bo): Add "extract" param. Accept both powerpc and power4
518 BO fields when disassembling with -Many.
519 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
521 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
523 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
524 cpu32 | fido_a except on tbl instructions.
526 2007-01-04 Paul Brook <paul@codesourcery.com>
528 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
530 2007-01-04 Andreas Schwab <schwab@suse.de>
532 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
534 2007-01-04 Julian Brown <julian@codesourcery.com>
536 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
539 For older changes see ChangeLog-2006
545 version-control: never