]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - opcodes/ChangeLog
x86: AVX512 extract/insert insns need to honor EVEX.L'L
[thirdparty/binutils-gdb.git] / opcodes / ChangeLog
CommitLineData
e74d9fa9
JB
12020-07-06 Jan Beulich <jbeulich@suse.com>
2
3 * i386-dis.c (EVEX_LEN_0FC4_P_2, EVEX_LEN_0FC5_P_2,
4 EVEX_LEN_0F3A14_P_2, EVEX_LEN_0F3A15_P_2, EVEX_LEN_0F3A16_P_2,
5 EVEX_LEN_0F3A17_P_2, EVEX_LEN_0F3A20_P_2,
6 EVEX_LEN_0F3A21_P_2_W_0, EVEX_LEN_0F3A22_P_2): New enumerators.
7 * i386-dis-evex-len.h (evex_len_table): New EVEX_LEN_0FC4_P_2,
8 EVEX_LEN_0FC5_P_2, EVEX_LEN_0F3A14_P_2, EVEX_LEN_0F3A15_P_2,
9 EVEX_LEN_0F3A16_P_2, EVEX_LEN_0F3A17_P_2, EVEX_LEN_0F3A20_P_2,
10 EVEX_LEN_0F3A21_P_2_W_0, and EVEX_LEN_0F3A22_P_2 table entries.
11 * i386-dis-evex-prefix.h, i386-dis-evex-w.h: Reference the above
12 entries.
13
6431c801
JB
142020-07-06 Jan Beulich <jbeulich@suse.com>
15
16 * i386-dis.c (PREFIX_EVEX_0F3A1D, EVEX_W_0F3A1D_P_2): Delete.
17 (VEX_W_0F3813_P_2, VEX_W_0F3A1D_P_2): New enumerators.
18 (prefix_table): Reference VEX_W_0F3813_P_2 and VEX_W_0F3A1D_P_2
19 respectively.
20 (vex_w_table): New VEX_W_0F3813_P_2 and VEX_W_0F3A1D_P_2 table
21 entries.
22 * i386-dis-evex.h (evex_table): Reference VEX table entry for
23 opcode 0F3A1D.
24 * i386-dis-evex-prefix.h (PREFIX_EVEX_0F3A1D): Delete table
25 entry.
26 * i386-dis-evex-w.h (EVEX_W_0F3A1D_P_2): Likewise.
27
6df22cf6
JB
282020-07-06 Jan Beulich <jbeulich@suse.com>
29
30 * i386-dis.c (PREFIX_EVEX_0F60, PREFIX_EVEX_0F61,
31 PREFIX_EVEX_0F63, PREFIX_EVEX_0F67, PREFIX_EVEX_0F68,
32 PREFIX_EVEX_0F69, PREFIX_EVEX_0FD1, PREFIX_EVEX_0FD5,
33 PREFIX_EVEX_0FD8, PREFIX_EVEX_0FD9, PREFIX_EVEX_0FDA,
34 PREFIX_EVEX_0FDC, PREFIX_EVEX_0FDD, PREFIX_EVEX_0FDE,
35 PREFIX_EVEX_0FE0, PREFIX_EVEX_0FE1, PREFIX_EVEX_0FE3,
36 PREFIX_EVEX_0FE4, PREFIX_EVEX_0FE5, PREFIX_EVEX_0FE8,
37 PREFIX_EVEX_0FE9, PREFIX_EVEX_0FEA, PREFIX_EVEX_0FEC,
38 PREFIX_EVEX_0FED, PREFIX_EVEX_0FEE, PREFIX_EVEX_0FF1,
39 PREFIX_EVEX_0FF5, PREFIX_EVEX_0FF6, PREFIX_EVEX_0FF8,
40 PREFIX_EVEX_0FF9, PREFIX_EVEX_0FFC, PREFIX_EVEX_0FFD,
41 PREFIX_EVEX_0F3800, PREFIX_EVEX_0F3804, PREFIX_EVEX_0F380B,
42 PREFIX_EVEX_0F380C, PREFIX_EVEX_0F3818, PREFIX_EVEX_0F381C,
43 PREFIX_EVEX_0F381D, PREFIX_EVEX_0F383C, PREFIX_EVEX_0F383E,
44 PREFIX_EVEX_0F3858, PREFIX_EVEX_0F3878, PREFIX_EVEX_0F3879,
45 PREFIX_EVEX_0F3896, PREFIX_EVEX_0F3897, PREFIX_EVEX_0F3898,
46 PREFIX_EVEX_0F3899, PREFIX_EVEX_0F389C, PREFIX_EVEX_0F389D,
47 PREFIX_EVEX_0F389E, PREFIX_EVEX_0F389F, PREFIX_EVEX_0F38A6,
48 PREFIX_EVEX_0F38A7, PREFIX_EVEX_0F38A8, PREFIX_EVEX_0F38A9,
49 PREFIX_EVEX_0F38AC, PREFIX_EVEX_0F38AD, PREFIX_EVEX_0F38AE,
50 PREFIX_EVEX_0F38AF, PREFIX_EVEX_0F38B6, PREFIX_EVEX_0F38B7,
51 PREFIX_EVEX_0F38B8, PREFIX_EVEX_0F38B9, PREFIX_EVEX_0F38BA,
52 PREFIX_EVEX_0F38BB, PREFIX_EVEX_0F38BC, PREFIX_EVEX_0F38BD,
53 PREFIX_EVEX_0F38BE, PREFIX_EVEX_0F38BF, PREFIX_EVEX_0F38CF,
54 PREFIX_EVEX_0F38DC, PREFIX_EVEX_0F38DD, PREFIX_EVEX_0F38DE,
55 PREFIX_EVEX_0F38DF, PREFIX_EVEX_0F3A04, PREFIX_EVEX_0F3A0F,
56 PREFIX_EVEX_0F3A44, PREFIX_EVEX_0F3ACE, PREFIX_EVEX_0F3ACF,
57 EVEX_W_0F380C_P_2, EVEX_W_0F3818_P_2, EVEX_W_0F3858_P_2,
58 EVEX_W_0F3878_P_2, EVEX_W_0F3879_P_2, EVEX_W_0F3A04_P_2,
59 EVEX_W_0F3ACE_P_2, EVEX_W_0F3ACF_P_2): Delete.
60 (prefix_table): Add EXxEVexR to FMA table entries.
61 (OP_Rounding): Move abort() invocation.
62 * i386-dis-evex.h (evex_table): Reference VEX table for opcodes
63 0F60, 0F61, 0F63, 0F67, 0F68, 0F69, 0FD1, 0FD5, 0FD8, 0FD9,
64 0FDA, 0FDC, 0FDD, 0FDE, 0FE0, 0FE1, 0FE3, 0FE4, 0FE5, 0FE8,
65 0FE9, 0FEA, 0FEC, 0FED, 0FEE, 0FF1, 0FF5, 0FF6, 0FF8, 0FF9,
66 0FFC, 0FFD, 0F3800, 0F3804, 0F380B, 0F380C, 0F3818, 0F381C,
67 0F381D, 0F383C, 0F383E, 0F3858, 0F3878, 0F3879, 0F3896, 0F3897,
68 0F3898, 0F3899, 0F389C, 0F389D, 0F389E, 0F389F, 0F38A6, 0F38A7,
69 0F38A8, 0F38A9, 0F38AC, 0F38AD, 0F38AE, 0F38AF, 0F38B6, 0F38B7,
70 0F38B8, 0F38B9, 0F38BA, 0F38BB, 0F38BC, 0F38BD, 0F38BE, 0F38BF,
71 0F38CF, 0F38DC, 0F38DD, 0F38DE, 0F38DF, 0F3A04, 0F3A0F, 0F3A44,
72 0F3ACE, 0F3ACF.
73 * i386-dis-evex-prefix.h (PREFIX_EVEX_0F60, PREFIX_EVEX_0F61,
74 PREFIX_EVEX_0F63, PREFIX_EVEX_0F67, PREFIX_EVEX_0F68,
75 PREFIX_EVEX_0F69, PREFIX_EVEX_0FD1, PREFIX_EVEX_0FD5,
76 PREFIX_EVEX_0FD8, PREFIX_EVEX_0FD9, PREFIX_EVEX_0FDA,
77 PREFIX_EVEX_0FDC, PREFIX_EVEX_0FDD, PREFIX_EVEX_0FDE,
78 PREFIX_EVEX_0FE0, PREFIX_EVEX_0FE1, PREFIX_EVEX_0FE3,
79 PREFIX_EVEX_0FE4, PREFIX_EVEX_0FE5, PREFIX_EVEX_0FE8,
80 PREFIX_EVEX_0FE9, PREFIX_EVEX_0FEA, PREFIX_EVEX_0FEC,
81 PREFIX_EVEX_0FED, PREFIX_EVEX_0FEE, PREFIX_EVEX_0FF1,
82 PREFIX_EVEX_0FF5, PREFIX_EVEX_0FF6, PREFIX_EVEX_0FF8,
83 PREFIX_EVEX_0FF9, PREFIX_EVEX_0FFC, PREFIX_EVEX_0FFD,
84 PREFIX_EVEX_0F3800, PREFIX_EVEX_0F3804, PREFIX_EVEX_0F380B,
85 PREFIX_EVEX_0F380C, PREFIX_EVEX_0F3818, PREFIX_EVEX_0F381C,
86 PREFIX_EVEX_0F381D, PREFIX_EVEX_0F383C, PREFIX_EVEX_0F383E,
87 PREFIX_EVEX_0F3858, PREFIX_EVEX_0F3878, PREFIX_EVEX_0F3879,
88 PREFIX_EVEX_0F3896, PREFIX_EVEX_0F3897, PREFIX_EVEX_0F3898,
89 PREFIX_EVEX_0F3899, PREFIX_EVEX_0F389C, PREFIX_EVEX_0F389D,
90 PREFIX_EVEX_0F389E, PREFIX_EVEX_0F389F, PREFIX_EVEX_0F38A6,
91 PREFIX_EVEX_0F38A7, PREFIX_EVEX_0F38A8, PREFIX_EVEX_0F38A9,
92 PREFIX_EVEX_0F38AC, PREFIX_EVEX_0F38AD, PREFIX_EVEX_0F38AE,
93 PREFIX_EVEX_0F38AF, PREFIX_EVEX_0F38B6, PREFIX_EVEX_0F38B7,
94 PREFIX_EVEX_0F38B8, PREFIX_EVEX_0F38B9, PREFIX_EVEX_0F38BA,
95 PREFIX_EVEX_0F38BB, PREFIX_EVEX_0F38BC, PREFIX_EVEX_0F38BD,
96 PREFIX_EVEX_0F38BE, PREFIX_EVEX_0F38BF, PREFIX_EVEX_0F38CF,
97 PREFIX_EVEX_0F38DC, PREFIX_EVEX_0F38DD, PREFIX_EVEX_0F38DE,
98 PREFIX_EVEX_0F38DF, PREFIX_EVEX_0F3A04, PREFIX_EVEX_0F3A0F,
99 PREFIX_EVEX_0F3A44, PREFIX_EVEX_0F3ACE, PREFIX_EVEX_0F3ACF):
100 Delete table entries.
101 * i386-dis-evex-w.h (EVEX_W_0F380C_P_2, EVEX_W_0F3818_P_2,
102 EVEX_W_0F3858_P_2, EVEX_W_0F3878_P_2, EVEX_W_0F3879_P_2,
103 EVEX_W_0F3A04_P_2, EVEX_W_0F3ACE_P_2, EVEX_W_0F3ACF_P_2):
104 Likewise.
105
39e0f456
JB
1062020-07-06 Jan Beulich <jbeulich@suse.com>
107
108 * i386-dis.c (EXqScalarS): Delete.
109 (vex_len_table): Replace EXqScalarS by EXqVexScalarS.
110 * i386-dis-evex-w.h (vmovq): Use EXqVexScalarS.
111
5b872f7d
JB
1122020-07-06 Jan Beulich <jbeulich@suse.com>
113
114 * i386-dis.c (safe-ctype.h): Include.
115 (EXdScalar, EXqScalar): Delete.
116 (d_scalar_mode, q_scalar_mode): Delete.
117 (prefix_table, vex_len_table): Use EXxmm_md in place of
118 EXdScalar and EXxmm_mq in place of EXqScalar.
119 (intel_operand_size, OP_E_memory, OP_EX): Remove uses of
120 d_scalar_mode and q_scalar_mode.
121 * i386-dis-evex-w.h (vmovss): Use EXxmm_md.
122 (vmovsd): Use EXxmm_mq.
123
ddc73fa9
NC
1242020-07-06 Yuri Chornoivan <yurchor@ukr.net>
125
126 PR 26204
127 * arc-dis.c: Fix spelling mistake.
128 * po/opcodes.pot: Regenerate.
129
17550be7
NC
1302020-07-06 Nick Clifton <nickc@redhat.com>
131
132 * po/pt_BR.po: Updated Brazilian Portugugese translation.
133 * po/uk.po: Updated Ukranian translation.
134
b19d852d
NC
1352020-07-04 Nick Clifton <nickc@redhat.com>
136
137 * configure: Regenerate.
138 * po/opcodes.pot: Regenerate.
139
b115b9fd
NC
1402020-07-04 Nick Clifton <nickc@redhat.com>
141
142 Binutils 2.35 branch created.
143
c2ecccb3
L
1442020-07-02 H.J. Lu <hongjiu.lu@intel.com>
145
146 * i386-gen.c (opcode_modifiers): Add VexSwapSources.
147 * i386-opc.h (VexSwapSources): New.
148 (i386_opcode_modifier): Add vexswapsources.
149 * i386-opc.tbl: Add VexSwapSources to BMI2 and BMI instructions
150 with two source operands swapped.
151 * i386-tbl.h: Regenerated.
152
08ccfccf
NC
1532020-06-30 Nelson Chu <nelson.chu@sifive.com>
154
155 * riscv-dis.c (print_insn_args, case 'E'): Updated. Let the
156 unprivileged CSR can also be initialized.
157
279edac5
AM
1582020-06-29 Alan Modra <amodra@gmail.com>
159
160 * arm-dis.c: Use C style comments.
161 * cr16-opc.c: Likewise.
162 * ft32-dis.c: Likewise.
163 * moxie-opc.c: Likewise.
164 * tic54x-dis.c: Likewise.
165 * s12z-opc.c: Remove useless comment.
166 * xgate-dis.c: Likewise.
167
e978ad62
L
1682020-06-26 H.J. Lu <hongjiu.lu@intel.com>
169
170 * i386-opc.tbl: Add a blank line.
171
63112cd6
L
1722020-06-26 H.J. Lu <hongjiu.lu@intel.com>
173
174 * i386-gen.c (opcode_modifiers): Replace VecSIB with SIB.
175 (VecSIB128): Renamed to ...
176 (VECSIB128): This.
177 (VecSIB256): Renamed to ...
178 (VECSIB256): This.
179 (VecSIB512): Renamed to ...
180 (VECSIB512): This.
181 (VecSIB): Renamed to ...
182 (SIB): This.
183 (i386_opcode_modifier): Replace vecsib with sib.
79b32e73 184 * i386-opc.tbl (VecSIB128): New.
63112cd6
L
185 (VecSIB256): Likewise.
186 (VecSIB512): Likewise.
79b32e73 187 Replace VecSIB=1, VecSIB=2 and VecSIB=3 with VecSIB128, VecSIB256
63112cd6
L
188 and VecSIB512, respectively.
189
d1c36125
JB
1902020-06-26 Jan Beulich <jbeulich@suse.com>
191
192 * i386-dis.c: Adjust description of I macro.
193 (x86_64_table): Drop use of I.
194 (float_mem): Replace use of I.
195 (putop): Remove handling of I. Adjust setting/clearing of "alt".
196
2a1bb84c
JB
1972020-06-26 Jan Beulich <jbeulich@suse.com>
198
199 * i386-dis.c: (print_insn): Avoid straight assignment to
200 priv.orig_sizeflag when processing -M sub-options.
201
8f570d62
JB
2022020-06-25 Jan Beulich <jbeulich@suse.com>
203
204 * i386-dis.c: Adjust description of J macro.
205 (dis386, x86_64_table, mod_table): Replace J.
206 (putop): Remove handling of J.
207
464dc4af
JB
2082020-06-25 Jan Beulich <jbeulich@suse.com>
209
210 * i386-dis.c: (float_mem): Reduce alternatives for fstpt and fldpt.
211
589958d6
JB
2122020-06-25 Jan Beulich <jbeulich@suse.com>
213
214 * i386-dis.c: Adjust description of "LQ" macro.
215 (dis386_twobyte): Use LQ for sysret.
216 (putop): Adjust handling of LQ.
217
39ff0b81
NC
2182020-06-22 Nelson Chu <nelson.chu@sifive.com>
219
220 * riscv-opc.c: Move the structures and functions to bfd/elfxx-riscv.c.
221 * riscv-dis.c: Include elfxx-riscv.h.
222
d27c357a
JB
2232020-06-18 H.J. Lu <hongjiu.lu@intel.com>
224
225 * i386-dis.c (prefix_table): Revert the last vmgexit change.
226
6fde587f
CL
2272020-06-17 Lili Cui <lili.cui@intel.com>
228
229 * i386-dis.c (prefix_table): Delete the incorrect vmgexit.
230
efe30057
L
2312020-06-14 H.J. Lu <hongjiu.lu@intel.com>
232
233 PR gas/26115
234 * i386-dis.c (prefix_table): Replace xsuspldtrk with xsusldtrk.
235 * i386-opc.tbl: Likewise.
236 * i386-tbl.h: Regenerated.
237
d8af286f
NC
2382020-06-12 Nelson Chu <nelson.chu@sifive.com>
239
240 * riscv-opc.c (priv_specs): Remove v1.9 and PRIV_SPEC_CLASS_1P9.
241
14962256
AC
2422020-06-11 Alex Coplan <alex.coplan@arm.com>
243
244 * aarch64-opc.c (SYSREG): New macro for describing system registers.
245 (SR_CORE): Likewise.
246 (SR_FEAT): Likewise.
247 (SR_RNG): Likewise.
248 (SR_V8_1): Likewise.
249 (SR_V8_2): Likewise.
250 (SR_V8_3): Likewise.
251 (SR_V8_4): Likewise.
252 (SR_PAN): Likewise.
253 (SR_RAS): Likewise.
254 (SR_SSBS): Likewise.
255 (SR_SVE): Likewise.
256 (SR_ID_PFR2): Likewise.
257 (SR_PROFILE): Likewise.
258 (SR_MEMTAG): Likewise.
259 (SR_SCXTNUM): Likewise.
260 (aarch64_sys_regs): Refactor to store feature information in the table.
261 (aarch64_sys_reg_supported_p): Collapse logic for system registers
262 that now describe their own features.
263 (aarch64_pstatefield_supported_p): Likewise.
264
f9630fa6
L
2652020-06-09 H.J. Lu <hongjiu.lu@intel.com>
266
267 * i386-dis.c (prefix_table): Fix a typo in comments.
268
73239888
JB
2692020-06-09 Jan Beulich <jbeulich@suse.com>
270
271 * i386-dis.c (rex_ignored): Delete.
272 (ckprefix): Drop rex_ignored initialization.
273 (get_valid_dis386): Drop setting of rex_ignored.
274 (print_insn): Drop checking of rex_ignored. Don't record data
275 size prefix as used with VEX-and-alike encodings.
276
18897deb
JB
2772020-06-09 Jan Beulich <jbeulich@suse.com>
278
279 * i386-dis.c (MOD_0F12_PREFIX_2, MOD_0F16_PREFIX_2,
280 MOD_VEX_0F12_PREFIX_2, MOD_VEX_0F16_PREFIX_2): New enumerators.
281 (VEX_LEN_0F12_P_2, VEX_LEN_0F16_P_2): Delete.
282 (VEX_LEN_0F12_P_2_M_0, VEX_LEN_0F16_P_2_M_0): Define.
283 (prefix_table): Decode MOD for cases 2 of opcodes 0F12, 0F16,
284 VEX_0F12, and VEX_0F16.
285 (vex_len_table): Use X for vmovlp* and vmovh*s. Drop
286 VEX_LEN_0F12_P_2 and VEX_LEN_0F16_P_2 entries.
287 (mod_table): Use X for movlpX and movhpX. Drop PREFIX_OPCODE
288 from movlps and movhlps. New MOD_0F12_PREFIX_2,
289 MOD_0F16_PREFIX_2, MOD_VEX_0F12_PREFIX_2, and
290 MOD_VEX_0F16_PREFIX_2 entries.
291
97e6786a
JB
2922020-06-09 Jan Beulich <jbeulich@suse.com>
293
294 * i386-dis.c (MOD_EVEX_0F12_PREFIX_2, MOD_EVEX_0F13,
295 MOD_EVEX_0F16_PREFIX_2, MOD_EVEX_0F17, MOD_EVEX_0F2B): New enumerators.
296 (PREFIX_EVEX_0F13, PREFIX_EVEX_0F14, PREFIX_EVEX_0F15,
297 PREFIX_EVEX_0F17, PREFIX_EVEX_0F28, PREFIX_EVEX_0F29,
298 PREFIX_EVEX_0F2B, PREFIX_EVEX_0F54, PREFIX_EVEX_0F55,
299 PREFIX_EVEX_0F56, PREFIX_EVEX_0F57, PREFIX_EVEX_0FC6,
300 EVEX_W_0F10_P_0, EVEX_W_0F10_P_2, EVEX_W_0F11_P_0,
301 EVEX_W_0F11_P_2, EVEX_W_0F12_P_0_M_0, EVEX_W_0F12_P_2,
302 EVEX_W_0F13_P_0, EVEX_W_0F13_P_2, EVEX_W_0F14_P_0,
303 EVEX_W_0F14_P_2, EVEX_W_0F15_P_0, EVEX_W_0F15_P_2,
304 EVEX_W_0F16_P_0_M_0, EVEX_W_0F16_P_2, EVEX_W_0F17_P_0,
305 EVEX_W_0F17_P_2, EVEX_W_0F28_P_0, EVEX_W_0F28_P_2,
306 EVEX_W_0F29_P_0, EVEX_W_0F29_P_2, EVEX_W_0F2B_P_0,
307 EVEX_W_0F2B_P_2, EVEX_W_0F2E_P_0, EVEX_W_0F2E_P_2,
308 EVEX_W_0F2F_P_0, EVEX_W_0F2F_P_2, EVEX_W_0F51_P_0,
309 EVEX_W_0F51_P_2, EVEX_W_0F54_P_0, EVEX_W_0F54_P_2,
310 EVEX_W_0F55_P_0, EVEX_W_0F55_P_2, EVEX_W_0F56_P_0,
311 EVEX_W_0F56_P_2, EVEX_W_0F57_P_0, EVEX_W_0F57_P_2,
312 EVEX_W_0F58_P_0, EVEX_W_0F58_P_2, EVEX_W_0F59_P_0,
313 EVEX_W_0F59_P_2, EVEX_W_0F5C_P_0, EVEX_W_0F5C_P_2,
314 EVEX_W_0F5D_P_0, EVEX_W_0F5D_P_2, EVEX_W_0F5E_P_0,
315 EVEX_W_0F5E_P_2, EVEX_W_0F5F_P_0, EVEX_W_0F5F_P_2,
316 EVEX_W_0FC2_P_0, EVEX_W_0FC2_P_2, EVEX_W_0FC6_P_0,
317 EVEX_W_0FC6_P_2): Delete.
318 (print_insn): Add EVEX.W vs embedded prefix consistency check
319 to prefix validation.
320 * i386-dis-evex.h (evex_table): Don't further descend for
321 vunpcklpX, vunpckhpX, vmovapX, vandpX, vandnpX, vorpX, vxorpX,
322 and vshufpX. Continue with MOD decoding for opcodes 0F13, 0F17,
323 and 0F2B.
324 * i386-dis-evex-mod.h: Add/adjust vmovlpX/vmovhpX entries.
325 * i386-dis-evex-prefix.h: Don't further descend for vmovupX,
326 vucomisX, vcomisX, vsqrtpX, vaddpX, vmulpX, vsubpX, vminpX,
327 vdivpX, vmaxpX, and vcmppX. Continue with MOD decoding for cases
328 2 of PREFIX_EVEX_0F12, PREFIX_EVEX_0F16, and PREFIX_EVEX_0F29.
329 Drop PREFIX_EVEX_0F13, PREFIX_EVEX_0F14, PREFIX_EVEX_0F15,
330 PREFIX_EVEX_0F17, PREFIX_EVEX_0F28, PREFIX_EVEX_0F2B,
331 PREFIX_EVEX_0F54, PREFIX_EVEX_0F55, PREFIX_EVEX_0F56,
332 PREFIX_EVEX_0F57, and PREFIX_EVEX_0FC6 entries.
333 * i386-dis-evex-w.h: Drop EVEX_W_0F10_P_0, EVEX_W_0F10_P_2,
334 EVEX_W_0F11_P_0, EVEX_W_0F11_P_2, EVEX_W_0F12_P_0_M_0,
335 EVEX_W_0F12_P_2, EVEX_W_0F12_P_3, EVEX_W_0F13_P_0,
336 EVEX_W_0F13_P_2, EVEX_W_0F14_P_0, EVEX_W_0F14_P_2,
337 EVEX_W_0F15_P_0, EVEX_W_0F15_P_2, EVEX_W_0F16_P_0_M_0,
338 EVEX_W_0F16_P_2, EVEX_W_0F17_P_0, EVEX_W_0F17_P_2,
339 EVEX_W_0F28_P_0, EVEX_W_0F28_P_2, EVEX_W_0F29_P_0,
340 EVEX_W_0F29_P_2, EVEX_W_0F2B_P_0, EVEX_W_0F2B_P_2,
341 EVEX_W_0F2E_P_0, EVEX_W_0F2E_P_2, EVEX_W_0F2F_P_0,
342 EVEX_W_0F2F_P_2, EVEX_W_0F51_P_0, EVEX_W_0F51_P_2,
343 EVEX_W_0F54_P_0, EVEX_W_0F54_P_2, EVEX_W_0F55_P_0,
344 EVEX_W_0F55_P_2, EVEX_W_0F56_P_0, EVEX_W_0F56_P_2,
345 EVEX_W_0F57_P_0, EVEX_W_0F57_P_2, EVEX_W_0F58_P_0,
346 EVEX_W_0F58_P_2, EVEX_W_0F59_P_0, EVEX_W_0F59_P_2,
347 EVEX_W_0F5C_P_0, EVEX_W_0F5C_P_2, EVEX_W_0F5D_P_0,
348 EVEX_W_0F5D_P_2, EVEX_W_0F5E_P_0, EVEX_W_0F5E_P_2,
349 EVEX_W_0F5F_P_0, EVEX_W_0F5F_P_2, EVEX_W_0FC2_P_0,
350 EVEX_W_0FC2_P_2, EVEX_W_0FC6_P_0, and EVEX_W_0FC6_P_2 entries.
351
bf926894
JB
3522020-06-09 Jan Beulich <jbeulich@suse.com>
353
354 * i386-dis.c (vex_table): Use PREFIX_OPCODE for vunpcklpX,
355 vunpckhpX, vmovapX, vandpX, vandnpX, vorpX, vxorpX and vshufpX.
356 (vex_len_table) : Likewise for vmovlpX, vmovhpX, vmovntpX, and
357 vmovmskpX.
358 (print_insn): Drop pointless check against bad_opcode. Split
359 prefix validation into legacy and VEX-and-alike parts.
360 (putop): Re-work 'X' macro handling.
361
a5aaedb9
JB
3622020-06-09 Jan Beulich <jbeulich@suse.com>
363
364 * i386-dis.c (MOD_0F51): Rename to ...
365 (MOD_0F50): ... this.
366
26417f19
AC
3672020-06-08 Alex Coplan <alex.coplan@arm.com>
368
369 * arm-dis.c (arm_opcodes): Add dfb.
370 (thumb32_opcodes): Add dfb.
371
8a6fb3f9
JB
3722020-06-08 Jan Beulich <jbeulich@suse.com>
373
374 * i386-opc.h (reg_entry): Const-qualify reg_name field.
375
1424c35d
AM
3762020-06-06 Alan Modra <amodra@gmail.com>
377
378 * ppc-dis.c (ppc_opts): Accept -mpwr10/-Mpwr10.
379
d3d1cc7b
AM
3802020-06-05 Alan Modra <amodra@gmail.com>
381
382 * cgen-dis.c (hash_insn_array): Increase size of buf. Assert
383 size is large enough.
384
d8740be1
JM
3852020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
386
387 * disassemble.c (disassemble_init_for_target): Set endian_code for
388 bpf targets.
389 * bpf-desc.c: Regenerate.
390 * bpf-opc.c: Likewise.
391 * bpf-dis.c: Likewise.
392
e9bffec9
JM
3932020-06-03 Jose E. Marchesi <jose.marchesi@oracle.com>
394
395 * cgen-opc.c (cgen_get_insn_value): Get an `endian' argument.
396 (cgen_put_insn_value): Likewise.
397 (cgen_lookup_insn): Pass endianness to cgen_{get,put}_insn_value.
398 * cgen-dis.in (print_insn): Likewise.
399 * cgen-ibld.in (insert_1): Likewise.
400 (insert_1): Likewise.
401 (insert_insn_normal): Likewise.
402 (extract_1): Likewise.
403 * bpf-dis.c: Regenerate.
404 * bpf-ibld.c: Likewise.
405 * bpf-ibld.c: Likewise.
406 * cgen-dis.in: Likewise.
407 * cgen-ibld.in: Likewise.
408 * cgen-opc.c: Likewise.
409 * epiphany-dis.c: Likewise.
410 * epiphany-ibld.c: Likewise.
411 * fr30-dis.c: Likewise.
412 * fr30-ibld.c: Likewise.
413 * frv-dis.c: Likewise.
414 * frv-ibld.c: Likewise.
415 * ip2k-dis.c: Likewise.
416 * ip2k-ibld.c: Likewise.
417 * iq2000-dis.c: Likewise.
418 * iq2000-ibld.c: Likewise.
419 * lm32-dis.c: Likewise.
420 * lm32-ibld.c: Likewise.
421 * m32c-dis.c: Likewise.
422 * m32c-ibld.c: Likewise.
423 * m32r-dis.c: Likewise.
424 * m32r-ibld.c: Likewise.
425 * mep-dis.c: Likewise.
426 * mep-ibld.c: Likewise.
427 * mt-dis.c: Likewise.
428 * mt-ibld.c: Likewise.
429 * or1k-dis.c: Likewise.
430 * or1k-ibld.c: Likewise.
431 * xc16x-dis.c: Likewise.
432 * xc16x-ibld.c: Likewise.
433 * xstormy16-dis.c: Likewise.
434 * xstormy16-ibld.c: Likewise.
435
b3db6d07
JM
4362020-06-04 Jose E. Marchesi <jemarch@gnu.org>
437
438 * cgen-dis.in (cpu_desc_list): New field `insn_endian'.
439 (print_insn_): Handle instruction endian.
440 * bpf-dis.c: Regenerate.
441 * bpf-desc.c: Regenerate.
442 * epiphany-dis.c: Likewise.
443 * epiphany-desc.c: Likewise.
444 * fr30-dis.c: Likewise.
445 * fr30-desc.c: Likewise.
446 * frv-dis.c: Likewise.
447 * frv-desc.c: Likewise.
448 * ip2k-dis.c: Likewise.
449 * ip2k-desc.c: Likewise.
450 * iq2000-dis.c: Likewise.
451 * iq2000-desc.c: Likewise.
452 * lm32-dis.c: Likewise.
453 * lm32-desc.c: Likewise.
454 * m32c-dis.c: Likewise.
455 * m32c-desc.c: Likewise.
456 * m32r-dis.c: Likewise.
457 * m32r-desc.c: Likewise.
458 * mep-dis.c: Likewise.
459 * mep-desc.c: Likewise.
460 * mt-dis.c: Likewise.
461 * mt-desc.c: Likewise.
462 * or1k-dis.c: Likewise.
463 * or1k-desc.c: Likewise.
464 * xc16x-dis.c: Likewise.
465 * xc16x-desc.c: Likewise.
466 * xstormy16-dis.c: Likewise.
467 * xstormy16-desc.c: Likewise.
468
4ee4189f
NC
4692020-06-03 Nick Clifton <nickc@redhat.com>
470
471 * po/sr.po: Updated Serbian translation.
472
44730156
NC
4732020-06-03 Nelson Chu <nelson.chu@sifive.com>
474
475 * riscv-opc.c (riscv_get_isa_spec_class): Change bfd_boolean to int.
476 (riscv_get_priv_spec_class): Likewise.
477
3c3d0376
AM
4782020-06-01 Alan Modra <amodra@gmail.com>
479
480 * bpf-desc.c: Regenerate.
481
78c1c354
JM
4822020-05-28 Jose E. Marchesi <jose.marchesi@oracle.com>
483 David Faust <david.faust@oracle.com>
484
485 * bpf-desc.c: Regenerate.
486 * bpf-opc.h: Likewise.
487 * bpf-opc.c: Likewise.
488 * bpf-dis.c: Likewise.
489
efcf5fb5
AM
4902020-05-28 Alan Modra <amodra@gmail.com>
491
492 * nios2-dis.c (nios2_print_insn_arg): Avoid shift left of negative
493 values.
494
ab382d64
AM
4952020-05-28 Alan Modra <amodra@gmail.com>
496
497 * ns32k-dis.c (print_insn_arg): Handle d value of 'f' for
498 immediates.
499 (print_insn_ns32k): Revert last change.
500
151f5de4
NC
5012020-05-28 Nick Clifton <nickc@redhat.com>
502
503 * ns32k-dis.c (print_insn_ns32k): Change the arg_bufs array to
504 static.
505
25e1eca8
SL
5062020-05-26 Sandra Loosemore <sandra@codesourcery.com>
507
508 Fix extraction of signed constants in nios2 disassembler (again).
509
510 * nios2-dis.c (nios2_print_insn_arg): Add explicit casts to
511 extractions of signed fields.
512
57b17940
SSF
5132020-05-26 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
514
515 * s390-opc.txt: Relocate vector load/store instructions with
516 additional alignment parameter and change architecture level
517 constraint from z14 to z13.
518
d96bf37b
AM
5192020-05-21 Alan Modra <amodra@gmail.com>
520
521 * arc-ext.c: Replace "if (x) free (x)" with "free (x)" throughout.
522 * sparc-dis.c: Likewise.
523 * tic4x-dis.c: Likewise.
524 * xtensa-dis.c: Likewise.
525 * bpf-desc.c: Regenerate.
526 * epiphany-desc.c: Regenerate.
527 * fr30-desc.c: Regenerate.
528 * frv-desc.c: Regenerate.
529 * ip2k-desc.c: Regenerate.
530 * iq2000-desc.c: Regenerate.
531 * lm32-desc.c: Regenerate.
532 * m32c-desc.c: Regenerate.
533 * m32r-desc.c: Regenerate.
534 * mep-asm.c: Regenerate.
535 * mep-desc.c: Regenerate.
536 * mt-desc.c: Regenerate.
537 * or1k-desc.c: Regenerate.
538 * xc16x-desc.c: Regenerate.
539 * xstormy16-desc.c: Regenerate.
540
8f595e9b
NC
5412020-05-20 Nelson Chu <nelson.chu@sifive.com>
542
543 * riscv-opc.c (riscv_ext_version_table): The table used to store
544 all information about the supported spec and the corresponding ISA
545 versions. Currently, only Zicsr is supported to verify the
546 correctness of Z sub extension settings. Others will be supported
547 in the future patches.
548 (struct isa_spec_t, isa_specs): List for all supported ISA spec
549 classes and the corresponding strings.
550 (riscv_get_isa_spec_class): New function. Get the corresponding ISA
551 spec class by giving a ISA spec string.
552 * riscv-opc.c (struct priv_spec_t): New structure.
553 (struct priv_spec_t priv_specs): List for all supported privilege spec
554 classes and the corresponding strings.
555 (riscv_get_priv_spec_class): New function. Get the corresponding
556 privilege spec class by giving a spec string.
557 (riscv_get_priv_spec_name): New function. Get the corresponding
558 privilege spec string by giving a CSR version class.
559 * riscv-dis.c: Updated since DECLARE_CSR is changed.
560 * riscv-dis.c: Add new disassembler option -Mpriv-spec to dump the CSR
561 according to the chosen version. Build a hash table riscv_csr_hash to
562 store the valid CSR for the chosen pirv verison. Dump the direct
563 CSR address rather than it's name if it is invalid.
564 (parse_riscv_dis_option_without_args): New function. Parse the options
565 without arguments.
566 (parse_riscv_dis_option): Call parse_riscv_dis_option_without_args to
567 parse the options without arguments first, and then handle the options
568 with arguments. Add the new option -Mpriv-spec, which has argument.
569 * riscv-dis.c (print_riscv_disassembler_options): Add description
570 about the new OBJDUMP option.
571
3d205eb4
PB
5722020-05-19 Peter Bergner <bergner@linux.ibm.com>
573
574 * ppc-opc.c (insert_ls, extract_ls): Handle 3-bit L fields and new
575 WC values on POWER10 sync, dcbf and wait instructions.
576 (insert_pl, extract_pl): New functions.
577 (L2OPT, LS, WC): Use insert_ls and extract_ls.
578 (LS3): New , 3-bit L for sync.
579 (LS3, L3OPT): New, 3-bit L for sync and dcbf.
580 (SC2, PL): New, 2-bit SC and PL for sync and wait.
581 (XWCPL_MASK, XL3RT_MASK, XSYNCLS_MASK): New instruction masks.
582 (XOPL3, XWCPL, XSYNCLS): New opcode macros.
583 (powerpc_opcodes) <dcbflp, dcbfps, dcbstps pause_short, phwsync,
584 plwsync, stcisync, stncisync, stsync, waitrsv>: New extended mnemonics.
585 <wait>: Enable PL operand on POWER10.
586 <dcbf>: Enable L3OPT operand on POWER10.
587 <sync>: Enable SC2 operand on POWER10.
588
a501eb44
SH
5892020-05-19 Stafford Horne <shorne@gmail.com>
590
591 PR 25184
592 * or1k-asm.c: Regenerate.
593 * or1k-desc.c: Regenerate.
594 * or1k-desc.h: Regenerate.
595 * or1k-dis.c: Regenerate.
596 * or1k-ibld.c: Regenerate.
597 * or1k-opc.c: Regenerate.
598 * or1k-opc.h: Regenerate.
599 * or1k-opinst.c: Regenerate.
600
3b646889
AM
6012020-05-11 Alan Modra <amodra@gmail.com>
602
603 * ppc-opc (powerpc_opcodes): Add xscmpeqqp, xscmpgeqp, xscmpgtqp,
604 xsmaxcqp, xsmincqp.
605
9cc4ce88
AM
6062020-05-11 Alan Modra <amodra@gmail.com>
607
608 * ppc-opc.c (powerpc_opcodes): Add lxvrbx, lxvrhx, lxvrwx, lxvrdx,
609 stxvrbx, stxvrhx, stxvrwx, stxvrdx.
610
5d57bc3f
AM
6112020-05-11 Alan Modra <amodra@gmail.com>
612
613 * ppc-opc.c (powerpc_opcodes): Add xvtlsbb.
614
66ef5847
AM
6152020-05-11 Alan Modra <amodra@gmail.com>
616
617 * ppc-opc.c (powerpc_opcodes): Add vstribl, vstribr, vstrihl, vstrihr,
618 vclrlb, vclrrb, vstribl., vstribr., vstrihl., vstrihr..
619
4f3e9537
PB
6202020-05-11 Peter Bergner <bergner@linux.ibm.com>
621
622 * ppc-opc.c (powerpc_opcodes) <setbc, setbcr, setnbc, setnbcr>: New
623 mnemonics.
624
ec40e91c
AM
6252020-05-11 Alan Modra <amodra@gmail.com>
626
627 * ppc-opc.c (UIM8, P_U8XX4_MASK): Define.
628 (powerpc_opcodes): Add vgnb, vcfuged, vpextd, vpdepd, vclzdm,
629 vctzdm, cntlzdm, pdepd, pextd, cfuged, cnttzdm.
630 (prefix_opcodes): Add xxeval.
631
d7e97a76
AM
6322020-05-11 Alan Modra <amodra@gmail.com>
633
634 * ppc-opc.c (powerpc_opcodes): Add xxgenpcvbm, xxgenpcvhm,
635 xxgenpcvwm, xxgenpcvdm.
636
fdefed7c
AM
6372020-05-11 Alan Modra <amodra@gmail.com>
638
639 * ppc-opc.c (MP, VXVAM_MASK): Define.
640 (VXVAPS_MASK): Use VXVA_MASK.
641 (powerpc_opcodes): Add mtvsrbmi, vexpandbm, vexpandhm, vexpandwm,
642 vexpanddm, vexpandqm, vextractbm, vextracthm, vextractwm,
643 vextractdm, vextractqm, mtvsrbm, mtvsrhm, mtvsrwm, mtvsrdm, mtvsrqm,
644 vcntmbb, vcntmbh, vcntmbw, vcntmbd.
645
aa3c112f
AM
6462020-05-11 Alan Modra <amodra@gmail.com>
647 Peter Bergner <bergner@linux.ibm.com>
648
649 * ppc-opc.c (insert_xa6a, extract_xa6a, insert_xb6a, extract_xb6a):
650 New functions.
651 (powerpc_operands): Define ACC, PMSK8, PMSK4, PMSK2, XMSK, YMSK,
652 YMSK2, XA6a, XA6ap, XB6a entries.
653 (PMMIRR, P_X_MASK, P_XX1_MASK, P_GER_MASK): Define
654 (P_GER2_MASK, P_GER4_MASK, P_GER8_MASK, P_GER64_MASK): Define.
655 (PPCVSX4): Define.
656 (powerpc_opcodes): Add xxmfacc, xxmtacc, xxsetaccz,
657 xvi8ger4pp, xvi8ger4, xvf16ger2pp, xvf16ger2, xvf32gerpp, xvf32ger,
658 xvi4ger8pp, xvi4ger8, xvi16ger2spp, xvi16ger2s, xvbf16ger2pp,
659 xvbf16ger2, xvf64gerpp, xvf64ger, xvi16ger2, xvf16ger2np,
660 xvf32gernp, xvi8ger4spp, xvi16ger2pp, xvbf16ger2np, xvf64gernp,
661 xvf16ger2pn, xvf32gerpn, xvbf16ger2pn, xvf64gerpn, xvf16ger2nn,
662 xvf32gernn, xvbf16ger2nn, xvf64gernn, xvcvbf16sp, xvcvspbf16.
663 (prefix_opcodes): Add pmxvi8ger4pp, pmxvi8ger4, pmxvf16ger2pp,
664 pmxvf16ger2, pmxvf32gerpp, pmxvf32ger, pmxvi4ger8pp, pmxvi4ger8,
665 pmxvi16ger2spp, pmxvi16ger2s, pmxvbf16ger2pp, pmxvbf16ger2,
666 pmxvf64gerpp, pmxvf64ger, pmxvi16ger2, pmxvf16ger2np, pmxvf32gernp,
667 pmxvi8ger4spp, pmxvi16ger2pp, pmxvbf16ger2np, pmxvf64gernp,
668 pmxvf16ger2pn, pmxvf32gerpn, pmxvbf16ger2pn, pmxvf64gerpn,
669 pmxvf16ger2nn, pmxvf32gernn, pmxvbf16ger2nn, pmxvf64gernn.
670
6edbfd3b
AM
6712020-05-11 Alan Modra <amodra@gmail.com>
672
673 * ppc-opc.c (insert_imm32, extract_imm32): New functions.
674 (insert_xts, extract_xts): New functions.
675 (IMM32, UIM3, IX, UIM5, SH3, XTS, P8RR): Define.
676 (P_XX4_MASK, P_UXX4_MASK, VSOP, P_VS_MASK, P_VSI_MASK): Define.
677 (VXRC_MASK, VXSH_MASK): Define.
678 (powerpc_opcodes): Add vinsbvlx, vsldbi, vextdubvlx, vextdubvrx,
679 vextduhvlx, vextduhvrx, vextduwvlx, vextduwvrx, vextddvlx,
680 vextddvrx, vinshvlx, vinswvlx, vinsw, vinsbvrx, vinshvrx,
681 vinswvrx, vinsd, vinsblx, vsrdbi, vinshlx, vinswlx, vinsdlx,
682 vinsbrx, vinshrx, vinswrx, vinsdrx, lxvkq.
683 (prefix_opcodes): Add xxsplti32dx, xxspltidp, xxspltiw, xxblendvb,
684 xxblendvh, xxblendvw, xxblendvd, xxpermx.
685
c7d7aea2
AM
6862020-05-11 Alan Modra <amodra@gmail.com>
687
688 * ppc-opc.c (powerpc_opcodes): Add vrlq, vdivuq, vmsumcud, vrlqmi,
689 vmuloud, vcmpuq, vslq, vdivsq, vcmpsq, vrlqnm, vcmpequq, vmulosd,
690 vsrq, vdiveuq, vcmpgtuq, vmuleud, vsraq, vdivesq, vcmpgtsq, vmulesd,
691 vcmpequq., vextsd2q, vmoduq, vcmpgtuq., vmodsq, vcmpgtsq., xscvqpuqz,
692 xscvuqqp, xscvqpsqz, xscvsqqp, dcffixqq, dctfixqq.
693
94ba9882
AM
6942020-05-11 Alan Modra <amodra@gmail.com>
695
696 * ppc-opc.c (insert_xtp, extract_xtp): New functions.
697 (XTP, DQXP, DQXP_MASK): Define.
698 (powerpc_opcodes): Add lxvp, stxvp, lxvpx, stxvpx.
699 (prefix_opcodes): Add plxvp and pstxvp.
700
f4791f1a
AM
7012020-05-11 Alan Modra <amodra@gmail.com>
702
703 * ppc-opc.c (powerpc_opcodes): Add vdivuw, vdivud, vdivsw, vmulld,
704 vdivsd, vmulhuw, vdiveuw, vmulhud, vdiveud, vmulhsw, vdivesw,
705 vmulhsd, vdivesd, vmoduw, vmodud, vmodsw, vmodsd.
706
3ff0a5ba
PB
7072020-05-11 Peter Bergner <bergner@linux.ibm.com>
708
709 * ppc-opc.c (powerpc_opcodes) <brd, brh, brw>: New mnemonics.
710
afef4fe9
PB
7112020-05-11 Peter Bergner <bergner@linux.ibm.com>
712
713 * ppc-opc.c (insert_l1opt, extract_l1opt): New functions.
714 (L1OPT): Define.
715 (powerpc_opcodes) <paste.>: Add L operand for cpu POWER10.
716
1224c05d
PB
7172020-05-11 Peter Bergner <bergner@linux.ibm.com>
718
719 * ppc-opc.c (powerpc_opcodes) <slbiag>: Add variant with L operand.
720
6bbb0c05
AM
7212020-05-11 Alan Modra <amodra@gmail.com>
722
723 * ppc-dis.c (powerpc_init_dialect): Default to "power10".
724
7c1f4227
AM
7252020-05-11 Alan Modra <amodra@gmail.com>
726
727 * ppc-dis.c (ppc_opts): Add "power10" entry.
728 (print_insn_powerpc): Update for PPC_OPCODE_POWER10 renaming.
729 * ppc-opc.c (POWER10): Rename from POWERXX. Update all uses.
730
73199c2b
NC
7312020-05-11 Nick Clifton <nickc@redhat.com>
732
733 * po/fr.po: Updated French translation.
734
09c1e68a
AC
7352020-04-30 Alex Coplan <alex.coplan@arm.com>
736
737 * aarch64-opc.h (enum aarch64_field_kind): Add FLD_imm16_2.
738 * aarch64-opc.c (fields): Add entry for FLD_imm16_2.
739 (operand_general_constraint_met_p): validate
740 AARCH64_OPND_UNDEFINED.
741 * aarch64-tbl.h (aarch64_opcode_table): Add udf instruction, entry
742 for FLD_imm16_2.
743 * aarch64-asm-2.c: Regenerated.
744 * aarch64-dis-2.c: Regenerated.
745 * aarch64-opc-2.c: Regenerated.
746
9654d51a
NC
7472020-04-29 Nick Clifton <nickc@redhat.com>
748
749 PR 22699
750 * sh-opc.h: Also use unsigned 8-bit immediate values for the LDRC
751 and SETRC insns.
752
c2e71e57
NC
7532020-04-29 Nick Clifton <nickc@redhat.com>
754
755 * po/sv.po: Updated Swedish translation.
756
5c936ef5
NC
7572020-04-29 Nick Clifton <nickc@redhat.com>
758
759 PR 22699
760 * sh-opc.h (IMM0_8): Replace with IMM0_8S and IMM0_8U. Use
761 IMM0_8S for arithmetic insns and IMM0_8U for logical insns.
762 * sh-dis.c (print_insn_sh): Change IMM0_8 case to IMM0_8S and add
763 IMM0_8U case.
764
bb2a1453
AS
7652020-04-21 Andreas Schwab <schwab@linux-m68k.org>
766
767 PR 25848
768 * m68k-opc.c (m68k_opcodes): Allow pc-rel for second operand of
769 cmpi only on m68020up and cpu32.
770
c2e5c986
SD
7712020-04-20 Sudakshina Das <sudi.das@arm.com>
772
773 * aarch64-asm.c (aarch64_ins_none): New.
774 * aarch64-asm.h (ins_none): New declaration.
775 * aarch64-dis.c (aarch64_ext_none): New.
776 * aarch64-dis.h (ext_none): New declaration.
777 * aarch64-opc.c (aarch64_print_operand): Update case for
778 AARCH64_OPND_BARRIER_PSB.
779 * aarch64-tbl.h (aarch64_opcode_table): Add tsb.
780 (AARCH64_OPERANDS): Update inserter/extracter for
781 AARCH64_OPND_BARRIER_PSB to use new dummy functions.
782 * aarch64-asm-2.c: Regenerated.
783 * aarch64-dis-2.c: Regenerated.
784 * aarch64-opc-2.c: Regenerated.
785
8a6e1d1d
SD
7862020-04-20 Sudakshina Das <sudi.das@arm.com>
787
788 * aarch64-tbl.h (aarch64_feature_bti, BTI, BTI_INSN): Remove.
789 (aarch64_feature_ras, RAS): Likewise.
790 (aarch64_feature_stat_profile, STAT_PROFILE): Likewise.
791 (aarch64_opcode_table): Update bti, xpaclri, pacia1716, pacib1716,
792 autia1716, autib1716, esb, psb, dgh, paciaz, paciasp, pacibz, pacibsp,
793 autiaz, autiasp, autibz, autibsp to be CORE_INSN.
794 * aarch64-asm-2.c: Regenerated.
795 * aarch64-dis-2.c: Regenerated.
796 * aarch64-opc-2.c: Regenerated.
797
e409955d
FS
7982020-04-17 Fredrik Strupe <fredrik@strupe.net>
799
800 * arm-dis.c (neon_opcodes): Fix VDUP instruction masks.
801 (print_insn_neon): Support disassembly of conditional
802 instructions.
803
c54a9b56
DF
8042020-02-16 David Faust <david.faust@oracle.com>
805
806 * bpf-desc.c: Regenerate.
807 * bpf-desc.h: Likewise.
808 * bpf-opc.c: Regenerate.
809 * bpf-opc.h: Likewise.
810
bb651e8b
CL
8112020-04-07 Lili Cui <lili.cui@intel.com>
812
813 * i386-dis.c (enum): Add PREFIX_0F01_REG_5_MOD_3_RM_1,
814 (prefix_table): New instructions (see prefixes above).
815 (rm_table): Likewise
816 * i386-gen.c (cpu_flag_init): Add CPU_TSXLDTRK_FLAGS,
817 CPU_ANY_TSXLDTRK_FLAGS.
818 (cpu_flags): Add CpuTSXLDTRK.
819 * i386-opc.h (enum): Add CpuTSXLDTRK.
820 (i386_cpu_flags): Add cputsxldtrk.
821 * i386-opc.tbl: Add XSUSPLDTRK insns.
822 * i386-init.h: Regenerate.
823 * i386-tbl.h: Likewise.
824
4b27d27c
L
8252020-04-02 Lili Cui <lili.cui@intel.com>
826
827 * i386-dis.c (prefix_table): New instructions serialize.
828 * i386-gen.c (cpu_flag_init): Add CPU_SERIALIZE_FLAGS,
829 CPU_ANY_SERIALIZE_FLAGS.
830 (cpu_flags): Add CpuSERIALIZE.
831 * i386-opc.h (enum): Add CpuSERIALIZE.
832 (i386_cpu_flags): Add cpuserialize.
833 * i386-opc.tbl: Add SERIALIZE insns.
834 * i386-init.h: Regenerate.
835 * i386-tbl.h: Likewise.
836
832a5807
AM
8372020-03-26 Alan Modra <amodra@gmail.com>
838
839 * disassemble.h (opcodes_assert): Declare.
840 (OPCODES_ASSERT): Define.
841 * disassemble.c: Don't include assert.h. Include opintl.h.
842 (opcodes_assert): New function.
843 * h8300-dis.c (bfd_h8_disassemble_init): Use OPCODES_ASSERT.
844 (bfd_h8_disassemble): Reduce size of data array. Correctly
845 calculate maxlen. Omit insn decoding when insn length exceeds
846 maxlen. Exit from nibble loop when looking for E, before
847 accessing next data byte. Move processing of E outside loop.
848 Replace tests of maxlen in loop with assertions.
849
4c4addbe
AM
8502020-03-26 Alan Modra <amodra@gmail.com>
851
852 * arc-dis.c (find_format): Init needs_limm. Simplify use of limm.
853
a18cd0ca
AM
8542020-03-25 Alan Modra <amodra@gmail.com>
855
856 * z80-dis.c (suffix): Init mybuf.
857
57cb32b3
AM
8582020-03-22 Alan Modra <amodra@gmail.com>
859
860 * h8300-dis.c (bfd_h8_disassemble): Limit data[] access to that
861 successflly read from section.
862
beea5cc1
AM
8632020-03-22 Alan Modra <amodra@gmail.com>
864
865 * arc-dis.c (find_format): Use ISO C string concatenation rather
866 than line continuation within a string. Don't access needs_limm
867 before testing opcode != NULL.
868
03704c77
AM
8692020-03-22 Alan Modra <amodra@gmail.com>
870
871 * ns32k-dis.c (print_insn_arg): Update comment.
872 (print_insn_ns32k): Reduce size of index_offset array, and
873 initialize, passing -1 to print_insn_arg for args that are not
874 an index. Don't exit arg loop early. Abort on bad arg number.
875
d1023b5d
AM
8762020-03-22 Alan Modra <amodra@gmail.com>
877
878 * s12z-dis.c (abstract_read_memory): Don't print error on EOI.
879 * s12z-opc.c: Formatting.
880 (operands_f): Return an int.
881 (opr_n_bytes_p1): Return -1 on reaching buffer memory limit.
882 (opr_n_bytes2, bfextins_n_bytes, mul_n_bytes, bm_n_bytes),
883 (shift_n_bytes, mov_imm_opr_n_bytes, loop_prim_n_bytes),
884 (exg_sex_discrim): Likewise.
885 (create_immediate_operand, create_bitfield_operand),
886 (create_register_operand_with_size, create_register_all_operand),
887 (create_register_all16_operand, create_simple_memory_operand),
888 (create_memory_operand, create_memory_auto_operand): Don't
889 segfault on malloc failure.
890 (z_ext24_decode): Return an int status, negative on fail, zero
891 on success.
892 (x_imm1, imm1_decode, trap_decode, z_opr_decode, z_opr_decode2),
893 (imm1234, reg_s_imm, reg_s_opr, z_imm1234_8base, z_imm1234_0base),
894 (z_tfr, z_reg, reg_xy, lea_reg_xys_opr, lea_reg_xys, rel_15_7),
895 (decode_rel_15_7, cmp_xy, sub_d6_x_y, sub_d6_y_x),
896 (ld_18bit_decode, mul_decode, bm_decode, bm_rel_decode),
897 (mov_imm_opr, ld_18bit_decode, exg_sex_decode),
898 (loop_primitive_decode, shift_decode, psh_pul_decode),
899 (bit_field_decode): Similarly.
900 (z_decode_signed_value, decode_signed_value): Similarly. Add arg
901 to return value, update callers.
902 (x_opr_decode_with_size): Check all reads, returning NULL on fail.
903 Don't segfault on NULL operand.
904 (decode_operation): Return OP_INVALID on first fail.
905 (decode_s12z): Check all reads, returning -1 on fail.
906
340f3ac8
AM
9072020-03-20 Alan Modra <amodra@gmail.com>
908
909 * metag-dis.c (print_insn_metag): Don't ignore status from
910 read_memory_func.
911
fe90ae8a
AM
9122020-03-20 Alan Modra <amodra@gmail.com>
913
914 * nds32-dis.c (print_insn_nds32): Remove unnecessary casts.
915 Initialize parts of buffer not written when handling a possible
916 2-byte insn at end of section. Don't attempt decoding of such
917 an insn by the 4-byte machinery.
918
833d919c
AM
9192020-03-20 Alan Modra <amodra@gmail.com>
920
921 * ppc-dis.c (print_insn_powerpc): Only clear needed bytes of
922 partially filled buffer. Prevent lookup of 4-byte insns when
923 only VLE 2-byte insns are possible due to section size. Print
924 ".word" rather than ".long" for 2-byte leftovers.
925
327ef784
NC
9262020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
927
928 PR 25641
929 * z80-dis.c: Fix disassembling ED+A4/AC/B4/BC opcodes.
930
1673df32
JB
9312020-03-13 Jan Beulich <jbeulich@suse.com>
932
933 * i386-dis.c (X86_64_0D): Rename to ...
934 (X86_64_0E): ... this.
935
384f3689
L
9362020-03-09 H.J. Lu <hongjiu.lu@intel.com>
937
938 * Makefile.am ($(srcdir)/i386-init.h): Also pass -P to $(CPP).
939 * Makefile.in: Regenerated.
940
865e2027
JB
9412020-03-09 Jan Beulich <jbeulich@suse.com>
942
943 * i386-opc.tbl (avx_irel): New. Use is for AVX512 vpcmp*
944 3-operand pseudos.
945 * i386-tbl.h: Re-generate.
946
2f13234b
JB
9472020-03-09 Jan Beulich <jbeulich@suse.com>
948
949 * i386-opc.tbl (xop_elem, xop_irel, xop_sign): New. Use them for XOP vpcom*,
950 vprot*, vpsha*, and vpshl*.
951 * i386-tbl.h: Re-generate.
952
3fabc179
JB
9532020-03-09 Jan Beulich <jbeulich@suse.com>
954
955 * i386-opc.tbl (avx_frel): New. Use it for AVX/AVX512 vcmpps,
956 vcmpss, vcmppd, and vcmpsd 3-operand pseudo-ops.
957 * i386-tbl.h: Re-generate.
958
3677e4c1
JB
9592020-03-09 Jan Beulich <jbeulich@suse.com>
960
961 * i386-gen.c (set_bitfield): Ignore zero-length field names.
962 * i386-opc.tbl (sse_frel): New. Use it for SSE/SSE2 cmpps,
963 cmpss, cmppd, and cmpsd 2-operand pseudo-ops.
964 * i386-tbl.h: Re-generate.
965
4c4898e8
JB
9662020-03-09 Jan Beulich <jbeulich@suse.com>
967
968 * i386-gen.c (struct template_arg, struct template_instance,
969 struct template_param, struct template, templates,
970 parse_template, expand_templates): New.
971 (process_i386_opcodes): Various local variables moved to
972 expand_templates. Call parse_template and expand_templates.
973 * i386-opc.tbl (cc): New. Use it for Jcc, SETcc, and CMOVcc.
974 * i386-tbl.h: Re-generate.
975
bc49bfd8
JB
9762020-03-06 Jan Beulich <jbeulich@suse.com>
977
978 * i386-opc.tbl (vcvtdq2pd, vcvtps2pd, vcvtudq2pd, vcvtps2ph,
979 vcvtps2qq, vcvtps2uqq, vcvttps2qq, vcvttps2uqq): Fold separate
980 register and memory source templates. Replace VexW= by VexW*
981 where applicable.
982 * i386-tbl.h: Re-generate.
983
4873e243
JB
9842020-03-06 Jan Beulich <jbeulich@suse.com>
985
986 * i386-opc.tbl: Drop IgnoreSize from various SIMD insns. Replace
987 VexW= by VexW* and VexVVVV=1 by just VexVVVV where applicable.
988 * i386-tbl.h: Re-generate.
989
672a349b
JB
9902020-03-06 Jan Beulich <jbeulich@suse.com>
991
992 * i386-opc.tbl (fildll, fistpll, fisttpll): Add ATTSyntax.
993 * i386-tbl.h: Re-generate.
994
4ed21b58
JB
9952020-03-06 Jan Beulich <jbeulich@suse.com>
996
997 * i386-opc.tbl (movq): Drop NoRex64 from XMM/XMM SSE2AVX variants.
998 (movmskps, pextrw, pinsrw, pmovmskb, movmskpd, extractps,
999 pextrb, pinsrb, roundsd): Drop NoRex64 and where applicable use
1000 VexW0 on SSE2AVX variants.
1001 (vmovq): Drop NoRex64 from XMM/XMM variants.
1002 (vextractps, vmovmskpd, vmovmskps, vpextrb, vpextrw, vpinsrb,
1003 vpinsrw, vpmovmskb, vroundsd, vpmovmskb): Drop NoRex64 and where
1004 applicable use VexW0.
1005 * i386-tbl.h: Re-generate.
1006
643bb870
JB
10072020-03-06 Jan Beulich <jbeulich@suse.com>
1008
1009 * i386-gen.c (opcode_modifiers): Remove Rex64 field.
1010 * i386-opc.h (Rex64): Delete.
1011 (struct i386_opcode_modifier): Remove rex64 field.
1012 * i386-opc.tbl (crc32): Drop Rex64.
1013 Replace Rex64 with Size64 everywhere else.
1014 * i386-tbl.h: Re-generate.
1015
a23b33b3
JB
10162020-03-06 Jan Beulich <jbeulich@suse.com>
1017
1018 * i386-dis.c (OP_E_memory): Exclude recording of used address
1019 prefix for "bnd" modes only in 64-bit mode. Don't decode 16-bit
1020 addressed memory operands for MPX insns.
1021
a0497384
JB
10222020-03-06 Jan Beulich <jbeulich@suse.com>
1023
1024 * i386-opc.tbl (movmskps, mwait, vmread, vmwrite, invept,
1025 invvpid, invpcid, rdfsbase, rdgsbase, wrfsbase, wrgsbase, adcx,
1026 adox, mwaitx, rdpid, movdiri): Add IgnoreSize.
1027 (ptwrite): Split into non-64-bit and 64-bit forms.
1028 * i386-tbl.h: Re-generate.
1029
b630c145
JB
10302020-03-06 Jan Beulich <jbeulich@suse.com>
1031
1032 * i386-opc.tbl (tpause, umwait): Add IgnoreSize. Add 3-operand
1033 template.
1034 * i386-tbl.h: Re-generate.
1035
a847e322
JB
10362020-03-04 Jan Beulich <jbeulich@suse.com>
1037
1038 * i386-dis.c (PREFIX_0F01_REG_3_RM_1): New.
1039 (prefix_table): Move vmmcall here. Add vmgexit.
1040 (rm_table): Replace vmmcall entry by prefix_table[] escape.
1041 * i386-gen.c (cpu_flag_init): Add CPU_SEV_ES_FLAGS entry.
1042 (cpu_flags): Add CpuSEV_ES entry.
1043 * i386-opc.h (CpuSEV_ES): New.
1044 (union i386_cpu_flags): Add cpusev_es field.
1045 * i386-opc.tbl (vmgexit): New.
1046 * i386-init.h, i386-tbl.h: Re-generate.
1047
3cd7f3e3
L
10482020-03-03 H.J. Lu <hongjiu.lu@intel.com>
1049
1050 * i386-gen.c (opcode_modifiers): Replace IgnoreSize/DefaultSize
1051 with MnemonicSize.
1052 * i386-opc.h (IGNORESIZE): New.
1053 (DEFAULTSIZE): Likewise.
1054 (IgnoreSize): Removed.
1055 (DefaultSize): Likewise.
1056 (MnemonicSize): New.
1057 (i386_opcode_modifier): Replace ignoresize/defaultsize with
1058 mnemonicsize.
1059 * i386-opc.tbl (IgnoreSize): New.
1060 (DefaultSize): Likewise.
1061 * i386-tbl.h: Regenerated.
1062
b8ba1385
SB
10632020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
1064
1065 PR 25627
1066 * z80-dis.c: Fix disassembly of LD IY,(HL) and D (HL),IX
1067 instructions.
1068
10d97a0f
L
10692020-03-03 H.J. Lu <hongjiu.lu@intel.com>
1070
1071 PR gas/25622
1072 * i386-opc.tbl: Add IgnoreSize to cvtsi2sd, cvtsi2ss, vcvtsi2sd,
1073 vcvtsi2ss, vcvtusi2sd and vcvtusi2ss for AT&T syntax.
1074 * i386-tbl.h: Regenerated.
1075
dc1e8a47
AM
10762020-02-26 Alan Modra <amodra@gmail.com>
1077
1078 * aarch64-asm.c: Indent labels correctly.
1079 * aarch64-dis.c: Likewise.
1080 * aarch64-gen.c: Likewise.
1081 * aarch64-opc.c: Likewise.
1082 * alpha-dis.c: Likewise.
1083 * i386-dis.c: Likewise.
1084 * nds32-asm.c: Likewise.
1085 * nfp-dis.c: Likewise.
1086 * visium-dis.c: Likewise.
1087
265b4673
CZ
10882020-02-25 Claudiu Zissulescu <claziss@gmail.com>
1089
1090 * arc-regs.h (int_vector_base): Make it available for all ARC
1091 CPUs.
1092
bd0cf5a6
NC
10932020-02-20 Nelson Chu <nelson.chu@sifive.com>
1094
1095 * riscv-dis.c (print_insn_args): Updated since the DECLARE_CSR is
1096 changed.
1097
fa164239
JW
10982020-02-19 Nelson Chu <nelson.chu@sifive.com>
1099
1100 * riscv-opc.c (riscv_opcodes): Convert add/addi to the compressed
1101 c.mv/c.li if rs1 is zero.
1102
272a84b1
L
11032020-02-17 H.J. Lu <hongjiu.lu@intel.com>
1104
1105 * i386-gen.c (cpu_flag_init): Replace CpuABM with
1106 CpuLZCNT|CpuPOPCNT. Add CpuPOPCNT to CPU_SSE4_2_FLAGS. Add
1107 CPU_POPCNT_FLAGS.
1108 (cpu_flags): Remove CpuABM. Add CpuPOPCNT.
1109 * i386-opc.h (CpuABM): Removed.
1110 (CpuPOPCNT): New.
1111 (i386_cpu_flags): Remove cpuabm. Add cpupopcnt.
1112 * i386-opc.tbl: Replace CpuABM|CpuSSE4_2 with CpuPOPCNT on
1113 popcnt. Remove CpuABM from lzcnt.
1114 * i386-init.h: Regenerated.
1115 * i386-tbl.h: Likewise.
1116
1f730c46
JB
11172020-02-17 Jan Beulich <jbeulich@suse.com>
1118
1119 * i386-opc.tbl (vcvtsi2sd, vcvtsi2ss, vcvtusi2sd, vcvtusi2ss):
1120 Fold CpuNo64 and Cpu64 templates. Use VexLIG/EVexLIG and VexW0/
1121 VexW1 instead of open-coding them.
1122 * i386-tbl.h: Re-generate.
1123
c8f8eebc
JB
11242020-02-17 Jan Beulich <jbeulich@suse.com>
1125
1126 * i386-opc.tbl (AddrPrefixOpReg): Define.
1127 (monitor, invlpga, vmload, vmrun, vmsave, clzero, monitorx,
1128 umonitor, movdir64b, enqcmd, enqcmds): Fold Cpu64 and CpuNo64
1129 templates. Drop NoRex64.
1130 * i386-tbl.h: Re-generate.
1131
b9915cbc
JB
11322020-02-17 Jan Beulich <jbeulich@suse.com>
1133
1134 PR gas/6518
1135 * i386-opc.tbl (vcvtpd2dq, vcvtpd2ps, vcvttpd2dq, vcvtpd2udq,
1136 vcvttpd2udq, vcvtqq2ps, vcvtuqq2ps): Split XMM/YMM source forms
1137 into Intel syntax instance (with Unpsecified) and AT&T one
1138 (without).
1139 (vcvtneps2bf16): Likewise, along with folding the two so far
1140 separate ones.
1141 * i386-tbl.h: Re-generate.
1142
ce504911
L
11432020-02-16 H.J. Lu <hongjiu.lu@intel.com>
1144
1145 * i386-gen.c (cpu_flag_init): Remove CPU_ANY_SSE3_FLAGS from
1146 CPU_ANY_SSE4A_FLAGS.
1147
dabec65d
AM
11482020-02-17 Alan Modra <amodra@gmail.com>
1149
1150 * i386-gen.c (cpu_flag_init): Correct last change.
1151
af5c13b0
L
11522020-02-16 H.J. Lu <hongjiu.lu@intel.com>
1153
1154 * i386-gen.c (cpu_flag_init): Add CPU_ANY_SSE4A_FLAGS. Remove
1155 CPU_ANY_SSE4_FLAGS.
1156
6867aac0
L
11572020-02-14 H.J. Lu <hongjiu.lu@intel.com>
1158
1159 * i386-opc.tbl (movsx): Remove Intel syntax comments.
1160 (movzx): Likewise.
1161
65fca059
JB
11622020-02-14 Jan Beulich <jbeulich@suse.com>
1163
1164 PR gas/25438
1165 * i386-opc.tbl (movsx): Fold patterns. Also allow Reg32 as
1166 destination for Cpu64-only variant.
1167 (movzx): Fold patterns.
1168 * i386-tbl.h: Re-generate.
1169
7deea9aa
JB
11702020-02-13 Jan Beulich <jbeulich@suse.com>
1171
1172 * i386-gen.c (cpu_flag_init): Move CpuSSE4a from
1173 CPU_ANY_SSE_FLAGS entry to CPU_ANY_SSE3_FLAGS one. Add
1174 CPU_ANY_SSE4_FLAGS entry.
1175 * i386-init.h: Re-generate.
1176
6c0946d0
JB
11772020-02-12 Jan Beulich <jbeulich@suse.com>
1178
1179 * i386-opc.tbl (vfpclasspd, vfpclassps): Add Intel sytax form
1180 with Unspecified, making the present one AT&T syntax only.
1181 * i386-tbl.h: Re-generate.
1182
ddb56fe6
JB
11832020-02-12 Jan Beulich <jbeulich@suse.com>
1184
1185 * i386-opc.tbl (jmp): Fold CpuNo64 and Amd64 direct variants.
1186 * i386-tbl.h: Re-generate.
1187
5990e377
JB
11882020-02-12 Jan Beulich <jbeulich@suse.com>
1189
1190 PR gas/24546
1191 * i386-dis.c (putop): Handle REX.W in '^' case for Intel64 mode.
1192 * i386-opc.tbl (lfs, lgs, lss, lcall, ljmp): Split into
1193 Amd64 and Intel64 templates.
1194 (call, jmp): Likewise for far indirect variants. Dro
1195 Unspecified.
1196 * i386-tbl.h: Re-generate.
1197
50128d0c
JB
11982020-02-11 Jan Beulich <jbeulich@suse.com>
1199
1200 * i386-gen.c (opcode_modifiers): Remove ShortForm entry.
1201 * i386-opc.h (ShortForm): Delete.
1202 (struct i386_opcode_modifier): Remove shortform field.
1203 * i386-opc.tbl (mov, movabs, push, pop, xchg, inc, dec, fld,
1204 fst, fstp, fxch, fcom, fcomp, fucom, fucomp, fadd, faddp, fsub,
1205 fsubp, fsubr, fsubrp, fmul, fmulp, fdiv, fdivp, fdivr, fdivrp,
1206 ffreep, bswap, fcmov*, fcomi, fcomip, fucomi, fucomip, movq):
1207 Drop ShortForm.
1208 * i386-tbl.h: Re-generate.
1209
1e05b5c4
JB
12102020-02-11 Jan Beulich <jbeulich@suse.com>
1211
1212 * i386-opc.tbl (fcomi, fucomi, fcomip, fcompi, fucomip,
1213 fucompi): Drop ShortForm from operand-less templates.
1214 * i386-tbl.h: Re-generate.
1215
2f5dd314
AM
12162020-02-11 Alan Modra <amodra@gmail.com>
1217
1218 * cgen-ibld.in (extract_normal): Set *valuep on all return paths.
1219 * bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
1220 * ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
1221 * m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
1222 * xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
1223
5aae9ae9
MM
12242020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
1225
1226 * arm-dis.c (print_insn_cde): Define 'V' parse character.
1227 (cde_opcodes): Add VCX* instructions.
1228
4934a27c
MM
12292020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
1230 Matthew Malcomson <matthew.malcomson@arm.com>
1231
1232 * arm-dis.c (struct cdeopcode32): New.
1233 (CDE_OPCODE): New macro.
1234 (cde_opcodes): New disassembly table.
1235 (regnames): New option to table.
1236 (cde_coprocs): New global variable.
1237 (print_insn_cde): New
1238 (print_insn_thumb32): Use print_insn_cde.
1239 (parse_arm_disassembler_options): Parse coprocN args.
1240
4b5aaf5f
L
12412020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 PR gas/25516
1244 * i386-gen.c (opcode_modifiers): Replace AMD64 and Intel64
1245 with ISA64.
1246 * i386-opc.h (AMD64): Removed.
1247 (Intel64): Likewose.
1248 (AMD64): New.
1249 (INTEL64): Likewise.
1250 (INTEL64ONLY): Likewise.
1251 (i386_opcode_modifier): Replace amd64 and intel64 with isa64.
1252 * i386-opc.tbl (Amd64): New.
1253 (Intel64): Likewise.
1254 (Intel64Only): Likewise.
1255 Replace AMD64 with Amd64. Update sysenter/sysenter with
1256 Cpu64 and Intel64Only. Remove AMD64 from sysenter/sysenter.
1257 * i386-tbl.h: Regenerated.
1258
9fc0b501
SB
12592020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
1260
1261 PR 25469
1262 * z80-dis.c: Add support for GBZ80 opcodes.
1263
c5d7be0c
AM
12642020-02-04 Alan Modra <amodra@gmail.com>
1265
1266 * d30v-dis.c (print_insn): Make "val" and "opnum" unsigned.
1267
44e4546f
AM
12682020-02-03 Alan Modra <amodra@gmail.com>
1269
1270 * m32c-ibld.c: Regenerate.
1271
b2b1453a
AM
12722020-02-01 Alan Modra <amodra@gmail.com>
1273
1274 * frv-ibld.c: Regenerate.
1275
4102be5c
JB
12762020-01-31 Jan Beulich <jbeulich@suse.com>
1277
1278 * i386-dis.c (EXxmm_mdq, xmm_mdq_mode): Delete.
1279 (intel_operand_size, OP_EX): Drop xmm_mdq_mode case label.
1280 (OP_E_memory): Replace xmm_mdq_mode case label by
1281 vex_scalar_w_dq_mode one.
1282 * i386-dis-evex-prefix.h: Replace EXxmm_mdq by EXVexWdqScalar.
1283
825bd36c
JB
12842020-01-31 Jan Beulich <jbeulich@suse.com>
1285
1286 * i386-dis.c (EXVexWdq, vex_w_dq_mode): Delete.
1287 (vex_vsib_d_w_dq_mode, vex_vsib_q_w_dq_mode,
1288 vex_scalar_w_dq_mode): Don't refer to vex_w_dq_mode in comments.
1289 (intel_operand_size): Drop vex_w_dq_mode case label.
1290
c3036ed0
RS
12912020-01-31 Richard Sandiford <richard.sandiford@arm.com>
1292
1293 * aarch64-tbl.h (aarch64_opcode): Set C_MAX_ELEM for SVE bfcvt.
1294 Remove C_SCAN_MOVPRFX for SVE bfcvtnt.
1295
0c115f84
AM
12962020-01-30 Alan Modra <amodra@gmail.com>
1297
1298 * m32c-ibld.c: Regenerate.
1299
bd434cc4
JM
13002020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
1301
1302 * bpf-opc.c: Regenerate.
1303
aeab2b26
JB
13042020-01-30 Jan Beulich <jbeulich@suse.com>
1305
1306 * i386-dis.c (X86_64_C2, X86_64_C3): New enumerators.
1307 (dis386): Use them to replace C2/C3 table entries.
1308 (x86_64_table): Add X86_64_C2 and X86_64_C3 entries.
1309 * i386-opc.tbl (ret): Split Cpu64 entries into AMD64 and Intel64
1310 ones. Use Size64 instead of DefaultSize on Intel64 ones.
1311 * i386-tbl.h: Re-generate.
1312
62b3f548
JB
13132020-01-30 Jan Beulich <jbeulich@suse.com>
1314
1315 * i386-opc.tbl (call): Drop DefaultSize from Intel64 JumpDword
1316 forms.
1317 (fldenv, fnstenv, fstenv, fnsave, fsave, frstor): Drop
1318 DefaultSize.
1319 * i386-tbl.h: Re-generate.
1320
1bd8ae10
AM
13212020-01-30 Alan Modra <amodra@gmail.com>
1322
1323 * tic4x-dis.c (tic4x_dp): Make unsigned.
1324
bc31405e
L
13252020-01-27 H.J. Lu <hongjiu.lu@intel.com>
1326 Jan Beulich <jbeulich@suse.com>
1327
1328 PR binutils/25445
1329 * i386-dis.c (MOVSXD_Fixup): New function.
1330 (movsxd_mode): New enum.
1331 (x86_64_table): Use MOVSXD_Fixup and movsxd_mode on movsxd.
1332 (intel_operand_size): Handle movsxd_mode.
1333 (OP_E_register): Likewise.
1334 (OP_G): Likewise.
1335 * i386-opc.tbl: Remove Rex64 and allow 32-bit destination
1336 register on movsxd. Add movsxd with 16-bit destination register
1337 for AMD64 and Intel64 ISAs.
1338 * i386-tbl.h: Regenerated.
1339
7568c93b
TC
13402020-01-27 Tamar Christina <tamar.christina@arm.com>
1341
1342 PR 25403
1343 * aarch64-tbl.h (struct aarch64_opcode): Re-order cfinv.
1344 * aarch64-asm-2.c: Regenerate
1345 * aarch64-dis-2.c: Likewise.
1346 * aarch64-opc-2.c: Likewise.
1347
c006a730
JB
13482020-01-21 Jan Beulich <jbeulich@suse.com>
1349
1350 * i386-opc.tbl (sysret): Drop DefaultSize.
1351 * i386-tbl.h: Re-generate.
1352
c906a69a
JB
13532020-01-21 Jan Beulich <jbeulich@suse.com>
1354
1355 * i386-opc.tbl (vcvtneps2bf16x): Add Broadcast, Xmmword, and
1356 Dword.
1357 (vcvtneps2bf16y): Add Broadcast, Ymmword, and Dword.
1358 * i386-tbl.h: Re-generate.
1359
26916852
NC
13602020-01-20 Nick Clifton <nickc@redhat.com>
1361
1362 * po/de.po: Updated German translation.
1363 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1364 * po/uk.po: Updated Ukranian translation.
1365
4d6cbb64
AM
13662020-01-20 Alan Modra <amodra@gmail.com>
1367
1368 * hppa-dis.c (fput_const): Remove useless cast.
1369
2bddb71a
AM
13702020-01-20 Alan Modra <amodra@gmail.com>
1371
1372 * arm-dis.c (print_insn_arm): Wrap 'T' value.
1373
1b1bb2c6
NC
13742020-01-18 Nick Clifton <nickc@redhat.com>
1375
1376 * configure: Regenerate.
1377 * po/opcodes.pot: Regenerate.
1378
ae774686
NC
13792020-01-18 Nick Clifton <nickc@redhat.com>
1380
1381 Binutils 2.34 branch created.
1382
07f1f3aa
CB
13832020-01-17 Christian Biesinger <cbiesinger@google.com>
1384
1385 * opintl.h: Fix spelling error (seperate).
1386
42e04b36
L
13872020-01-17 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * i386-opc.tbl: Add {vex} pseudo prefix.
1390 * i386-tbl.h: Regenerated.
1391
2da2eaf4
AV
13922020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1393
1394 PR 25376
1395 * opcodes/arm-dis.c (coprocessor_opcodes): Use CORE_HIGH for MVE bits.
1396 (neon_opcodes): Likewise.
1397 (select_arm_features): Make sure we enable MVE bits when selecting
1398 armv8.1-m.main. Make sure we do not enable MVE bits when not selecting
1399 any architecture.
1400
d0849eed
JB
14012020-01-16 Jan Beulich <jbeulich@suse.com>
1402
1403 * i386-opc.tbl: Drop stale comment from XOP section.
1404
9cf70a44
JB
14052020-01-16 Jan Beulich <jbeulich@suse.com>
1406
1407 * i386-opc.tbl (movq): Add VexWIG to SSE2AVX XMM->XMM forms.
1408 (extractps): Add VexWIG to SSE2AVX forms.
1409 * i386-tbl.h: Re-generate.
1410
4814632e
JB
14112020-01-16 Jan Beulich <jbeulich@suse.com>
1412
1413 * i386-opc.tbl (pextrq, pinsrq): Drop IgnoreSize and Qword. Drop
1414 Size64 from and use VexW1 on SSE2AVX forms.
1415 (vpextrq, vpinsrq): Drop IgnoreSize and Qword. Drop Size64 from
1416 VEX-encoded forms. Add Cpu64 to EVEX-encoded forms. Use VexW1.
1417 * i386-tbl.h: Re-generate.
1418
aad09917
AM
14192020-01-15 Alan Modra <amodra@gmail.com>
1420
1421 * tic4x-dis.c (tic4x_version): Make unsigned long.
1422 (optab, optab_special, registernames): New file scope vars.
1423 (tic4x_print_register): Set up registernames rather than
1424 malloc'd registertable.
1425 (tic4x_disassemble): Delete optable and optable_special. Use
1426 optab and optab_special instead. Throw away old optab,
1427 optab_special and registernames when info->mach changes.
1428
7a6bf3be
SB
14292020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
1430
1431 PR 25377
1432 * z80-dis.c (suffix): Use .db instruction to generate double
1433 prefix.
1434
ca1eaac0
AM
14352020-01-14 Alan Modra <amodra@gmail.com>
1436
1437 * z8k-dis.c (unpack_instr): Formatting. Cast unsigned short
1438 values to unsigned before shifting.
1439
1d67fe3b
TT
14402020-01-13 Thomas Troeger <tstroege@gmx.de>
1441
1442 * arm-dis.c (print_insn_arm): Fill in insn info fields for control
1443 flow instructions.
1444 (print_insn_thumb16, print_insn_thumb32): Likewise.
1445 (print_insn): Initialize the insn info.
1446 * i386-dis.c (print_insn): Initialize the insn info fields, and
1447 detect jumps.
1448
5e4f7e05
CZ
14492012-01-13 Claudiu Zissulescu <claziss@gmail.com>
1450
1451 * arc-opc.c (C_NE): Make it required.
1452
b9fe6b8a
CZ
14532012-01-13 Claudiu Zissulescu <claziss@gmail.com>
1454
1455 * opcode/arc-dis.c (regnames): Correct ACCL/ACCH naming, fix typo
1456 reserved register name.
1457
90dee485
AM
14582020-01-13 Alan Modra <amodra@gmail.com>
1459
1460 * ns32k-dis.c (Is_gen): Use strchr, add 'f'.
1461 (print_insn_ns32k): Adjust ioffset for 'f' index_offset.
1462
febda64f
AM
14632020-01-13 Alan Modra <amodra@gmail.com>
1464
1465 * wasm32-dis.c (print_insn_wasm32): Localise variables. Store
1466 result of wasm_read_leb128 in a uint64_t and check that bits
1467 are not lost when copying to other locals. Use uint32_t for
1468 most locals. Use PRId64 when printing int64_t.
1469
df08b588
AM
14702020-01-13 Alan Modra <amodra@gmail.com>
1471
1472 * score-dis.c: Formatting.
1473 * score7-dis.c: Formatting.
1474
b2c759ce
AM
14752020-01-13 Alan Modra <amodra@gmail.com>
1476
1477 * score-dis.c (print_insn_score48): Use unsigned variables for
1478 unsigned values. Don't left shift negative values.
1479 (print_insn_score32): Likewise.
1480 * score7-dis.c (print_insn_score32, print_insn_score16): Likewise.
1481
5496abe1
AM
14822020-01-13 Alan Modra <amodra@gmail.com>
1483
1484 * tic4x-dis.c (tic4x_print_register): Remove dead code.
1485
202e762b
AM
14862020-01-13 Alan Modra <amodra@gmail.com>
1487
1488 * fr30-ibld.c: Regenerate.
1489
7ef412cf
AM
14902020-01-13 Alan Modra <amodra@gmail.com>
1491
1492 * xgate-dis.c (print_insn): Don't left shift signed value.
1493 (ripBits): Formatting, use 1u.
1494
7f578b95
AM
14952020-01-10 Alan Modra <amodra@gmail.com>
1496
1497 * tilepro-opc.c (parse_insn_tilepro): Make opval unsigned.
1498 * tilegx-opc.c (parse_insn_tilegx): Likewise. Delete raw_opval.
1499
441af85b
AM
15002020-01-10 Alan Modra <amodra@gmail.com>
1501
1502 * m10300-dis.c (disassemble): Move extraction of DREG, AREG, RREG,
1503 and XRREG value earlier to avoid a shift with negative exponent.
1504 * m10200-dis.c (disassemble): Similarly.
1505
bce58db4
NC
15062020-01-09 Nick Clifton <nickc@redhat.com>
1507
1508 PR 25224
1509 * z80-dis.c (ld_ii_ii): Use correct cast.
1510
40c75bc8
SB
15112020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
1512
1513 PR 25224
1514 * z80-dis.c (ld_ii_ii): Use character constant when checking
1515 opcode byte value.
1516
d835a58b
JB
15172020-01-09 Jan Beulich <jbeulich@suse.com>
1518
1519 * i386-dis.c (SEP_Fixup): New.
1520 (SEP): Define.
1521 (dis386_twobyte): Use it for sysenter/sysexit.
1522 (enum x86_64_isa): Change amd64 enumerator to value 1.
1523 (OP_J): Compare isa64 against intel64 instead of amd64.
1524 * i386-opc.tbl (sysenter, sysexit): Split into AMD64 and Intel64
1525 forms.
1526 * i386-tbl.h: Re-generate.
1527
030a2e78
AM
15282020-01-08 Alan Modra <amodra@gmail.com>
1529
1530 * z8k-dis.c: Include libiberty.h
1531 (instr_data_s): Make max_fetched unsigned.
1532 (z8k_lookup_instr): Make nibl_index and tabl_index unsigned.
1533 Don't exceed byte_info bounds.
1534 (output_instr): Make num_bytes unsigned.
1535 (unpack_instr): Likewise for nibl_count and loop.
1536 * z8kgen.c (gas <opcode_entry_type>): Make noperands, length and
1537 idx unsigned.
1538 * z8k-opc.h: Regenerate.
1539
bb82aefe
SV
15402020-01-07 Shahab Vahedi <shahab@synopsys.com>
1541
1542 * arc-tbl.h (llock): Use 'LLOCK' as class.
1543 (llockd): Likewise.
1544 (scond): Use 'SCOND' as class.
1545 (scondd): Likewise.
1546 (llockd): Set data_size_mode to 'C_ZZ_D' which is 64-bit.
1547 (scondd): Likewise.
1548
cc6aa1a6
AM
15492020-01-06 Alan Modra <amodra@gmail.com>
1550
1551 * m32c-ibld.c: Regenerate.
1552
660e62b1
AM
15532020-01-06 Alan Modra <amodra@gmail.com>
1554
1555 PR 25344
1556 * z80-dis.c (suffix): Don't use a local struct buffer copy.
1557 Peek at next byte to prevent recursion on repeated prefix bytes.
1558 Ensure uninitialised "mybuf" is not accessed.
1559 (print_insn_z80): Don't zero n_fetch and n_used here,..
1560 (print_insn_z80_buf): ..do it here instead.
1561
c9ae58fe
AM
15622020-01-04 Alan Modra <amodra@gmail.com>
1563
1564 * m32r-ibld.c: Regenerate.
1565
5f57d4ec
AM
15662020-01-04 Alan Modra <amodra@gmail.com>
1567
1568 * cr16-dis.c (cr16_match_opcode): Avoid shift left of signed value.
1569
2c5c1196
AM
15702020-01-04 Alan Modra <amodra@gmail.com>
1571
1572 * crx-dis.c (match_opcode): Avoid shift left of signed value.
1573
2e98c6c5
AM
15742020-01-04 Alan Modra <amodra@gmail.com>
1575
1576 * d30v-dis.c (print_insn): Avoid signed overflow in left shift.
1577
567dfba2
JB
15782020-01-03 Jan Beulich <jbeulich@suse.com>
1579
5437a02a
JB
1580 * aarch64-tbl.h (aarch64_opcode_table): Use
1581 SVE_ADDR_RX_LSL{1,2,3} for LD1RO{H,W,D}.
1582
15832020-01-03 Jan Beulich <jbeulich@suse.com>
1584
1585 * aarch64-tbl.h (aarch64_opcode_table): Correct SIMD
567dfba2
JB
1586 forms of SUDOT and USDOT.
1587
8c45011a
JB
15882020-01-03 Jan Beulich <jbeulich@suse.com>
1589
5437a02a 1590 * aarch64-tbl.h (aarch64_opcode_table): Drop 'i' from
8c45011a
JB
1591 uzip{1,2}.
1592 * opcodes/aarch64-dis-2.c: Re-generate.
1593
f4950f76
JB
15942020-01-03 Jan Beulich <jbeulich@suse.com>
1595
5437a02a 1596 * aarch64-tbl.h (aarch64_opcode_table): Correct 64-bit
f4950f76
JB
1597 FMMLA encoding.
1598 * opcodes/aarch64-dis-2.c: Re-generate.
1599
6655dba2
SB
16002020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1601
1602 * z80-dis.c: Add support for eZ80 and Z80 instructions.
1603
b14ce8bf
AM
16042020-01-01 Alan Modra <amodra@gmail.com>
1605
1606 Update year range in copyright notice of all files.
1607
0b114740 1608For older changes see ChangeLog-2019
3499769a 1609\f
0b114740 1610Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1611
1612Copying and distribution of this file, with or without modification,
1613are permitted in any medium without royalty provided the copyright
1614notice and this notice are preserved.
1615
1616Local Variables:
1617mode: change-log
1618left-margin: 8
1619fill-column: 74
1620version-control: never
1621End: