Properly display extra data/address size prefixes
[platform/upstream/binutils.git] / opcodes / ChangeLog
1 2014-05-09  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * i386-dis.c (ADDR16_PREFIX): Removed.
4         (ADDR32_PREFIX): Likewise.
5         (DATA16_PREFIX): Likewise.
6         (DATA32_PREFIX): Likewise.
7         (prefix_name): Updated.
8         (print_insn): Simplify data and address size prefixes processing.
9
10 2014-05-08  Stefan Kristiansson  <stefan.kristiansson@saunalahti.fi>
11
12         * or1k-desc.c: Regenerated.
13         * or1k-desc.h: Likewise.
14         * or1k-opc.c: Likewise.
15         * or1k-opc.h: Likewise.
16         * or1k-opinst.c: Likewise.
17
18 2014-05-07  Andrew Bennett  <andrew.bennett@imgtec.com>
19
20         * mips-opc.c (mips_builtin_opcodes): Add MIPS32r5 eretnc instruction.
21         (I34): New define.
22         (I36): New define.
23         (I66): New define.
24         (I68): New define.
25         * mips-dis.c (mips_arch_choices): Add mips32r3, mips32r5, mips64r3 and
26         mips64r5.
27         (parse_mips_dis_option): Update MSA and virtualization support to
28         allow mips64r3 and mips64r5. 
29
30 2014-05-07  Andrew Bennett  <andrew.bennett@imgtec.com>
31
32         * mips-opc.c (G3): Remove I4.
33
34 2014-05-05  H.J. Lu  <hongjiu.lu@intel.com>
35
36         PR binutils/16893
37         * i386-dis.c (twobyte_has_mandatory_prefix): New variable.
38         (end_codep): Likewise.
39         (mandatory_prefix): Likewise.
40         (active_seg_prefix): Likewise.
41         (ckprefix): Set active_seg_prefix to the active segment register
42         prefix.
43         (seg_prefix): Removed.
44         (get_valid_dis386): Use the last of PREFIX_REPNZ and PREFIX_REPZ
45         for prefix index.  Ignore the index if it is invalid and the
46         mandatory prefix isn't required.
47         (print_insn): Set mandatory_prefix if the PREFIX_XXX prefix is
48         mandatory.  Don't set PREFIX_REPZ/PREFIX_REPNZ/PREFIX_LOCK bits
49         in used_prefixes here.  Don't print unused prefixes.  Check
50         active_seg_prefix for the active segment register prefix.
51         Restore the DFLAG bit in sizeflag if the data size prefix is
52         unused.  Check the unused mandatory PREFIX_XXX prefixes
53         (append_seg): Only print the segment register which gets used.
54         (OP_E_memory): Check active_seg_prefix for the segment register
55         prefix.
56         (OP_OFF): Likewise.
57         (OP_OFF64): Likewise.
58         (OP_DSreg): Set active_seg_prefix to PREFIX_DS if it is unset.
59
60 2014-05-02  H.J. Lu  <hongjiu.lu@intel.com>
61
62         PR binutils/16886
63         * config.in: Regenerated.
64         * configure: Likewise.
65         * configure.in: Check if sigsetjmp is available.
66         * h8500-dis.c (private): Replace jmp_buf with OPCODES_SIGJMP_BUF.
67         (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
68         (print_insn_h8500): Replace setjmp with OPCODES_SIGSETJMP.
69         * i386-dis.c (dis_private): Replace jmp_buf with OPCODES_SIGJMP_BUF.
70         (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
71         (print_insn): Replace setjmp with OPCODES_SIGSETJMP.
72         * ns32k-dis.c (private): Replace jmp_buf with OPCODES_SIGJMP_BUF.
73         (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
74         (print_insn_ns32k): Replace setjmp with OPCODES_SIGSETJMP.
75         * sysdep.h (OPCODES_SIGJMP_BUF): New macro.
76         (OPCODES_SIGSETJMP): Likewise.
77         (OPCODES_SIGLONGJMP): Likewise.
78         * vax-dis.c (private): Replace jmp_buf with OPCODES_SIGJMP_BUF.
79         (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
80         (print_insn_vax): Replace setjmp with OPCODES_SIGSETJMP.
81         * xtensa-dis.c (dis_private): Replace jmp_buf with
82         OPCODES_SIGJMP_BUF.
83         (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
84         (print_insn_xtensa): Replace setjmp with OPCODES_SIGSETJMP.
85         * z8k-dis.c(instr_data_s): Replace jmp_buf with OPCODES_SIGJMP_BUF.
86         (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
87         (print_insn_z8k): Replace setjmp with OPCODES_SIGSETJMP.
88
89 2014-05-01  H.J. Lu  <hongjiu.lu@intel.com>
90
91         PR binutils/16891
92         * i386-dis.c (print_insn): Handle prefixes before fwait.
93
94 2014-04-26  Alan Modra  <amodra@gmail.com>
95
96         * po/POTFILES.in: Regenerate.
97
98 2014-04-23  Andrew Bennett  <andrew.bennett@imgtec.com>
99
100         * mips-dis.c (mips_arch_choices): Update mips32r2 and mips64r2
101         to allow the MIPS XPA ASE.
102         (parse_mips_dis_option): Process the -Mxpa option.
103         * mips-opc.c (XPA): New define.
104         (mips_builtin_opcodes): Add MIPS XPA instructions and move the
105         locations of the ctc0 and cfc0 instructions.
106
107 2014-04-22  Christian Svensson  <blue@cmd.nu>
108
109         * Makefile.am: Remove openrisc and or32 support.  Add support for or1k.
110         * configure.in: Likewise.
111         * disassemble.c: Likewise.
112         * or1k-asm.c: New file.
113         * or1k-desc.c: New file.
114         * or1k-desc.h: New file.
115         * or1k-dis.c: New file.
116         * or1k-ibld.c: New file.
117         * or1k-opc.c: New file.
118         * or1k-opc.h: New file.
119         * or1k-opinst.c: New file.
120         * Makefile.in: Regenerate.
121         * configure: Regenerate.
122         * openrisc-asm.c: Delete.
123         * openrisc-desc.c: Delete.
124         * openrisc-desc.h: Delete.
125         * openrisc-dis.c: Delete.
126         * openrisc-ibld.c: Delete.
127         * openrisc-opc.c: Delete.
128         * openrisc-opc.h: Delete.
129         * or32-dis.c: Delete.
130         * or32-opc.c: Delete.
131
132 2014-04-04  Ilya Tocar  <ilya.tocar@intel.com>
133
134         * i386-dis.c (rm_table): Add encls, enclu.
135         * i386-gen.c (cpu_flag_init): Add CPU_SE1_FLAGS,
136         (cpu_flags): Add CpuSE1.
137         * i386-opc.h (enum): Add CpuSE1.
138         (i386_cpu_flags): Add cpuse1.
139         * i386-opc.tbl: Add encls, enclu.
140         * i386-init.h: Regenerated.
141         * i386-tbl.h: Likewise.
142
143 2014-04-02  Anthony Green  <green@moxielogic.com>
144
145         * moxie-opc.c (moxie_form1_opc_info): Add sign-extension
146         instructions, sex.b and sex.s.
147
148 2014-03-26  Jiong Wang  <jiong.wang@arm.com>
149
150         * aarch64-dis.c (aarch64_ext_ldst_elemlist): Check H/S undefined
151         instructions.
152
153 2014-03-20  Ilya Tocar  <ilya.tocar@intel.com>
154
155         * i386-opc.tbl: Change memory size for vgatherpf0qps, vgatherpf1qps,
156         vscatterpf0qps, vscatterpf1qps, vgatherqps, vpgatherqd, vpscatterqd,
157         vscatterqps.
158         * i386-tbl.h: Regenerate.
159
160 2014-03-19  Jose E. Marchesi  <jose.marchesi@oracle.com>
161
162         * sparc-dis.c (v9_hpriv_reg_names): Names for %hstick_offset and
163         %hstick_enable added.
164
165 2014-03-19  Nick Clifton  <nickc@redhat.com>
166
167         * rx-decode.opc (bwl): Allow for bogus instructions with a size
168         field of 3.
169         (sbwl, ubwl, SCALE): Likewise.
170         * rx-decode.c: Regenerate.
171
172 2014-03-12  Alan Modra  <amodra@gmail.com>
173
174         * Makefile.in: Regenerate.
175
176 2014-03-05  Alan Modra  <amodra@gmail.com>
177
178         Update copyright years.
179
180 2014-03-04  Heiher  <r@hev.cc>
181
182         * mips-dis.c (mips_arch_choices): Usee ISA_MIPS64R2 for Loongson-3A.
183
184 2014-03-04  Richard Sandiford  <rdsandiford@googlemail.com>
185
186         * mips-opc.c (mips_builtin_opcodes): Move the udi* instructions
187         so that they come after the Loongson extensions.
188
189 2014-03-03  Alan Modra  <amodra@gmail.com>
190
191         * i386-gen.c (process_copyright): Emit copyright notice on one line.
192
193 2014-02-28  Alan Modra  <amodra@gmail.com>
194
195         * msp430-decode.c: Regenerate.
196
197 2014-02-27  Jiong Wang  <jiong.wang@arm.com>
198
199         * aarch64-tbl.h (aarch64_opcode_table): Replace IMM0 with
200         FPIMM0 for fcmeq, fcmgt, fcmge, fcmlt and fcmle.
201
202 2014-02-27  Yufeng Zhang  <yufeng.zhang@arm.com>
203
204         * aarch64-opc.c (print_register_offset_address): Call
205         get_int_reg_name to prepare the register name.
206
207 2014-02-25  Ilya Tocar  <ilya.tocar@intel.com>
208
209         * i386-opc.tbl: Remove wrong variant of vcvtps2ph
210         * i386-tbl.h: Regenerate.
211
212 2014-02-20  Ilya Tocar  <ilya.tocar@intel.com>
213
214         * i386-gen.c (cpu_flag_init): Add CPU_PREFETCHWT1_FLAGS/
215         (cpu_flags): Add CpuPREFETCHWT1.
216         * i386-init.h: Regenerate.
217         * i386-opc.h (CpuPREFETCHWT1): New.
218         (i386_cpu_flags): Add cpuprefetchwt1.
219         * i386-opc.tbl: Cahnge CPU of prefetchwt1 from CpuAVX512PF to CpuPREFETCHWT1.
220         * i386-tbl.h: Regenerate.
221
222 2014-02-20  Ilya Tocar  <ilya.tocar@intel.com>
223
224         * i386-opc.tbl: Change CPU of vptestnmq, vptestnmd from CpuAVX512CD,
225         to CpuAVX512F.
226         * i386-tbl.h: Regenerate.
227
228 2014-02-19  H.J. Lu  <hongjiu.lu@intel.com>
229
230         * i386-gen.c (output_cpu_flags): Don't output trailing space.
231         (output_opcode_modifier): Likewise.
232         (output_operand_type): Likewise.
233         * i386-init.h: Regenerated.
234         * i386-tbl.h: Likewise.
235
236 2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>
237
238         * i386-dis.c (MOD enum): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4,
239         MOD_0FC7_REG_5.
240         (PREFIX enum): Add PREFIX_0FAE_REG_7.
241         (reg_table): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4 MOD_0FC7_REG_5.
242         (prefix_table): Add clflusopt.
243         (mod_table): Add xrstors, xsavec, xsaves.
244         * i386-gen.c (cpu_flag_init): Add CPU_CLFLUSHOPT_FLAGS,
245         CPU_XSAVES_FLAGS, CPU_XSAVEC_FLAGS.
246         (cpu_flags): Add CpuClflushOpt, CpuXSAVES, CpuXSAVEC.
247         * i386-init.h: Regenerate.
248         * i386-opc.tbl: Add clflushopt, xrstors, xrstors64, xsaves,
249         xsaves64, xsavec, xsavec64.
250         * i386-tbl.h: Regenerate.
251
252 2014-02-10  Alan Modra  <amodra@gmail.com>
253
254         * po/POTFILES.in: Regenerate.
255         * po/opcodes.pot: Regenerate.
256
257 2014-01-30  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
258             Jan Beulich  <jbeulich@suse.com>
259
260         PR binutils/16490
261         * i386-dis.c (OP_E_memory): Fix shift computation for
262         vex_vsib_q_w_dq_mode.
263
264 2014-01-09  Bradley Nelson  <bradnelson@google.com>
265             Roland McGrath  <mcgrathr@google.com>
266
267         * i386-dis.c (print_insn): Do not touch all_prefixes[-1] when
268         last_rex_prefix is -1.
269
270 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
271
272         * i386-gen.c (process_copyright): Update copyright year to 2014.
273
274 2014-01-03  Maciej W. Rozycki  <macro@codesourcery.com>
275
276         * nds32-asm.c (parse_operand): Fix out-of-range integer constant.
277
278 For older changes see ChangeLog-2013
279 \f
280 Copyright (C) 2014 Free Software Foundation, Inc.
281
282 Copying and distribution of this file, with or without modification,
283 are permitted in any medium without royalty provided the copyright
284 notice and this notice are preserved.
285
286 Local Variables:
287 mode: change-log
288 left-margin: 8
289 fill-column: 74
290 version-control: never
291 End: