Replace deprecated tcl case statements with switch statements
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
e3696f67
AM
12020-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
7568c93b
TC
92020-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
403d1bd9
JW
152020-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
be4c5e58
L
262020-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
9e7028aa
AM
382020-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
e3ed17f3
JB
432020-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
1a035124
JB
502020-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
c006a730
JB
642020-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
c906a69a
JB
1092020-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
26916852
NC
1182020-01-20 Nick Clifton <nickc@redhat.com>
119
120 * po/uk.po: Updated Ukranian translation.
121
14470f07
L
1222020-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
1b1bb2c6
NC
1322020-01-18 Nick Clifton <nickc@redhat.com>
133
134 * configure: Regenerate.
135 * po/gas.pot: Regenerate.
136
ae774686
NC
1372020-01-18 Nick Clifton <nickc@redhat.com>
138
139 Binutils 2.34 branch created.
140
42e04b36
L
1412020-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
2da2eaf4
AV
1522020-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
45a4bb20
JB
1622020-01-16 Jan Beulich <jbeulich@suse.com>
163
164 * config/tc-i386.c (match_template): Drop found_cpu_match local
165 variable.
166
4814632e
JB
1672020-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
131cb553
JL
1732020-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
c24d0e8d
AM
1862020-01-15 Alan Modra <amodra@gmail.com>
187
188 * configure.tgt: Add sparc-*-freebsd case.
189
e44925ae
LC
1902020-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
7a6bf3be
SB
2152020-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
82e9597c
MM
2302020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
231
232 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
233 dependency.
234
5e4f7e05
CZ
2352020-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
febda64f
AM
2422020-01-13 Alan Modra <amodra@gmail.com>
243
244 * testsuite/gas/wasm32/allinsn.d: Update expected output.
245
5496abe1
AM
2462020-01-13 Alan Modra <amodra@gmail.com>
247
248 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
249 insertion.
250
ec4181f2
AM
2512020-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
40c75bc8
SB
2562020-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
72aea328
JB
2652020-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
3f93af61
JB
2712020-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
7697afb6
JB
2762020-01-09 Jan Beulich <jbeulich@suse.com>
277
278 * config/tc-i386.c (optimize_encoding): Generalize register
279 transformation for TEST optimization.
280
d835a58b
JB
2812020-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
915808f6
NC
2902020-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
f1f28025
NC
2982020-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
030a2e78
AM
3082020-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
2a1ebfb2
CZ
3132020-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
16d87673
SB
3202020-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
a2322019
NC
3302020-01-03 Nick Clifton <nickc@redhat.com>
331
332 * po/sv.po: Updated Swedish translation.
333
5437a02a
JB
3342020-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
567dfba2
JB
3392020-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
8c45011a
JB
3452020-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
f4950f76
JB
3502020-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
6655dba2
SB
3552020-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
a65b5de6
SN
4142020-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
b14ce8bf
AM
4192020-01-01 Alan Modra <amodra@gmail.com>
420
421 Update year range in copyright notice of all files.
422
0b114740 423For older changes see ChangeLog-2019
3499769a 424\f
0b114740 425Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
426
427Copying and distribution of this file, with or without modification,
428are permitted in any medium without royalty provided the copyright
429notice and this notice are preserved.
430
431Local Variables:
432mode: change-log
433left-margin: 8
434fill-column: 74
435version-control: never
436End:
This page took 0.256417 seconds and 4 git commands to generate.