]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/ChangeLog
x86: fold certain VCVT{,U}SI2S{S,D} templates
[thirdparty/binutils-gdb.git] / gas / ChangeLog
1 2020-02-17 Jan Beulich <jbeulich@suse.com>
2
3 * config/tc-i386.c (process_suffix): Don't try to guess a suffix
4 for AddrPrefixOpReg templates. Combine the two pieces of
5 addrprefixopreg handling. Reject 16-bit address reg in 64-bit
6 mode.
7
8 2020-02-17 Jan Beulich <jbeulich@suse.com>
9
10 PR gas/14439
11 * config/tc-i386.c (md_assemble): Also suppress operand
12 swapping for MONITOR{,X} and MWAIT{,X}.
13 * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s:
14 Add Intel syntax monitor/mwait tests.
15 * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d:
16 Adjust expectations.
17 *testsuite/gas/i386/sse3-intel.d,
18 testsuite/gas/i386/x86-64-sse3-intel.d: New.
19 * testsuite/gas/i386/i386.exp: Run new tests.
20
21 2020-02-17 Jan Beulich <jbeulich@suse.com>
22
23 PR gas/6518
24 * config/tc-i386.c (process_suffix): Re-work Intel-syntax
25 [XYZ]MMWord memory operand ambiguity recognition logic (largely
26 re-indentation).
27 * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps
28 cases.
29 * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16.
30 * testsuite/gas/i386/avx512dq-inval.l,
31 testsuite/gas/i386/inval-avx.l,
32 testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
33 * testsuite/gas/i386/avx512vl-ambig.s,
34 testsuite/gas/i386/avx512vl-ambig.l: New.
35 * testsuite/gas/i386/i386.exp: Run new test.
36
37 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
38
39 * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore
40 nosse4.
41 * doc/c-i386.texi: Document sse4a and nosse4a.
42
43 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
44
45 * doc/c-i386.texi: Remove the old movsx and movzx documentation
46 for AT&T syntax.
47
48 2020-02-14 Jan Beulich <jbeulich@suse.com>
49
50 PR gas/25438
51 * config/tc-i386.c (md_assemble): Move movsx/movzx special
52 casing ...
53 (process_suffix): ... here. Consider just the first operand
54 initially.
55 (check_long_reg): Drop opcode 0x63 special case again.
56 * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
57 testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
58 Move ambiguous operand size tests ...
59 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
60 testsuite/gas/i386/noreg64.s: ... here.
61 * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
62 testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
63 testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
64 testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
65 testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
66 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
67 testsuite/gas/i386/x86-64-movsxd.d,
68 testsuite/gas/i386/x86-64-movsxd-intel.d,
69 testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
70 Adjust expectations.
71 * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
72 testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
73 testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
74 * testsuite/gas/i386/i386.exp: Run new tests.
75
76 2020-02-14 Jan Beulich <jbeulich@suse.com>
77
78 * config/tc-i386.c (process_operands): Also skip segment
79 override prefix emission if it matches an already present one.
80 * testsuite/gas/i386/prefix32.s: Add double segment override
81 cases.
82 * testsuite/gas/i386/prefix32.l: Adjust expectations.
83
84 2020-02-14 Jan Beulich <jbeulich@suse.com>
85
86 * config/tc-i386.c (process_operands): Drop ineffectual segment
87 overrides when optimizing.
88 * testsuite/gas/i386/lea-optimize.d: New.
89 * testsuite/gas/i386/i386.exp: Run new test.
90
91 2020-02-14 Jan Beulich <jbeulich@suse.com>
92
93 * config/tc-i386.c (process_operands): Also check insn prefix
94 for ineffectual segment override warning. Don't cover possible
95 VEX/EVEX encoded insns there.
96 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
97 testsuite/gas/i386/lea.e: New.
98 * testsuite/gas/i386/i386.exp: Run new test.
99
100 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
101
102 PR gas/25438
103 * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
104 syntax.
105
106 2020-02-13 Fangrui Song <maskray@google.com>
107 H.J. Lu <hongjiu.lu@intel.com>
108
109 PR gas/25551
110 * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
111 BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
112 * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
113 * testsuite/gas/i386/relax-5.d: New file.
114 * testsuite/gas/i386/relax-5.s: Likewise.
115 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
116 * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
117
118 2020-02-13 Jan Beulich <jbeulich@suse.com>
119
120 * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
121 "nosse4" entry.
122
123 2020-02-12 Jan Beulich <jbeulich@suse.com>
124
125 * config/tc-i386.c (avx512): New (at file scope), moved from
126 (check_VecOperands): ... here.
127 (process_suffix): Add [XYZ]MMword operand size handling.
128 * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
129 * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
130 tests.
131 * testsuite/gas/i386/avx512dq-inval.l,
132 testsuite/gas/i386/noavx512-2.l: Adjust expectations.
133
134 2020-02-12 Jan Beulich <jbeulich@suse.com>
135
136 PR gas/24546
137 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
138 code only.
139 * config/tc-i386-intel.c (i386_intel_operand): Also handle
140 CALL/JMP in O_tbyte_ptr case.
141 * doc/c-i386.texi: Mention far call and full pointer load ISA
142 differences.
143 * testsuite/gas/i386/x86-64-branch-3.s,
144 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
145 * testsuite/gas/i386/x86-64-branch-3.d,
146 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
147 * testsuite/gas/i386/x86-64-branch-5.l,
148 testsuite/gas/i386/x86-64-branch-5.s: New.
149 * testsuite/gas/i386/i386.exp: Run new test.
150
151 2020-02-12 Jan Beulich <jbeulich@suse.com>
152
153 PR gas/25438
154 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
155 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
156 64-bit-only warning.
157 (check_word_reg): Consistently error on mismatching register
158 size and suffix.
159 * testsuite/gas/i386/general.s: Replace dword GPR with word one
160 for movw. Replace suffix / GPR for orb.
161 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
162 byte GPRs as well as ones for inb/outb with a word accumulator.
163 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
164 testsuite/gas/i386/inval.l: Adjust expectations.
165
166 2020-02-12 Jan Beulich <jbeulich@suse.com>
167
168 * config/tc-i386.c (operand_type_register_match): Also fall
169 through initial two if()-s when the template allows for a GPR
170 operand. Adjust comment.
171
172 2020-02-11 Jan Beulich <jbeulich@suse.com>
173
174 (struct _i386_insn): New field "short_form".
175 (optimize_encoding): Drop setting of shortform field.
176 (process_suffix): Set i.short_form. Replace shortform use.
177 (process_operands): Replace shortform use.
178
179 2020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
180
181 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
182 loop initial declaration.
183
184 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
185
186 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
187 instructions that can have 5 arguments.
188 (enum operand_parse_code): Add new operands.
189 (parse_operands): Account for new operands.
190 (S5): New macro.
191 (enum neon_shape_el): Introduce P suffixes for coprocessor.
192 (neon_select_shape): Account for P suffix.
193 (LOW1): Move macro to global position.
194 (HI4): Move macro to global position.
195 (vcx_assign_vec_d): New.
196 (vcx_assign_vec_m): New.
197 (vcx_assign_vec_n): New.
198 (enum vcx_reg_type): New.
199 (vcx_get_reg_type): New.
200 (vcx_size_pos): New.
201 (vcx_vec_pos): New.
202 (vcx_handle_shape): New.
203 (vcx_ensure_register_in_range): New.
204 (vcx_handle_register_arguments): New.
205 (vcx_handle_insn_block): New.
206 (vcx_handle_common_checks): New.
207 (do_vcx1): New.
208 (do_vcx2): New.
209 (do_vcx3): New.
210 * testsuite/gas/arm/cde-missing-fp.d: New test.
211 * testsuite/gas/arm/cde-missing-fp.l: New test.
212 * testsuite/gas/arm/cde-missing-mve.d: New test.
213 * testsuite/gas/arm/cde-missing-mve.l: New test.
214 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
215 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
216 * testsuite/gas/arm/cde-mve.s: New test.
217 * testsuite/gas/arm/cde-warnings.l:
218 * testsuite/gas/arm/cde-warnings.s:
219 * testsuite/gas/arm/cde.d:
220 * testsuite/gas/arm/cde.s:
221
222 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
223 Matthew Malcomson <matthew.malcomson@arm.com>
224
225 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
226 CDE coprocessor that can be enabled.
227 (enum pred_instruction_type): New pred type.
228 (BAD_NO_VPT): New error message.
229 (BAD_CDE): New error message.
230 (BAD_CDE_COPROC): New error message.
231 (enum operand_parse_code): Add new immediate operands.
232 (parse_operands): Account for new immediate operands.
233 (check_cde_operand): New.
234 (cde_coproc_enabled): New.
235 (cde_coproc_pos): New.
236 (cde_handle_coproc): New.
237 (cxn_handle_predication): New.
238 (do_custom_instruction_1): New.
239 (do_custom_instruction_2): New.
240 (do_custom_instruction_3): New.
241 (do_cx1): New.
242 (do_cx1a): New.
243 (do_cx1d): New.
244 (do_cx1da): New.
245 (do_cx2): New.
246 (do_cx2a): New.
247 (do_cx2d): New.
248 (do_cx2da): New.
249 (do_cx3): New.
250 (do_cx3a): New.
251 (do_cx3d): New.
252 (do_cx3da): New.
253 (handle_pred_state): Define new IT block behaviour.
254 (insns): Add newn CX*{,d}{,a} instructions.
255 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
256 Define new cdecp extension strings.
257 * doc/c-arm.texi: Document new cdecp extension arguments.
258 * testsuite/gas/arm/cde-scalar.d: New test.
259 * testsuite/gas/arm/cde-scalar.s: New test.
260 * testsuite/gas/arm/cde-warnings.d: New test.
261 * testsuite/gas/arm/cde-warnings.l: New test.
262 * testsuite/gas/arm/cde-warnings.s: New test.
263 * testsuite/gas/arm/cde.d: New test.
264 * testsuite/gas/arm/cde.s: New test.
265
266 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
267
268 PR gas/25516
269 * config/tc-i386.c (intel64): Renamed to ...
270 (isa64): This.
271 (match_template): Accept Intel64 only instruction by default.
272 (i386_displacement): Updated.
273 (md_parse_option): Updated.
274 * c-i386.texi: Update -mamd64/-mintel64 documentation.
275 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
276 -mamd64 to x86-64-sysenter-amd.
277 * testsuite/gas/i386/x86-64-sysenter.d: New file.
278
279 2020-02-10 Alan Modra <amodra@gmail.com>
280
281 * config/obj-elf.c (obj_elf_change_section): Error for section
282 type, attr or entsize changes in assembly.
283 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
284 * testsuite/gas/elf/section5.l: Update.
285
286 2020-02-10 Alan Modra <amodra@gmail.com>
287
288 * output-file.c (output_file_close): Do a normal close when
289 flag_always_generate_output.
290 * write.c (write_object_file): Don't stop output when
291 flag_always_generate_output.
292
293 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
294
295 PR 25469
296 * config/tc-z80.c: Add -gbz80 command line option to generate code
297 for the GameBoy Z80. Add support for generating DWARF.
298 * config/tc-z80.h: Add support for DWARF debug information
299 generation.
300 * doc/c-z80.texi: Document new command line option.
301 * testsuite/gas/z80/gbz80_all.d: New file.
302 * testsuite/gas/z80/gbz80_all.s: New file.
303 * testsuite/gas/z80/z80.exp: Run the new tests.
304 * testsuite/gas/z80/z80n_all.d: New file.
305 * testsuite/gas/z80/z80n_all.s: New file.
306 * testsuite/gas/z80/z80n_reloc.d: New file.
307
308 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
309
310 PR gas/25381
311 * config/obj-elf.c (get_section): Also check
312 linked_to_symbol_name.
313 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
314 (obj_elf_parse_section_letters): Handle the 'o' flag.
315 (build_group_lists): Renamed to ...
316 (build_additional_section_info): This. Set elf_linked_to_section
317 from map_head.linked_to_symbol_name.
318 (elf_adjust_symtab): Updated.
319 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
320 * doc/as.texi: Document the 'o' flag.
321 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
322 * testsuite/gas/elf/section18.d: New file.
323 * testsuite/gas/elf/section18.s: Likewise.
324 * testsuite/gas/elf/section19.d: Likewise.
325 * testsuite/gas/elf/section19.s: Likewise.
326 * testsuite/gas/elf/section20.d: Likewise.
327 * testsuite/gas/elf/section20.s: Likewise.
328 * testsuite/gas/elf/section21.d: Likewise.
329 * testsuite/gas/elf/section21.l: Likewise.
330 * testsuite/gas/elf/section21.s: Likewise.
331
332 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
333
334 * NEWS: Mention x86 assembler options to align branches for
335 binutils 2.34.
336
337 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
338
339 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
340 only for ELF targets.
341 * testsuite/gas/i386/unique.d: Don't xfail.
342 * testsuite/gas/i386/x86-64-unique.d: Likewise.
343
344 2020-02-06 Alan Modra <amodra@gmail.com>
345
346 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
347 * testsuite/gas/i386/x86-64-unique.d: Likewise.
348
349 2020-02-06 Alan Modra <amodra@gmail.com>
350
351 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
352 xfail, and rename test.
353 * testsuite/gas/elf/section12b.d: Likewise.
354 * testsuite/gas/elf/section16a.d: Likewise.
355 * testsuite/gas/elf/section16b.d: Likewise.
356
357 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
358
359 PR gas/25380
360 * config/obj-elf.c (section_match): Removed.
361 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
362 section_id.
363 (obj_elf_change_section): Replace info and group_name arguments
364 with match_p. Also update the section ID and flags from match_p.
365 (obj_elf_section): Handle "unique,N". Update call to
366 obj_elf_change_section.
367 * config/obj-elf.h (elf_section_match): New.
368 (obj_elf_change_section): Updated.
369 * config/tc-arm.c (start_unwind_section): Update call to
370 obj_elf_change_section.
371 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
372 * config/tc-microblaze.c (microblaze_s_data): Likewise.
373 (microblaze_s_sdata): Likewise.
374 (microblaze_s_rdata): Likewise.
375 (microblaze_s_bss): Likewise.
376 * config/tc-mips.c (s_change_section): Likewise.
377 * config/tc-msp430.c (msp430_profiler): Likewise.
378 * config/tc-rx.c (parse_rx_section): Likewise.
379 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
380 * doc/as.texi: Document "unique,N" in .section directive.
381 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
382 * testsuite/gas/elf/section15.d: New file.
383 * testsuite/gas/elf/section15.s: Likewise.
384 * testsuite/gas/elf/section16.s: Likewise.
385 * testsuite/gas/elf/section16a.d: Likewise.
386 * testsuite/gas/elf/section16b.d: Likewise.
387 * testsuite/gas/elf/section17.d: Likewise.
388 * testsuite/gas/elf/section17.l: Likewise.
389 * testsuite/gas/elf/section17.s: Likewise.
390 * testsuite/gas/i386/unique.d: Likewise.
391 * testsuite/gas/i386/unique.s: Likewise.
392 * testsuite/gas/i386/x86-64-unique.d: Likewise.
393 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
394
395 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
396
397 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
398
399 2020-02-01 Anthony Green <green@moxielogic.com>
400
401 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
402
403 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
404
405 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
406 %tls_ldo.
407
408 2020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
409
410 PR gas/25472
411 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
412 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
413 +mve.
414 * testsuite/gas/arm/mve_dsp.d: New test.
415
416 2020-01-31 Nick Clifton <nickc@redhat.com>
417
418 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
419 rather than BFD_RELOC_NONE.
420
421 2020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
422
423 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
424 to support VLDMIA instruction for MVE.
425 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
426 instruction for MVE.
427 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
428 instruction for MVE.
429 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
430 instruction for MVE.
431 * testsuite/gas/arm/mve-ldst.d: New test.
432 * testsuite/gas/arm/mve-ldst.s: Likewise.
433
434 2020-01-31 Nick Clifton <nickc@redhat.com>
435
436 * po/fr.po: Updated French translation.
437 * po/ru.po: Updated Russian translation.
438
439 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
440
441 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
442 .s for the movprfx.
443 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
444 * testsuite/gas/aarch64/sve-movprfx_28.d,
445 * testsuite/gas/aarch64/sve-movprfx_28.l,
446 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
447
448 2020-01-30 Jan Beulich <jbeulich@suse.com>
449
450 * config/tc-i386.c (output_disp): Tighten base_opcode check.
451 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
452 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
453 Adjust expectations.
454
455 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
456
457 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
458 * testsuite/gas/bpf/alu-be.d: Likewise.
459 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
460 * testsuite/gas/bpf/alu32-be.d: Likewise.
461
462 2020-01-30 Jan Beulich <jbeulich@suse.com>
463
464 * testsuite/gas/i386/x86-64-branch-2.s,
465 testsuite/gas/i386/x86-64-branch-4.s,
466 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
467 * testsuite/gas/i386/ilp32/x86-64-branch.d,
468 testsuite/gas/i386/x86-64-branch-2.d,
469 testsuite/gas/i386/x86-64-branch-4.l,
470 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
471
472 2020-01-30 Jan Beulich <jbeulich@suse.com>
473
474 * config/tc-i386.c (process_suffix): .
475 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
476 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
477 Add LRETQ case.
478 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
479 suffix.
480 testsuite/gas/i386/x86_64.s: Add RETF cases.
481 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
482 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
483 testsuite/gas/i386/x86-64-opcode.d,
484 testsuite/gas/i386/x86-64-suffix-intel.d,
485 testsuite/gas/i386/x86-64-suffix.d,
486 testsuite/gas/i386/x86_64-intel.d
487 testsuite/gas/i386/x86_64.d: Adjust expectations.
488 * testsuite/gas/i386/x86-64-suffix.e,
489 testsuite/gas/i386/x86_64.e: New.
490
491 2020-01-30 Jan Beulich <jbeulich@suse.com>
492
493 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
494 special case.
495
496 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
497
498 PR binutils/25445
499 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
500 movsxd.
501 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
502 differences. Document movslq and movsxd.
503 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
504 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
505 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
506 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
507 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
508 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
509 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
510 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
511 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
512 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
513 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
514
515 2020-01-27 Alan Modra <amodra@gmail.com>
516
517 * testsuite/gas/all/gas.exp: Replace case statements with switch
518 statements.
519 * testsuite/gas/elf/elf.exp: Likewise.
520 * testsuite/gas/macros/macros.exp: Likewise.
521 * testsuite/lib/gas-defs.exp: Likewise.
522
523 2020-01-27 Tamar Christina <tamar.christina@arm.com>
524
525 PR 25403
526 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
527 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
528
529 2020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
530
531 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
532 s exts must be known, so rename *ok* to *fail*.
533 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
534 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
535 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
536 above change.
537 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
538 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
539
540 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
541
542 PR gas/25438
543 * config/tc-i386.c (check_long_reg): Always disallow double word
544 suffix in mnemonic with word general register.
545 * testsuite/gas/i386/general.s: Replace word general register
546 with double word general register for movl.
547 * testsuite/gas/i386/inval.s: Add tests for movl with word general
548 register.
549 * testsuite/gas/i386/general.l: Updated.
550 * testsuite/gas/i386/inval.l: Likewise.
551
552 2020-01-22 Alan Modra <amodra@gmail.com>
553
554 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
555 __tls_get_addr_desc and __tls_get_addr_opt.
556
557 2020-01-21 Jan Beulich <jbeulich@suse.com>
558
559 * testsuite/gas/i386/inval-crc32.s,
560 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
561 * testsuite/gas/i386/inval-crc32.l,
562 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
563
564 2020-01-21 Jan Beulich <jbeulich@suse.com>
565
566 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
567 generic code path. Deal with No_lSuf being set in a template.
568 * testsuite/gas/i386/inval-crc32.l,
569 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
570 instead of error(s) when operand size is ambiguous.
571 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
572 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
573 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
574 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
575 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
576 Adjust expectations.
577
578 2020-01-21 Jan Beulich <jbeulich@suse.com>
579
580 * config/tc-i386.c (process_suffix): Drop SYSRET special case
581 and an intel_syntax check. Re-write lack-of-suffix processing
582 logic.
583 * doc/c-i386.texi: Document operand size defaults for suffix-
584 less AT&T syntax insns.
585 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
586 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
587 testsuite/gas/i386/x86-64-avx-scalar.s,
588 testsuite/gas/i386/x86-64-avx.s,
589 testsuite/gas/i386/x86-64-bundle.s,
590 testsuite/gas/i386/x86-64-intel64.s,
591 testsuite/gas/i386/x86-64-lock-1.s,
592 testsuite/gas/i386/x86-64-opcode.s,
593 testsuite/gas/i386/x86-64-sse2avx.s,
594 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
595 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
596 testsuite/gas/i386/x86-64-nops.s,
597 testsuite/gas/i386/x86-64-ptwrite.s,
598 testsuite/gas/i386/x86-64-simd.s,
599 testsuite/gas/i386/x86-64-sse-noavx.s,
600 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
601 insns.
602 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
603 testsuite/gas/i386/noreg64.s: Add further tests.
604 * testsuite/gas/i386/ilp32/x86-64-nops.d,
605 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
606 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
607 testsuite/gas/i386/sse-noavx.d,
608 testsuite/gas/i386/x86-64-intel64.d,
609 testsuite/gas/i386/x86-64-nops.d,
610 testsuite/gas/i386/x86-64-opcode.d,
611 testsuite/gas/i386/x86-64-ptwrite-intel.d,
612 testsuite/gas/i386/x86-64-ptwrite.d,
613 testsuite/gas/i386/x86-64-simd-intel.d,
614 testsuite/gas/i386/x86-64-simd-suffix.d,
615 testsuite/gas/i386/x86-64-simd.d,
616 testsuite/gas/i386/x86-64-sse-noavx.d
617 testsuite/gas/i386/x86-64-suffix.d,
618 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
619 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
620 testsuite/gas/i386/noreg64.l: New.
621 * testsuite/gas/i386/i386.exp: Run new tests.
622
623 2020-01-21 Jan Beulich <jbeulich@suse.com>
624
625 * testsuite/gas/i386/avx512_bf16_vl.s,
626 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
627 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
628 broadcast forms of VCVTNEPS2BF16.
629 * testsuite/gas/i386/avx512_bf16_vl.d,
630 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
631
632 2020-01-20 Nick Clifton <nickc@redhat.com>
633
634 * po/uk.po: Updated Ukranian translation.
635
636 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
637
638 PR ld/25416
639 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
640 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
641 x32 object.
642 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
643 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
644 R_X86_64_GOTPC32_TLSDESC relocation.
645
646 2020-01-18 Nick Clifton <nickc@redhat.com>
647
648 * configure: Regenerate.
649 * po/gas.pot: Regenerate.
650
651 2020-01-18 Nick Clifton <nickc@redhat.com>
652
653 Binutils 2.34 branch created.
654
655 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
656
657 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
658 with vex_encoding_vex.
659 (parse_insn): Likewise.
660 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
661 and {vex3} documentation.
662 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
663 {vex}.
664 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
665
666 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
667
668 PR 25376
669 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
670 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
671 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
672 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
673 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
674 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
675
676 2020-01-16 Jan Beulich <jbeulich@suse.com>
677
678 * config/tc-i386.c (match_template): Drop found_cpu_match local
679 variable.
680
681 2020-01-16 Jan Beulich <jbeulich@suse.com>
682
683 * testsuite/gas/i386/avx512dq-inval.l,
684 testsuite/gas/i386/avx512dq-inval.s: New.
685 * testsuite/gas/i386/i386.exp: Run new test.
686
687 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
688
689 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
690 relocations when the target is 430X, except when extracting part of an
691 expression.
692 (msp430_srcoperand): Adjust comment.
693 Initialize the expp member of the msp430_operand_s struct as
694 appropriate.
695 (msp430_dstoperand): Likewise.
696 * testsuite/gas/msp430/msp430.exp: Run new test.
697 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
698 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
699
700 2020-01-15 Alan Modra <amodra@gmail.com>
701
702 * configure.tgt: Add sparc-*-freebsd case.
703
704 2020-01-14 Lili Cui <lili.cui@intel.com>
705
706 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
707 * testsuite/gas/i386/align-branch-1b.d: Likewise.
708 * testsuite/gas/i386/align-branch-1c.d: Likewise.
709 * testsuite/gas/i386/align-branch-1d.d: Likewise.
710 * testsuite/gas/i386/align-branch-1e.d: Likewise.
711 * testsuite/gas/i386/align-branch-1f.d: Likewise.
712 * testsuite/gas/i386/align-branch-1g.d: Likewise.
713 * testsuite/gas/i386/align-branch-1h.d: Likewise.
714 * testsuite/gas/i386/align-branch-1i.d: Likewise.
715 * testsuite/gas/i386/align-branch-5.d: Likewise.
716 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
717 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
718 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
719 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
720 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
721 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
722 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
723 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
724 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
725 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
726 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
727 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
728
729 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
730
731 PR 25377
732 * config/tc-z80.c: Add support for half precision, single
733 precision and double precision floating point values.
734 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
735 * doc/as.texi: Add new z80 command line options.
736 * doc/c-z80.texi: Document new z80 command line options.
737 * testsuite/gas/z80/ez80_pref_dis.s: New test.
738 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
739 * testsuite/gas/z80/z80.exp: Run the new test.
740 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
741 * testsuite/gas/z80/fp_zeda32.d: Likewise.
742 * testsuite/gas/z80/strings.d: Update expected output.
743
744 2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
745
746 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
747 dependency.
748
749 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
750
751 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
752 the CPU.
753 * config/tc-arc.h: Add header if/defs.
754 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
755
756 2020-01-13 Alan Modra <amodra@gmail.com>
757
758 * testsuite/gas/wasm32/allinsn.d: Update expected output.
759
760 2020-01-13 Alan Modra <amodra@gmail.com>
761
762 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
763 insertion.
764
765 2020-01-10 Alan Modra <amodra@gmail.com>
766
767 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
768 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
769
770 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
771
772 PR 25224
773 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
774 opcode byte values.
775 (emit_ld_r_r): Likewise.
776 (emit_ld_rr_m): Likewise.
777 (emit_ld_rr_nn): Likewise.
778
779 2020-01-09 Jan Beulich <jbeulich@suse.com>
780
781 * config/tc-i386.c (optimize_encoding): Add
782 is_any_vex_encoding() invocations. Drop respective
783 i.tm.extension_opcode == None checks.
784
785 2020-01-09 Jan Beulich <jbeulich@suse.com>
786
787 * config/tc-i386.c (md_assemble): Check RegRex is clear during
788 REX transformations. Correct comment indentation.
789
790 2020-01-09 Jan Beulich <jbeulich@suse.com>
791
792 * config/tc-i386.c (optimize_encoding): Generalize register
793 transformation for TEST optimization.
794
795 2020-01-09 Jan Beulich <jbeulich@suse.com>
796
797 * testsuite/gas/i386/x86-64-sysenter-amd.s,
798 testsuite/gas/i386/x86-64-sysenter-amd.d,
799 testsuite/gas/i386/x86-64-sysenter-amd.l,
800 testsuite/gas/i386/x86-64-sysenter-intel.d,
801 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
802 * testsuite/gas/i386/i386.exp: Run new tests.
803
804 2020-01-08 Nick Clifton <nickc@redhat.com>
805
806 PR 25284
807 * doc/as.texi (Align): Document the fact that all arguments can be
808 omitted.
809 (Balign): Likewise.
810 (P2align): Likewise.
811
812 2020-01-08 Nick Clifton <nickc@redhat.com>
813
814 PR 14891
815 * config/obj-elf.c (obj_elf_section): Fail if the section name is
816 already defined as a different symbol type.
817 * testsuite/gas/elf/pr14891.s: New test source file.
818 * testsuite/gas/elf/pr14891.d: New test driver.
819 * testsuite/gas/elf/pr14891.s: New test expected error output.
820 * testsuite/gas/elf/elf.exp: Run the new test.
821
822 2020-01-08 Alan Modra <amodra@gmail.com>
823
824 * config/tc-z8k.c (md_begin): Make idx unsigned.
825 (get_specific): Likewise for this_index.
826
827 2020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
828
829 * onfig/tc-arc.c (parse_reloc_symbol): New function.
830 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
831 (md_operand): Set X_md to absent.
832 (arc_parse_name): Check for X_md.
833
834 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
835
836 PR 25311
837 * as.h (TC_STRING_ESCAPES): Provide a default definition.
838 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
839 NO_STRING_ESCAPES.
840 * read.c (next_char_of_string): Likewise.
841 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
842 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
843
844 2020-01-03 Nick Clifton <nickc@redhat.com>
845
846 * po/sv.po: Updated Swedish translation.
847
848 2020-01-03 Jan Beulich <jbeulich@suse.com>
849
850 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
851 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
852
853 2020-01-03 Jan Beulich <jbeulich@suse.com>
854
855 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
856 by-element usdot. Add 64-bit form tests for by-element sudot.
857 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
858
859 2020-01-03 Jan Beulich <jbeulich@suse.com>
860
861 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
862 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
863
864 2020-01-03 Jan Beulich <jbeulich@suse.com>
865
866 * testsuite/gas/aarch64/f64mm.d,
867 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
868
869 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
870
871 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
872 support for assembler code generated by SDCC. Add new relocation
873 types. Add z80-elf target support.
874 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
875 labels. Local labels starts from ".L".
876 * NEWS: Mention the new support.
877 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
878 * testsuite/gas/all/fwdexp.s: Likewise.
879 * testsuite/gas/all/cond.l: Likewise.
880 * testsuite/gas/all/cond.s: Likewise.
881 * testsuite/gas/all/fwdexp.d: Likewise.
882 * testsuite/gas/all/fwdexp.s: Likewise.
883 * testsuite/gas/elf/section2.e-mips: Likewise.
884 * testsuite/gas/elf/section2.l: Likewise.
885 * testsuite/gas/elf/section2.s: Likewise.
886 * testsuite/gas/macros/app1.d: Likewise.
887 * testsuite/gas/macros/app1.s: Likewise.
888 * testsuite/gas/macros/app2.d: Likewise.
889 * testsuite/gas/macros/app2.s: Likewise.
890 * testsuite/gas/macros/app3.d: Likewise.
891 * testsuite/gas/macros/app3.s: Likewise.
892 * testsuite/gas/macros/app4.d: Likewise.
893 * testsuite/gas/macros/app4.s: Likewise.
894 * testsuite/gas/macros/app4b.s: Likewise.
895 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
896 * testsuite/gas/z80/z80.exp: Add new tests
897 * testsuite/gas/z80/dollar.d: New file.
898 * testsuite/gas/z80/dollar.s: New file.
899 * testsuite/gas/z80/ez80_adl_all.d: New file.
900 * testsuite/gas/z80/ez80_adl_all.s: New file.
901 * testsuite/gas/z80/ez80_adl_suf.d: New file.
902 * testsuite/gas/z80/ez80_isuf.s: New file.
903 * testsuite/gas/z80/ez80_z80_all.d: New file.
904 * testsuite/gas/z80/ez80_z80_all.s: New file.
905 * testsuite/gas/z80/ez80_z80_suf.d: New file.
906 * testsuite/gas/z80/r800_extra.d: New file.
907 * testsuite/gas/z80/r800_extra.s: New file.
908 * testsuite/gas/z80/r800_ii8.d: New file.
909 * testsuite/gas/z80/r800_z80_doc.d: New file.
910 * testsuite/gas/z80/z180.d: New file.
911 * testsuite/gas/z80/z180.s: New file.
912 * testsuite/gas/z80/z180_z80_doc.d: New file.
913 * testsuite/gas/z80/z80_doc.d: New file.
914 * testsuite/gas/z80/z80_doc.s: New file.
915 * testsuite/gas/z80/z80_ii8.d: New file.
916 * testsuite/gas/z80/z80_ii8.s: New file.
917 * testsuite/gas/z80/z80_in_f_c.d: New file.
918 * testsuite/gas/z80/z80_in_f_c.s: New file.
919 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
920 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
921 * testsuite/gas/z80/z80_out_c_0.d: New file.
922 * testsuite/gas/z80/z80_out_c_0.s: New file.
923 * testsuite/gas/z80/z80_reloc.d: New file.
924 * testsuite/gas/z80/z80_reloc.s: New file.
925 * testsuite/gas/z80/z80_sli.d: New file.
926 * testsuite/gas/z80/z80_sli.s: New file.
927
928 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
929
930 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
931 REGLIST_RN.
932
933 2020-01-01 Alan Modra <amodra@gmail.com>
934
935 Update year range in copyright notice of all files.
936
937 For older changes see ChangeLog-2019
938 \f
939 Copyright (C) 2020 Free Software Foundation, Inc.
940
941 Copying and distribution of this file, with or without modification,
942 are permitted in any medium without royalty provided the copyright
943 notice and this notice are preserved.
944
945 Local Variables:
946 mode: change-log
947 left-margin: 8
948 fill-column: 74
949 version-control: never
950 End: