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