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