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