5f84dc9d897dbbbf5cb19c8e676460afdf1f3b05
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
1 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR binutils/4430
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.
8
9 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
10
11 PR binutils/4429
12 * i386-dis.c (print_insn): Also swap the order of op_riprel
13 when swapping op_index. Break when the RIP relative address
14 is printed.
15 (OP_E): Properly handle RIP relative addressing and print the
16 explicit zero displacement for Intel mode.
17
18 2007-04-27 Alan Modra <amodra@bigpond.net.au>
19
20 * Makefile.am: Run "make dep-am".
21 * Makefile.in: Regenerate.
22 * ns32k-dis.c: Include sysdep.h first.
23
24 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
25
26 * opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
27 opcode.
28 * opcodes/s390-opc.txt (pfpo, ectg, csst): Add new z9-ec instructions.
29
30 2007-04-24 Nick Clifton <nickc@redhat.com>
31
32 * arm-dis.c (print_insn): Initialise type.
33
34 2007-04-24 Alan Modra <amodra@bigpond.net.au>
35
36 * cgen-types.h: Include bfd_stdint.h, not stdint.h.
37 * Makefile.am: Run "make dep-am".
38 * Makefile.in: Regenerate.
39
40 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
41
42 * m68k-opc.c: Mark mcfisa_c instructions.
43
44 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
45
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.
51
52 2007-04-21 Alan Modra <amodra@bigpond.net.au>
53
54 * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
55 Move contents to..
56 (i386_regtab): ..here.
57 * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
58
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.
63
64 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
65
66 * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
67 rambar1.
68
69 2007-04-20 Alan Modra <amodra@bigpond.net.au>
70
71 * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
72 change.
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.
84
85 2007-04-20 Alan Modra <amodra@bigpond.net.au>
86
87 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
88 (Z2_MASK): Define.
89 (powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
90
91 2007-04-20 Richard Earnshaw <rearnsha@arm.com>
92
93 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
94 being disassembled.
95
96 2007-04-19 Alan Modra <amodra@bigpond.net.au>
97
98 * Makefile.am: Run "make dep-am".
99 * Makefile.in: Regenerate.
100 * po/POTFILES.in: Regenerate.
101
102 2007-04-19 Alan Modra <amodra@bigpond.net.au>
103
104 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
105 db10cyc, db12cyc, db16cyc.
106
107 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
108
109 * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
110
111 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
112
113 * i386-dis.c (CRC32_Fixup): New.
114 (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
115 PREGRP91): New.
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.
121
122 * i386-opc.c (i386_optab): Add SSE4.2 opcodes.
123
124 * i386-opc.h (CpuSSE4_2): New.
125 (CpuSSE4): Likewise.
126 (CpuUnknownFlags): Add CpuSSE4_2.
127
128 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
129
130 * i386-dis.c (XMM_Fixup): New.
131 (Edqb): New.
132 (Edqd): New.
133 (XMM0): New.
134 (dqb_mode): New.
135 (dqd_mode): 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.
141 (putop): Handle 'K'.
142 (intel_operand_size): Handle dqb_mode, dqd_mode):
143 (OP_E): Likewise.
144 (OP_G): Likewise.
145
146 * i386-opc.c (i386_optab): Add SSE4.1 opcodes.
147
148 * i386-opc.h (CpuSSE4_1): New.
149 (CpuUnknownFlags): Add CpuSSE4_1.
150 (regKludge): Update comment.
151
152 2007-04-18 Matthias Klose <doko@ubuntu.com>
153
154 * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
155 * Makefile.in: Regenerate.
156
157 2007-04-14 Steve Ellcey <sje@cup.hp.com>
158
159 * Makefile.am: Add ACLOCAL_AMFLAGS.
160 * Makefile.in: Regenerate.
161
162 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
163
164 * i386-dis.c: Remove trailing white spaces.
165 * i386-opc.c: Likewise.
166 * i386-opc.h: Likewise.
167
168 2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
169
170 PR binutils/4333
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 ...
175 (modrm): This.
176 (grps): Add GRP1a.
177
178 2007-04-09 Kazu Hirata <kazu@codesourcery.com>
179
180 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
181 info->print_address_func if longjmp is called.
182
183 2007-03-29 DJ Delorie <dj@redhat.com>
184
185 * m32c-desc.c: Regenerate.
186 * m32c-dis.c: Regenerate.
187 * m32c-opc.c: Regenerate.
188
189 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
190
191 * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
192 movq. Remove InvMem from sldt, smsw and str.
193
194 * i386-opc.h (InvMem): Renamed to ...
195 (RegMem): Update comments.
196 (AnyMem): Remove InvMem.
197
198 2007-03-27 Paul Brook <paul@codesourcery.com>
199
200 * arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).
201
202 2007-03-24 Paul Brook <paul@codesourcery.com>
203
204 * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
205 (print_insn_coprocessor): Handle %<bitfield>x.
206
207 2007-03-24 Paul Brook <paul@codesourcery.com>
208 Mark Shinwell <shinwell@codesourcery.com>
209
210 * arm-dis.c (arm_opcodes): Print SRS base register.
211
212 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
213
214 * i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.
215
216 * i386-opc.c (i386_optab): Add rex.wrxb.
217
218 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
219
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.
227
228 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
229
230 PR binutils/4218
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.
237
238 * i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
239 Allow register with nop.
240
241 2007-03-20 DJ Delorie <dj@redhat.com>
242
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.
250
251 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
252
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.
257
258 * i386-opc.h (i386_regtab_size): New.
259 (i386_float_regtab_size): Likewise.
260
261 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
262
263 * Makefile.am (CFILES): Add i386-opc.c.
264 (ALL_MACHINES): Add i386-opc.lo.
265 Run "make dep-am".
266 * Makefile.in: Regenerated.
267
268 * configure.in: Add i386-opc.lo for bfd_i386_arch.
269 * configure: Regenerated.
270
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.
276
277 * i386-opc.c: New file.
278 * i386-opc.h: Likewise.
279
280 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
281
282 * Makefile.in: Regenerated.
283
284 2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
285
286 * i386-dis.c (OP_Rd): Renamed to ...
287 (OP_R): This.
288 (Rd): Updated.
289 (Rm): Likewise.
290
291 2007-03-08 Alan Modra <amodra@bigpond.net.au>
292
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.
306
307 * Makefile.am: Run "make dep-am".
308 * Makefile.in: Regenerate.
309 * po/POTFILES.in: Regenerate.
310
311 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
312
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
318 masks added.
319 * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
320 instructions added.
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.
324
325 2007-02-22 DJ Delorie <dj@redhat.com>
326
327 * s390-opc.c (INSTR_SS_L2RDRD): New.
328 (MASK_SS_L2RDRD): New.
329 * s390-opc.txt (pka): Use it.
330
331 2007-02-20 Thiemo Seufer <ths@mips.com>
332 Chao-Ying Fu <fu@mips.com>
333
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.
338
339 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
340
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.
345
346 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>
347
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
351 and sfpc.
352
353 2007-02-16 Nick Clifton <nickc@redhat.com>
354
355 PR binutils/4045
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.
361
362 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
363
364 * i386-dis.c: Updated to use an array of MAX_OPERANDS operands
365 in struct dis386.
366
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>
373
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.
388
389 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
390
391 * i386-dis.c (OP_J): Undo the last change. Properly handle 64K
392 wrap around within the same segment in 16bit mode.
393
394 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
395
396 * i386-dis.c (OP_J): Mask to 16bit only if there is a data16
397 prefix.
398
399 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
400
401 * avr-dis.c (avr_operand): Correct PR number in comment.
402
403 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
404
405 * disassemble.c (disassembler_usage): Call
406 print_i386_disassembler_options for i386 disassembler.
407
408 * i386-dis.c (print_i386_disassembler_options): New.
409 (print_insn): Support the new addr64 option.
410
411 2007-02-02 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
412
413 * ppc-dis.c (powerpc_dialect): Handle ppc440.
414 * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can
415 be used.
416
417 2007-02-02 Alan Modra <amodra@bigpond.net.au>
418
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.
423
424 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
425
426 * m68k-opc.c (m68k_opcodes): Replace cpu32 with
427 cpu32 | fido_a except on tbl instructions.
428
429 2007-01-04 Paul Brook <paul@codesourcery.com>
430
431 * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
432
433 2007-01-04 Andreas Schwab <schwab@suse.de>
434
435 * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
436
437 2007-01-04 Julian Brown <julian@codesourcery.com>
438
439 * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl,
440 vqrshl instructions.
441
442 For older changes see ChangeLog-2006
443 \f
444 Local Variables:
445 mode: change-log
446 left-margin: 8
447 fill-column: 74
448 version-control: never
449 End:
This page took 0.048646 seconds and 4 git commands to generate.