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