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