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