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