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