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