1 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
4 * i386-dis.c (print_displacement): New.
5 (OP_E): Call print_displacement instead of print_operand_value
6 to output displacement when either base or index exist. Print
7 the explicit zero displacement in 16bit mode.
9 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
12 * i386-dis.c (print_insn): Also swap the order of op_riprel
13 when swapping op_index. Break when the RIP relative address
15 (OP_E): Properly handle RIP relative addressing and print the
16 explicit zero displacement for Intel mode.
18 2007-04-27 Alan Modra <amodra@bigpond.net.au>
20 * Makefile.am: Run "make dep-am".
21 * Makefile.in: Regenerate.
22 * ns32k-dis.c: Include sysdep.h first.
24 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
26 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
28 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
30 2007-04-24 Nick Clifton <nickc@redhat.com>
32 * arm-dis.c (print_insn): Initialise type.
34 2007-04-24 Alan Modra <amodra@bigpond.net.au>
36 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
37 * Makefile.am: Run "make dep-am".
38 * Makefile.in: Regenerate.
40 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
42 * m68k-opc.c: Mark mcfisa_c instructions.
44 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
46 * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
47 (thumb_opcodes): Add missing white space in adr.
48 (arm_decode_shift): New parameter, print_shift. Only decode the
49 shift parameter if set. Adjust callers.
50 (print_insn_arm): Support for operand type q with no shift decode.
52 2007-04-21 Alan Modra <amodra@bigpond.net.au>
54 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
56 (i386_regtab): ..here.
57 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
59 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
60 (BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
61 (VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
62 (powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
64 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
66 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
69 2007-04-20 Alan Modra <amodra@bigpond.net.au>
71 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
73 * ppc-opc.c (powerpc_operands): Replace bit count with bit mask
74 in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove
75 references to following deleted functions.
76 (insert_bd, extract_bd, insert_dq, extract_dq): Delete.
77 (insert_ds, extract_ds, insert_de, extract_de): Delete.
78 (insert_des, extract_des, insert_li, extract_li): Delete.
79 (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
80 (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
81 (num_powerpc_operands): New constant.
82 (XSPRG_MASK): Remove entire SPRG field.
83 (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
85 2007-04-20 Alan Modra <amodra@bigpond.net.au>
87 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
89 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
91 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
93 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
96 2007-04-19 Alan Modra <amodra@bigpond.net.au>
98 * Makefile.am: Run "make dep-am".
99 * Makefile.in: Regenerate.
100 * po/POTFILES.in: Regenerate.
102 2007-04-19 Alan Modra <amodra@bigpond.net.au>
104 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
105 db10cyc, db12cyc, db16cyc.
107 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
109 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
111 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
113 * i386-dis.c (CRC32_Fixup): New.
114 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
116 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
117 (threebyte_0x3a_uses_DATA_prefix): Likewise.
118 (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
119 PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
120 (three_byte_table): Likewise.
122 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
124 * i386-opc.h (CpuSSE4_2): New.
126 (CpuUnknownFlags): Add CpuSSE4_2.
128 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
130 * i386-dis.c (XMM_Fixup): New.
136 (PREGRP39 ... PREGRP85): New.
137 (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
138 (threebyte_0x3a_uses_DATA_prefix): Likewise.
139 (prefix_user_table): Add PREGRP39 ... PREGRP85.
140 (three_byte_table): Likewise.
142 (intel_operand_size): Handle dqb_mode, dqd_mode):
146 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
148 * i386-opc.h (CpuSSE4_1): New.
149 (CpuUnknownFlags): Add CpuSSE4_1.
150 (regKludge): Update comment.
152 2007-04-18 Matthias Klose <doko@ubuntu.com>
154 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
155 * Makefile.in: Regenerate.
157 2007-04-14 Steve Ellcey <sje@cup.hp.com>
159 * Makefile.am: Add ACLOCAL_AMFLAGS.
160 * Makefile.in: Regenerate.
162 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
164 * i386-dis.c: Remove trailing white spaces.
165 * i386-opc.c: Likewise.
166 * i386-opc.h: Likewise.
168 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
171 * i386-dis.c (GRP1a): New.
172 (GRP1b ... GRPPADLCK2): Update index.
173 (dis386): Use GRP1a for entry 0x8f.
174 (mod, rm, reg): Removed. Replaced by ...
178 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
180 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
181 info->print_address_func if longjmp is called.
183 2007-03-29 DJ Delorie <dj@redhat.com>
185 * m32c-desc.c: Regenerate.
186 * m32c-dis.c: Regenerate.
187 * m32c-opc.c: Regenerate.
189 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
191 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
192 movq. Remove InvMem from sldt, smsw and str.
194 * i386-opc.h (InvMem): Renamed to ...
195 (RegMem): Update comments.
196 (AnyMem): Remove InvMem.
198 2007-03-27 Paul Brook <paul@codesourcery.com>
200 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
202 2007-03-24 Paul Brook <paul@codesourcery.com>
204 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
205 (print_insn_coprocessor): Handle %<bitfield>x.
207 2007-03-24 Paul Brook <paul@codesourcery.com>
208 Mark Shinwell <shinwell@codesourcery.com>
210 * arm-dis.c (arm_opcodes): Print SRS base register.
212 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
214 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
216 * i386-opc.c (i386_optab): Add rex.wrxb.
218 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
220 * i386-dis.c (REX_MODE64): Remove definition.
221 (REX_EXTX): Likewise.
222 (REX_EXTY): Likewise.
223 (REX_EXTZ): Likewise.
224 (USED_REX): Use REX_OPCODE instead of 0x40.
225 Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
226 REX_R, REX_X and REX_B respectively.
228 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
231 * i386-dis.c (PREGRP38): New.
232 (dis386): Use PREGRP38 for 0x90.
233 (prefix_user_table): Add PREGRP38.
234 (print_insn): Set uses_REPZ_prefix to 1 for pause.
235 (NOP_Fixup1): Properly handle REX bits.
236 (NOP_Fixup2): Likewise.
238 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
239 Allow register with nop.
241 2007-03-20 DJ Delorie <dj@redhat.com>
243 * m32c-asm.c: Regenerate.
244 * m32c-desc.c: Regenerate.
245 * m32c-desc.h: Regenerate.
246 * m32c-dis.h: Regenerate.
247 * m32c-ibld.c: Regenerate.
248 * m32c-opc.c: Regenerate.
249 * m32c-opc.h: Regenerate.
251 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
253 * i386-opc.c: Include "libiberty.h".
254 (i386_regtab): Remove the last entry.
255 (i386_regtab_size): New.
256 (i386_float_regtab_size): Likewise.
258 * i386-opc.h (i386_regtab_size): New.
259 (i386_float_regtab_size): Likewise.
261 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
263 * Makefile.am (CFILES): Add i386-opc.c.
264 (ALL_MACHINES): Add i386-opc.lo.
266 * Makefile.in: Regenerated.
268 * configure.in: Add i386-opc.lo for bfd_i386_arch.
269 * configure: Regenerated.
271 * i386-dis.c: Include "opcode/i386.h".
272 (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
273 (FWAIT_OPCODE): Remove definition.
274 (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
275 (MAX_OPERANDS): Remove definition.
277 * i386-opc.c: New file.
278 * i386-opc.h: Likewise.
280 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
282 * Makefile.in: Regenerated.
284 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
286 * i386-dis.c (OP_Rd): Renamed to ...
291 2007-03-08 Alan Modra <amodra@bigpond.net.au>
293 * fr30-asm.c: Regenerate.
294 * frv-asm.c: Regenerate.
295 * ip2k-asm.c: Regenerate.
296 * iq2000-asm.c: Regenerate.
297 * m32c-asm.c: Regenerate.
298 * m32r-asm.c: Regenerate.
299 * m32r-dis.c: Regenerate.
300 * mt-asm.c: Regenerate.
301 * mt-ibld.c: Regenerate.
302 * mt-opc.c: Regenerate.
303 * openrisc-asm.c: Regenerate.
304 * xc16x-asm.c: Regenerate.
305 * xstormy16-asm.c: Regenerate.
307 * Makefile.am: Run "make dep-am".
308 * Makefile.in: Regenerate.
309 * po/POTFILES.in: Regenerate.
311 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
313 * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
314 INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
315 instruction formats added.
316 (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
317 MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
319 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
321 * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
322 (main): z9-ec cpu type option added.
323 * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
325 2007-02-22 DJ Delorie <dj@redhat.com>
327 * s390-opc.c (INSTR_SS_L2RDRD): New.
328 (MASK_SS_L2RDRD): New.
329 * s390-opc.txt (pka): Use it.
331 2007-02-20 Thiemo Seufer <ths@mips.com>
332 Chao-Ying Fu <fu@mips.com>
334 * mips-dis.c (mips_arch_choices): Add DSP R2 support.
335 (print_insn_args): Add support for balign instruction.
336 * mips-opc.c (D33): New shortcut for DSP R2 instructions.
337 (mips_builtin_opcodes): Add DSP R2 instructions.
339 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
341 * s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed.
342 (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added.
343 * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr,
344 cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF.
346 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
348 * s390-opc.txt ("efpc", "sfpc"): Set to RRE_RR_OPT instruction type.
349 * s390-opc.c (s390_operands): Add RO_28 as optional gpr.
350 (INSTR_RRE_RR_OPT, MASK_RRE_RR_OPT): New instruction type for efpc
353 2007-02-16 Nick Clifton <nickc@redhat.com>
356 * avr-dis.c (comment_start): New variable, contains the prefix to
357 use when printing addresses in comments.
358 (print_insn_avr): Set comment_start to an empty space if there is
359 no symbol table available as the generic address printing code
360 will prefix the numeric value of the address with 0x.
362 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
364 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
367 2007-02-05 Dave Brolley <brolley@redhat.com>
368 Richard Sandiford <rsandifo@redhat.com>
369 DJ Delorie <dj@redhat.com>
370 Graydon Hoare <graydon@redhat.com>
371 Frank Ch. Eigler <fche@redhat.com>
372 Ben Elliston <bje@redhat.com>
374 * Makefile.am (HFILES): Add mep-desc.h mep-opc.h.
375 (CFILES): Add mep-*.c
376 (ALL_MACHINES): Add mep-*.lo.
377 (CLEANFILES): Add stamp-mep.
378 (CGEN_CPUS): Add mep.
379 (MEP_DEPS): New variable.
380 (mep-*): New targets.
381 * configure.in: Handle bfd_mep_arch.
382 * disassemble.c (ARCH_mep): New macro.
383 (disassembler): Handle bfd_arch_mep.
384 (disassemble_init_for_target): Likewise.
385 * mep-*: New files for Toshiba Media Processor (MeP).
386 * Makefile.in: Regenerated.
387 * configure: Regenerated.
389 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
391 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
392 wrap around within the same segment in 16bit mode.
394 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
396 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
399 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
401 * avr-dis.c (avr_operand): Correct PR number in comment.
403 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
405 * disassemble.c (disassembler_usage): Call
406 print_i386_disassembler_options for i386 disassembler.
408 * i386-dis.c (print_i386_disassembler_options): New.
409 (print_insn): Support the new addr64 option.
411 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
413 * ppc-dis.c (powerpc_dialect): Handle ppc440.
414 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
417 2007-02-02 Alan Modra <amodra@bigpond.net.au>
419 * ppc-opc.c (insert_bdm): -Many comment.
420 (valid_bo): Add "extract" param. Accept both powerpc and power4
421 BO fields when disassembling with -Many.
422 (insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.
424 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
426 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
427 cpu32 | fido_a except on tbl instructions.
429 2007-01-04 Paul Brook <paul@codesourcery.com>
431 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
433 2007-01-04 Andreas Schwab <schwab@suse.de>
435 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
437 2007-01-04 Julian Brown <julian@codesourcery.com>
439 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
442 For older changes see ChangeLog-2006
448 version-control: never