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