x86: Optimize EVEX vector load/store instructions
[external/binutils.git] / gas / ChangeLog
1 2019-03-18  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR gas/24348
4         * config/tc-i386.c (optimize_encoding): Encode 128-bit and
5         256-bit EVEX vector register load/store instructions as VEX
6         vector register load/store instructions for -O1.
7         * doc/c-i386.texi: Update -O1 documentation.
8         * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
9         * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
10         load/store instructions.
11         * testsuite/gas/i386/optimize-2.s: Likewise.
12         * testsuite/gas/i386/optimize-3.s: Likewise.
13         * testsuite/gas/i386/optimize-5.s: Likewise.
14         * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
15         * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
16         * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
17         * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
18         * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
19         * testsuite/gas/i386/optimize-1.d: Updated.
20         * testsuite/gas/i386/optimize-2.d: Likewise.
21         * testsuite/gas/i386/optimize-3.d: Likewise.
22         * testsuite/gas/i386/optimize-4.d: Likewise.
23         * testsuite/gas/i386/optimize-5.d: Likewise.
24         * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
25         * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
26         * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
27         * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
28         * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
29         * testsuite/gas/i386/optimize-7.d: New file.
30         * testsuite/gas/i386/optimize-7.s: Likewise.
31         * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
32         * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
33
34 2019-03-18  H.J. Lu  <hongjiu.lu@intel.com>
35
36         * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
37         VEX/EVEX vector register clearing instructions with 128-bit VEX
38         vector register clearing instructions at -O1.
39         * doc/c-i386.texi: Update -O1 and -O2 documentation.
40         * testsuite/gas/i386/i386.exp: Run optimize-1a and
41         x86-64-optimize-2a.
42         * testsuite/gas/i386/optimize-1a.d: New file.
43         * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
44
45 2019-03-17  H.J. Lu  <hongjiu.lu@intel.com>
46
47         PR gas/24353
48         * config/tc-i386.c: Include <limits.h> if it exists and try
49         including <sys/param.h> if we have it.
50         (INT_MAX): Define if not defined.
51         (md_parse_option): Set optimize to INT_MAX for -Os.
52         * testsuite/gas/i386/optimize-2.s: Add a test.
53         * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
54         * testsuite/gas/i386/optimize-2.d: Updated.
55         * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
56
57 2019-03-17  H.J. Lu  <hongjiu.lu@intel.com>
58
59         PR gas/24352
60         * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
61         with 128-bit VEX encoding only when AVX is enabled and with
62         128-bit EVEX encoding only when AVX512VL is enabled.
63         * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
64         * testsuite/gas/i386/optimize-6.s: New file.
65         * testsuite/gas/i386/optimize-6a.d: Likewise.
66         * testsuite/gas/i386/optimize-6b.d: Likewise.
67         * testsuite/gas/i386/optimize-6c.d: Likewise.
68         * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
69         * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
70         * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
71         * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
72         * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
73
74 2019-03-15  Li Hao  <li.hao296@zte.com.cn>
75
76         PR 24308
77         * config/tc-i386.c (parse_insn): Check mnemp before using it to
78         determine if a suffix can be trimmed.
79
80 2019-03-13  Christian Eggers  <ceggers@gmx.de>
81
82         * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
83
84 2019-03-13  Christian Eggers  <ceggers@gmx.de>
85
86         * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
87
88 2019-03-13  Christian Eggers  <ceggers@gmx.de>
89
90         * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
91
92 2019-03-13  Christian Eggers  <ceggers@gmx.de>
93
94         * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
95
96 2019-03-13  Christian Eggers  <ceggers@gmx.de>
97
98         * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
99         (out_debug_aranges, out_debug_info): Likewise.
100
101 2019-03-13  Christian Eggers  <ceggers@gmx.de>
102
103         * symbols.h (symbol_temp_new_now_octets): Declare.
104         (symbol_set_value_now_octets, symbol_octets_p): Declare.
105         * symbols.c (struct symbol_flags): New member sy_octets.
106         (symbol_temp_new_now_octets): New function.
107         (resolve_symbol_value): Return octets instead of bytes if
108         sy_octets is set.
109         (symbol_set_value_now_octets): New function.
110         (symbol_octets_p): New function.
111
112 2019-03-13  Christian Eggers  <ceggers@gmx.de>
113
114         * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
115
116 2019-03-12  Andreas Krebbel  <krebbel@linux.ibm.com>
117
118         * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
119         * testsuite/gas/s390/zarch-arch13.d: Likewise.
120
121 2019-02-27  Matthew Malcomson  <matthew.malcomson@arm.com>
122
123         * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
124         * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
125         * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
126         * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
127         lines.
128         * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
129         * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
130
131 2019-02-24  Alan Modra  <amodra@gmail.com>
132
133         * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
134
135 2019-02-24  Alan Modra  <amodra@gmail.com>
136
137         PR 24144
138         * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
139         of section to ensure file contents cover aligned section size.
140
141 2019-02-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
142
143         * config/tc-arm.c (arm_cpus): Add neoverse-n1.
144         * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
145
146 2019-02-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
147
148         * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
149         * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
150
151 2019-02-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
152
153         * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
154         * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
155
156 2019-02-19  Paul Hua  <paul.hua.gm@gmail.com>
157
158         * NEWS: Mention -m[no-]fix-loongson3-llsc.
159         * configure.ac: Add --enable-mips-fix-loongson3-llsc.
160         Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
161         * config.in: Regenerated.
162         * configure: Likewise.
163         * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
164         New variables.
165         (options): New OPTION_FIX_LOONGSON3_LLSC,
166         OPTION_NO_FIX_LOONGSON3_LLSC.
167         (md_longopts): Add -m[no-]fix-loongson3-llsc.
168         (md_begin): Initialize sync insn.
169         (fix_loongson3_llsc): New.
170         (append_insn): Call fix_loongson3_llsc.
171         (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
172         OPTION_NO_FIX_LOONGSON3_LLSC.
173         (md_show_usage): Display -m[no-]fix-loongson3-llsc.
174         * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
175         --enable-mips-fix-loongson3-llsc=[yes|no].
176
177 2019-02-10  H.J. Lu  <hongjiu.lu@intel.com>
178
179         PR gas/24165
180         * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
181         max_bytes.
182         * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
183         aarch64_init_frag.
184         * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
185         arm_init_frag.
186         * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
187         * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
188         * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
189         * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
190         * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
191         * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
192         * config/tc-rx.h (TC_FRAG_INIT): Likewise.
193         * config/tc-score.h (TC_FRAG_INIT): Likewise.
194         * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
195         * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
196         * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
197         * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
198         (alignment ? ((1 << alignment) - 1) : 1)
199         (i386_tc_frag_data): Add max_bytes.
200         (TC_FRAG_INIT): Add and track max_bytes.
201         (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
202         fragP->tc_frag_data.max_bytes.
203         * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
204
205 2019-02-08  Jim Wilson  <jimw@sifive.com>
206
207         * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
208         (riscv_ip) <'C'>: Add 'z' support.
209
210 2019-02-07  Tamar Christina  <tamar.christina@arm.com>
211
212         * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
213         hlt to armv1.
214         * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
215         * testsuite/gas/arm/hlt.d: New test.
216         * testsuite/gas/arm/hlt.s: New test.
217
218 2019-02-07  Tamar Christina  <tamar.christina@arm.com>
219
220         * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
221         * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
222
223 2019-02-07  Tamar Christina  <tamar.christina@arm.com>
224
225         PR binutils/23212
226         * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
227         * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
228
229 2019-02-07  Eric Botcazou  <ebotcazou@adacore.com>
230
231         * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
232         64-bit boundaries for the GR6.
233         * testsuite/gas/visium/allinsn_gr6.s: Tweak.
234         * testsuite/gas/visium/allinsn_gr6.d: Likewise.
235         * testsuite/gas/visium/bra-1.d: New test.
236         * testsuite/gas/visium/bra-1.s: Likewise.
237         * testsuite/gas/visium/visium.exp: Run bra-1 test.
238
239 2019-01-31  John Darrington <john@darrington.wattle.id.au>
240
241         * config/tc-s12z.c (lex_imm): Add new argument exp_o.
242         (emit_reloc): New function.
243         (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
244         can be either 2 bytes or 3 bytes long.
245         * testsuite/gas/s12z/mov-imm-reloc.d: New file.
246         * testsuite/gas/s12z/mov-imm-reloc.s: New file.
247         * testsuite/gas/s12z/s12z.exp: Add them.
248
249 2019-01-31  John Darrington <john@darrington.wattle.id.au>
250
251         * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
252         * testsuite/gas/s12z/pc-rel-bad.d: New file.
253         * testsuite/gas/s12z/pc-rel-bad.l: New file.
254         * testsuite/gas/s12z/pc-rel-bad.s: New file.
255         * testsuite/gas/s12z/pc-rel-good.d: New file.
256         * testsuite/gas/s12z/pc-rel-good.s: New file.
257         * testsuite/gas/s12z/s12z.exp: Add them.
258
259 2019-01-31  John Darrington <john@darrington.wattle.id.au>
260
261         * config/tc-s12z.c (tfr): Emit warning if operands are the same.
262         * testsuite/gas/s12z/exg.d: New test case.
263         * testsuite/gas/s12z/exg.l: New file.
264
265 2019-01-31  John Darrington <john@darrington.wattle.id.au>
266
267         * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
268         immediate mode operands should be permitted.
269         * testsuite/s12z/imm-dest.d: New file.
270         * testsuite/s12z/imm-dest.l: New file.
271         * testsuite/s12z/imm-dest.s: New file.
272         * testsuite/s12z/s12z.exp: Add them.
273
274 2019-01-31  Andreas Krebbel  <krebbel@linux.ibm.com>
275
276         * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
277         * doc/c-s390.texi: Document arch13 march option.
278         * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
279         * testsuite/gas/s390/zarch-arch13.d: New test.
280         * testsuite/gas/s390/zarch-arch13.s: New test.
281         * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
282         also for z13.
283
284 2019-01-31  Alan Modra  <amodra@gmail.com>
285
286         * config/tc-alpha.c (md_apply_fix): Correct range checks for
287         BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
288         * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
289         * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
290
291 2019-01-28  Max Filippov  <jcmvbkbc@gmail.com>
292
293         * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
294         symbols as done in md_apply_fix.
295         * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
296
297 2019-01-28  Nick Clifton  <nickc@redhat.com>
298
299         * po/fr.po: Updated French translation.
300         * po/ru.po: Updated Russian translation.
301
302 2019-01-28  Alan Modra  <amodra@gmail.com>
303
304         * configure.ac (ac_checking): Set from bfd/development.sh
305         development variable.
306         * configure: Regenerate.
307
308 2019-01-25  Sudakshina Das  <sudi.das@arm.com>
309
310         * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
311         stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
312         * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
313         stg, stzg, st2g and stz2g.
314         * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
315         * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
316         * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
317
318 2019-01-25  Sudakshina Das  <sudi.das@arm.com>
319
320         * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
321         * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
322         * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
323         * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
324
325 2019-01-25  Sudakshina Das  <sudi.das@arm.com>
326             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
327
328         * config/tc-aarch64.c (parse_address_main): Remove support for
329         [base]! address expression.
330         (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
331         (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
332         * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
333         and stgv.
334         * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
335         * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
336         * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
337
338 2019-01-25  Wu Heng  <wu.heng@zte.com.cn>
339
340         PR gas/23940
341         * macro.c (getstring): Check array bound before accessing.
342
343 2019-01-25  Alan Modra  <amodra@gmail.com>
344
345         PR 20902
346         PR 24125
347         * read.c (stringer): Delete assertion.
348
349 2019-01-21  Nick Clifton  <nickc@redhat.com>
350
351         * po/uk.po: Updated Ukranian translation.
352
353 2019-01-19  Nick Clifton  <nickc@redhat.com>
354
355         * config.in: Regenerate.
356         * configure: Regenerate.
357         * po/gas.pot: Regenerate.
358
359 2018-06-24  Nick Clifton  <nickc@redhat.com>
360
361         2.32 branch created.
362
363 2019-01-17  Tamar Christina  <tamar.christina@arm.com>
364
365         * testsuite/gas/arm/archv6t2-1-pe.d: New test.
366         * testsuite/gas/arm/archv6t2-1.d: Skip pe.
367         * testsuite/gas/arm/csdb.d: Skip pe.
368         * testsuite/gas/arm/sb-thumb1-pe.d: New test.
369         * testsuite/gas/arm/sb-thumb1.d: Skip pe.
370         * testsuite/gas/arm/sb-thumb2-pe.d: New test.
371         * testsuite/gas/arm/sb-thumb2.d: Skip pe.
372         * testsuite/gas/arm/udf.d: Skip pe.
373
374 2019-01-16  Kito Cheng  <kito@andestech.com>
375
376         * testsuite/gas/riscv/attribute-empty.d: New.
377
378 2019-01-16  Kito Cheng  <kito@andestech.com>
379             Nelson Chu  <nelson@andestech.com>
380
381         * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
382         (riscv_set_options): Add `arch_attr` field.
383         (riscv_opts): Set default value for arch_attr.
384         (riscv_write_out_arch_attr): New.
385         (riscv_set_public_attributes): Likewise.
386         (riscv_md_end): Likewise.
387         (riscv_convert_symbolic_attribute): Likewise.
388         (s_riscv_attribute): Likewise.
389         (explicit_arch_attr): Likewise.
390         (riscv_pseudo_table): Add .attribute to the table.
391         (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
392         enumeration constants.
393         (md_longopts): Add `march-attr' and `mno-arch-attr' options.
394         (md_parse_option): Handle the new options.
395         (md_show_usage): Document the `march-attr' option.
396         * config/tc-riscv.h (md_end): Define as riscv_md_end
397         (riscv_md_end): Declare.
398         (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
399         riscv_convert_symbolic_attribute.
400         (riscv_convert_symbolic_attribute): Declare.
401         (start_assemble): Declare.
402         * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
403         * testsuite/gas/elf/section2.e-riscv: New.
404         * testsuite/gas/riscv/attribute-01.d: New test
405         * testsuite/gas/riscv/attribute-02.d: Likewise.
406         * testsuite/gas/riscv/attribute-03.d: Likewise.
407         * testsuite/gas/riscv/attribute-04.d: Likewise.
408         * testsuite/gas/riscv/attribute-04.s: Likewise.
409         * testsuite/gas/riscv/attribute-05.d: Likewise.
410         * testsuite/gas/riscv/attribute-05.s: Likewise.
411         * testsuite/gas/riscv/attribute-06.d: Likewise.
412         * testsuite/gas/riscv/attribute-06.s: Likewise.
413         * testsuite/gas/riscv/attribute-07.d: Likewise.
414         * testsuite/gas/riscv/attribute-07.s: Likewise.
415         * testsuite/gas/riscv/attribute-08.d: Likewise.
416         * testsuite/gas/riscv/attribute-08.s: Likewise.
417         * testsuite/gas/riscv/attribute-unknown.d: Likewise.
418         * testsuite/gas/riscv/attribute-unknown.s: Likewise.
419         * testsuite/gas/riscv/empty.l: Likewise.
420         * doc/c-riscv.texi (.attribute): Add documentation.
421         * configure.ac (--enable-default-riscv-attribute): New options.
422         * configure: Re-generate.
423         * config.in: Re-generate.
424
425 2019-01-16  John Darrington <john@darrington.wattle.id.au>
426
427         * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
428         before the contents.
429         * testsuite/gas/s12z/labels.d: New file.
430         * testsuite/gas/s12z/labels.s: New file.
431         * testsuite/gas/s12z/s12z.exp: Add them.
432         * config/tc-s12z.c (tfr): Change as_bad to as_warn.
433         Also fix message typo and semantics.
434         * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
435         BFD_RELOC_24.
436         * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
437         of R_S12Z_EXT24.
438
439 2019-01-14  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
440
441         * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
442         (insns) [ARM_VARIANT]: Modified.
443         (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
444         in ARMv6T2 as well.
445         * testsuite/gas/arm/archv6t2-1.d: New test.
446         * testsuite/gas/arm/archv6t2-1.s: Likewise.
447         * testsuite/gas/arm/archv6t2-2.d: Likewise.
448
449 2019-01-11  Alan Modra  <amodra@gmail.com>
450
451         PR 23963
452         * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
453         * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
454
455 2019-01-10  Nick Clifton  <nickc@redhat.com>
456
457         PR 23963
458         * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
459         fact that control characters are now displayed as escape
460         sequences.
461         * testsuite/gas/mips/mips16-e.d: Likewise.
462         * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
463         * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
464         * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
465         * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
466         * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
467         * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
468         * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
469         * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
470         * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
471         * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
472         * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
473         * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
474         * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
475         * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
476         * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
477         Likewise.
478         * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
479         Likewise.
480         * testsuite/gas/mips/mipsel16-e.d: Likewise.
481         * testsuite/gas/mips/mipsr6@msa.d: Likewise.
482         * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
483         * testsuite/gas/mips/r6-64-n32.d: Likewise.
484         * testsuite/gas/mips/r6-64-n64.d: Likewise.
485         * testsuite/gas/mips/r6-n32.d: Likewise.
486         * testsuite/gas/mips/r6-n64.d: Likewise.
487         * testsuite/gas/mips/r6.d: Likewise.
488         * testsuite/gas/mips/tmips16-e.d: Likewise.
489         * testsuite/gas/mips/tmipsel16-e.d: Likewise.
490         * testsuite/gas/mn10300/relax.d: Likewise.
491
492 2019-01-09  John Darrington <john@darrington.wattle.id.au>
493
494         * testsuite/gas/s12z/jsr.s: New case.
495         * testsuite/gas/s12z/jsr.d: New case.
496
497 2019-01-09  Andrew Paprocki  <andrew@ishiboo.com>
498
499         * configure: Regenerate.
500
501 2019-01-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
502
503         * config/tc-aarch64.c (aarch64_cpus): Add ares.
504         * doc/c-aarch64.texi (-mcpu): Document ares value.
505
506 2019-01-08  Alan Modra  <amodra@gmail.com>
507
508         * testsuite/gas/rx/rx.exp: Create generated test source in
509         current directory.
510         * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
511         * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
512         * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
513         * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
514         * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
515         * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
516         * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
517         * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
518         * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
519         * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
520         * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
521         * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
522         * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
523         * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
524         * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
525         * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
526         * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
527         * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
528         * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
529         * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
530         * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
531         * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
532         * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
533         * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
534         * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
535         * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
536         * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
537         * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
538         * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
539         * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
540         * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
541         * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
542         * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
543         * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
544         * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
545         * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
546         * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
547         * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
548         * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
549         * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
550         * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
551         * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
552         * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
553         * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
554         * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
555         * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
556         * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
557         * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
558         * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
559         * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
560         * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
561         * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
562         * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
563         * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
564         * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
565         * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
566         * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
567         * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
568         * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
569         * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
570         * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
571         * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
572         * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
573         * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
574         * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
575         * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
576         * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
577         * testsuite/gas/rx/xor.d: Add #source line.
578
579 2019-01-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
580
581         * config/tc-arm.c (arm_cpus): Add ares.
582         * doc/c-arm.texi (-mcpu): Document ares value.
583
584 2019-01-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
585
586         * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
587         (rx_bfield): Add prototype.
588         (rx_post): Likewise.
589         * config/rx-parse.y: Add v3 instructions and Double FPU registers.
590         (DSIZE): Define.
591         (POST): Define.
592         (rx_check_v3): New. check v3 type.
593         (rx_check_dfpu): New. check have double support.
594         (double_condition_table): New. dcmp<cond> contiditon.
595         (check_condition): Multiple condition support.
596         (rx_lex): RXv3 instructions support.
597         Add parse dcmp<cond> instruction and Double FPU registers.
598         (immediate): Disable optimize in dmov #imm case.
599         (displacement): Add double displacement in dmov instraction.
600         * config/tc-rx.c (rx_use_conventional_section_names):
601         Invert default value in rx-*-linux target.
602         (cpu_type): Add additional ELF flags.
603         (cpu_type_list): Add RXv3.
604         (md_parse_option): Refer elf_flags from cpu_type_list.
605         (md_show_usage): Add rxv3 and rxv3-dfpu.
606         (rx_bytesT): Add post byte.
607         (rx_bfield): New. generate bfmov / bfmovz "imm" field.
608         (rx_post): New. Set instruction post byte.
609         (md_assemble): Add post byte.
610         doc/c-rx.texi: Add cpu types.
611         * testsuite/gas/rx/Xtod.d: New.
612         * testsuite/gas/rx/Xtod.sm: New.
613         * testsuite/gas/rx/bfmov.d: New.
614         * testsuite/gas/rx/bfmov.sm: New.
615         * testsuite/gas/rx/dabs.d: New.
616         * testsuite/gas/rx/dabs.sm: New.
617         * testsuite/gas/rx/dadd.d: New.
618         * testsuite/gas/rx/dadd.sm: New.
619         * testsuite/gas/rx/dcmp.d: New.
620         * testsuite/gas/rx/dcmp.sm: New.
621         * testsuite/gas/rx/ddiv.d: New.
622         * testsuite/gas/rx/ddiv.sm: New.
623         * testsuite/gas/rx/dmov.d: New.
624         * testsuite/gas/rx/dmov.sm: New.
625         * testsuite/gas/rx/dmul.d: New.
626         * testsuite/gas/rx/dmul.sm: New.
627         * testsuite/gas/rx/dneg.d: New.
628         * testsuite/gas/rx/dneg.sm: New.
629         * testsuite/gas/rx/dpopm.d: New.
630         * testsuite/gas/rx/dpopm.sm: New.
631         * testsuite/gas/rx/dpushm.d: New.
632         * testsuite/gas/rx/dpushm.sm: New.
633         * testsuite/gas/rx/dround.d: New.
634         * testsuite/gas/rx/dround.sm: New.
635         * testsuite/gas/rx/dsqrt.d: New.
636         * testsuite/gas/rx/dsqrt.sm: New.
637         * testsuite/gas/rx/dsub.d: New.
638         * testsuite/gas/rx/dsub.sm: New.
639         * testsuite/gas/rx/dtoX.d: New.
640         * testsuite/gas/rx/dtoX.sm: New.
641         * testsuite/gas/rx/macros.inc: Add double FPU registers.
642         * testsuite/gas/rx/mvfdc.d: New.
643         * testsuite/gas/rx/mvfdc.sm: New.
644         * testsuite/gas/rx/mvfdr.d: New.
645         * testsuite/gas/rx/mvfdr.sm: New.
646         * testsuite/gas/rx/mvtdc.d: New.
647         * testsuite/gas/rx/mvtdc.sm: New.
648         * testsuite/gas/rx/rstr.d: New.
649         * testsuite/gas/rx/rstr.sm: New.
650         * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
651         * testsuite/gas/rx/save.d: New.
652         * testsuite/gas/rx/save.sm: New.
653         * testsuite/gas/rx/xor.d: New.
654         * testsuite/gas/rx/xor.sm: Add pattern.
655
656 2019-01-04  Wu Heng  <wu.heng@zte.com.cn>
657
658         PR 24010
659         * macro.c (get_any_string): Check for end of input whilst scanning
660         for separators.
661
662 2019-01-04  Wu Heng  <wu.heng@zte.com.cn>
663
664         PR 24009
665         * read.c (stringer): Fix handling of missing '>' character at end
666         of <...> sequence.
667
668 2019-01-01  Alan Modra  <amodra@gmail.com>
669
670         Update year range in copyright notice of all files.
671
672 For older changes see ChangeLog-2018
673 \f
674 Copyright (C) 2019 Free Software Foundation, Inc.
675
676 Copying and distribution of this file, with or without modification,
677 are permitted in any medium without royalty provided the copyright
678 notice and this notice are preserved.
679
680 Local Variables:
681 mode: change-log
682 left-margin: 8
683 fill-column: 74
684 version-control: never
685 End: