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