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