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