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