x86: replace adhoc ambiguous operand checking for CRC32
[binutils-gdb.git] / gas / ChangeLog
1 2020-01-21 Jan Beulich <jbeulich@suse.com>
2
3 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
4 generic code path. Deal with No_lSuf being set in a template.
5 * testsuite/gas/i386/inval-crc32.l,
6 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
7 instead of error(s) when operand size is ambiguous.
8 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
9 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
10 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
11 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
12 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
13 Adjust expectations.
14
15 2020-01-21 Jan Beulich <jbeulich@suse.com>
16
17 * config/tc-i386.c (process_suffix): Drop SYSRET special case
18 and an intel_syntax check. Re-write lack-of-suffix processing
19 logic.
20 * doc/c-i386.texi: Document operand size defaults for suffix-
21 less AT&T syntax insns.
22 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
23 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
24 testsuite/gas/i386/x86-64-avx-scalar.s,
25 testsuite/gas/i386/x86-64-avx.s,
26 testsuite/gas/i386/x86-64-bundle.s,
27 testsuite/gas/i386/x86-64-intel64.s,
28 testsuite/gas/i386/x86-64-lock-1.s,
29 testsuite/gas/i386/x86-64-opcode.s,
30 testsuite/gas/i386/x86-64-sse2avx.s,
31 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
32 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
33 testsuite/gas/i386/x86-64-nops.s,
34 testsuite/gas/i386/x86-64-ptwrite.s,
35 testsuite/gas/i386/x86-64-simd.s,
36 testsuite/gas/i386/x86-64-sse-noavx.s,
37 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
38 insns.
39 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
40 testsuite/gas/i386/noreg64.s: Add further tests.
41 * testsuite/gas/i386/ilp32/x86-64-nops.d,
42 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
43 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
44 testsuite/gas/i386/sse-noavx.d,
45 testsuite/gas/i386/x86-64-intel64.d,
46 testsuite/gas/i386/x86-64-nops.d,
47 testsuite/gas/i386/x86-64-opcode.d,
48 testsuite/gas/i386/x86-64-ptwrite-intel.d,
49 testsuite/gas/i386/x86-64-ptwrite.d,
50 testsuite/gas/i386/x86-64-simd-intel.d,
51 testsuite/gas/i386/x86-64-simd-suffix.d,
52 testsuite/gas/i386/x86-64-simd.d,
53 testsuite/gas/i386/x86-64-sse-noavx.d
54 testsuite/gas/i386/x86-64-suffix.d,
55 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
56 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
57 testsuite/gas/i386/noreg64.l: New.
58 * testsuite/gas/i386/i386.exp: Run new tests.
59
60 2020-01-21 Jan Beulich <jbeulich@suse.com>
61
62 * testsuite/gas/i386/avx512_bf16_vl.s,
63 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
64 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
65 broadcast forms of VCVTNEPS2BF16.
66 * testsuite/gas/i386/avx512_bf16_vl.d,
67 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
68
69 2020-01-20 Nick Clifton <nickc@redhat.com>
70
71 * po/uk.po: Updated Ukranian translation.
72
73 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
74
75 PR ld/25416
76 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
77 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
78 x32 object.
79 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
80 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
81 R_X86_64_GOTPC32_TLSDESC relocation.
82
83 2020-01-18 Nick Clifton <nickc@redhat.com>
84
85 * configure: Regenerate.
86 * po/gas.pot: Regenerate.
87
88 2020-01-18 Nick Clifton <nickc@redhat.com>
89
90 Binutils 2.34 branch created.
91
92 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
93
94 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
95 with vex_encoding_vex.
96 (parse_insn): Likewise.
97 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
98 and {vex3} documentation.
99 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
100 {vex}.
101 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
102
103 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
104
105 PR 25376
106 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
107 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
108 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
109 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
110 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
111 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
112
113 2020-01-16 Jan Beulich <jbeulich@suse.com>
114
115 * config/tc-i386.c (match_template): Drop found_cpu_match local
116 variable.
117
118 2020-01-16 Jan Beulich <jbeulich@suse.com>
119
120 * testsuite/gas/i386/avx512dq-inval.l,
121 testsuite/gas/i386/avx512dq-inval.s: New.
122 * testsuite/gas/i386/i386.exp: Run new test.
123
124 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
125
126 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
127 relocations when the target is 430X, except when extracting part of an
128 expression.
129 (msp430_srcoperand): Adjust comment.
130 Initialize the expp member of the msp430_operand_s struct as
131 appropriate.
132 (msp430_dstoperand): Likewise.
133 * testsuite/gas/msp430/msp430.exp: Run new test.
134 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
135 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
136
137 2020-01-15 Alan Modra <amodra@gmail.com>
138
139 * configure.tgt: Add sparc-*-freebsd case.
140
141 2020-01-14 Lili Cui <lili.cui@intel.com>
142
143 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
144 * testsuite/gas/i386/align-branch-1b.d: Likewise.
145 * testsuite/gas/i386/align-branch-1c.d: Likewise.
146 * testsuite/gas/i386/align-branch-1d.d: Likewise.
147 * testsuite/gas/i386/align-branch-1e.d: Likewise.
148 * testsuite/gas/i386/align-branch-1f.d: Likewise.
149 * testsuite/gas/i386/align-branch-1g.d: Likewise.
150 * testsuite/gas/i386/align-branch-1h.d: Likewise.
151 * testsuite/gas/i386/align-branch-1i.d: Likewise.
152 * testsuite/gas/i386/align-branch-5.d: Likewise.
153 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
154 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
155 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
156 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
157 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
158 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
159 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
160 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
161 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
162 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
163 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
164 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
165
166 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
167
168 PR 25377
169 * config/tc-z80.c: Add support for half precision, single
170 precision and double precision floating point values.
171 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
172 * doc/as.texi: Add new z80 command line options.
173 * doc/c-z80.texi: Document new z80 command line options.
174 * testsuite/gas/z80/ez80_pref_dis.s: New test.
175 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
176 * testsuite/gas/z80/z80.exp: Run the new test.
177 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
178 * testsuite/gas/z80/fp_zeda32.d: Likewise.
179 * testsuite/gas/z80/strings.d: Update expected output.
180
181 2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
182
183 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
184 dependency.
185
186 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
187
188 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
189 the CPU.
190 * config/tc-arc.h: Add header if/defs.
191 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
192
193 2020-01-13 Alan Modra <amodra@gmail.com>
194
195 * testsuite/gas/wasm32/allinsn.d: Update expected output.
196
197 2020-01-13 Alan Modra <amodra@gmail.com>
198
199 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
200 insertion.
201
202 2020-01-10 Alan Modra <amodra@gmail.com>
203
204 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
205 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
206
207 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
208
209 PR 25224
210 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
211 opcode byte values.
212 (emit_ld_r_r): Likewise.
213 (emit_ld_rr_m): Likewise.
214 (emit_ld_rr_nn): Likewise.
215
216 2020-01-09 Jan Beulich <jbeulich@suse.com>
217
218 * config/tc-i386.c (optimize_encoding): Add
219 is_any_vex_encoding() invocations. Drop respective
220 i.tm.extension_opcode == None checks.
221
222 2020-01-09 Jan Beulich <jbeulich@suse.com>
223
224 * config/tc-i386.c (md_assemble): Check RegRex is clear during
225 REX transformations. Correct comment indentation.
226
227 2020-01-09 Jan Beulich <jbeulich@suse.com>
228
229 * config/tc-i386.c (optimize_encoding): Generalize register
230 transformation for TEST optimization.
231
232 2020-01-09 Jan Beulich <jbeulich@suse.com>
233
234 * testsuite/gas/i386/x86-64-sysenter-amd.s,
235 testsuite/gas/i386/x86-64-sysenter-amd.d,
236 testsuite/gas/i386/x86-64-sysenter-amd.l,
237 testsuite/gas/i386/x86-64-sysenter-intel.d,
238 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
239 * testsuite/gas/i386/i386.exp: Run new tests.
240
241 2020-01-08 Nick Clifton <nickc@redhat.com>
242
243 PR 25284
244 * doc/as.texi (Align): Document the fact that all arguments can be
245 omitted.
246 (Balign): Likewise.
247 (P2align): Likewise.
248
249 2020-01-08 Nick Clifton <nickc@redhat.com>
250
251 PR 14891
252 * config/obj-elf.c (obj_elf_section): Fail if the section name is
253 already defined as a different symbol type.
254 * testsuite/gas/elf/pr14891.s: New test source file.
255 * testsuite/gas/elf/pr14891.d: New test driver.
256 * testsuite/gas/elf/pr14891.s: New test expected error output.
257 * testsuite/gas/elf/elf.exp: Run the new test.
258
259 2020-01-08 Alan Modra <amodra@gmail.com>
260
261 * config/tc-z8k.c (md_begin): Make idx unsigned.
262 (get_specific): Likewise for this_index.
263
264 2020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
265
266 * onfig/tc-arc.c (parse_reloc_symbol): New function.
267 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
268 (md_operand): Set X_md to absent.
269 (arc_parse_name): Check for X_md.
270
271 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
272
273 PR 25311
274 * as.h (TC_STRING_ESCAPES): Provide a default definition.
275 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
276 NO_STRING_ESCAPES.
277 * read.c (next_char_of_string): Likewise.
278 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
279 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
280
281 2020-01-03 Nick Clifton <nickc@redhat.com>
282
283 * po/sv.po: Updated Swedish translation.
284
285 2020-01-03 Jan Beulich <jbeulich@suse.com>
286
287 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
288 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
289
290 2020-01-03 Jan Beulich <jbeulich@suse.com>
291
292 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
293 by-element usdot. Add 64-bit form tests for by-element sudot.
294 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
295
296 2020-01-03 Jan Beulich <jbeulich@suse.com>
297
298 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
299 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
300
301 2020-01-03 Jan Beulich <jbeulich@suse.com>
302
303 * testsuite/gas/aarch64/f64mm.d,
304 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
305
306 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
307
308 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
309 support for assembler code generated by SDCC. Add new relocation
310 types. Add z80-elf target support.
311 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
312 labels. Local labels starts from ".L".
313 * NEWS: Mention the new support.
314 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
315 * testsuite/gas/all/fwdexp.s: Likewise.
316 * testsuite/gas/all/cond.l: Likewise.
317 * testsuite/gas/all/cond.s: Likewise.
318 * testsuite/gas/all/fwdexp.d: Likewise.
319 * testsuite/gas/all/fwdexp.s: Likewise.
320 * testsuite/gas/elf/section2.e-mips: Likewise.
321 * testsuite/gas/elf/section2.l: Likewise.
322 * testsuite/gas/elf/section2.s: Likewise.
323 * testsuite/gas/macros/app1.d: Likewise.
324 * testsuite/gas/macros/app1.s: Likewise.
325 * testsuite/gas/macros/app2.d: Likewise.
326 * testsuite/gas/macros/app2.s: Likewise.
327 * testsuite/gas/macros/app3.d: Likewise.
328 * testsuite/gas/macros/app3.s: Likewise.
329 * testsuite/gas/macros/app4.d: Likewise.
330 * testsuite/gas/macros/app4.s: Likewise.
331 * testsuite/gas/macros/app4b.s: Likewise.
332 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
333 * testsuite/gas/z80/z80.exp: Add new tests
334 * testsuite/gas/z80/dollar.d: New file.
335 * testsuite/gas/z80/dollar.s: New file.
336 * testsuite/gas/z80/ez80_adl_all.d: New file.
337 * testsuite/gas/z80/ez80_adl_all.s: New file.
338 * testsuite/gas/z80/ez80_adl_suf.d: New file.
339 * testsuite/gas/z80/ez80_isuf.s: New file.
340 * testsuite/gas/z80/ez80_z80_all.d: New file.
341 * testsuite/gas/z80/ez80_z80_all.s: New file.
342 * testsuite/gas/z80/ez80_z80_suf.d: New file.
343 * testsuite/gas/z80/r800_extra.d: New file.
344 * testsuite/gas/z80/r800_extra.s: New file.
345 * testsuite/gas/z80/r800_ii8.d: New file.
346 * testsuite/gas/z80/r800_z80_doc.d: New file.
347 * testsuite/gas/z80/z180.d: New file.
348 * testsuite/gas/z80/z180.s: New file.
349 * testsuite/gas/z80/z180_z80_doc.d: New file.
350 * testsuite/gas/z80/z80_doc.d: New file.
351 * testsuite/gas/z80/z80_doc.s: New file.
352 * testsuite/gas/z80/z80_ii8.d: New file.
353 * testsuite/gas/z80/z80_ii8.s: New file.
354 * testsuite/gas/z80/z80_in_f_c.d: New file.
355 * testsuite/gas/z80/z80_in_f_c.s: New file.
356 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
357 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
358 * testsuite/gas/z80/z80_out_c_0.d: New file.
359 * testsuite/gas/z80/z80_out_c_0.s: New file.
360 * testsuite/gas/z80/z80_reloc.d: New file.
361 * testsuite/gas/z80/z80_reloc.s: New file.
362 * testsuite/gas/z80/z80_sli.d: New file.
363 * testsuite/gas/z80/z80_sli.s: New file.
364
365 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
366
367 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
368 REGLIST_RN.
369
370 2020-01-01 Alan Modra <amodra@gmail.com>
371
372 Update year range in copyright notice of all files.
373
374 For older changes see ChangeLog-2019
375 \f
376 Copyright (C) 2020 Free Software Foundation, Inc.
377
378 Copying and distribution of this file, with or without modification,
379 are permitted in any medium without royalty provided the copyright
380 notice and this notice are preserved.
381
382 Local Variables:
383 mode: change-log
384 left-margin: 8
385 fill-column: 74
386 version-control: never
387 End: