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