Automatic date update in version.in
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
de89d0a3
IT
12018-04-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2
3 * config/tc-i386.c (cpu_arch): Add WAITPKG.
4 (cpu_noarch): Likewise.
5 * doc/c-i386.texi: Document WAITPKG.
6 * i386/i386.exp: Run WAITPKG tests.
7 * testsuite/gas/i386/waitpkg-intel.d: New test.
8 * testsuite/gas/i386/waitpkg.d: Likewise.
9 * testsuite/gas/i386/waitpkg.s: Likewise.
10 * testsuite/gas/i386/x86-64-waitpkg-intel.d: Likewise.
11 * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
12 * testsuite/gas/i386/x86-64-waitpkg.s: Likewise.
13
a8eb42a8
AM
142018-04-11 Alan Modra <amodra@gmail.com>
15
16 * config/aout_gnu.h: Delete.
17 * config/tc-i860.c: Delete.
18 * config/tc-i860.h: Delete.
19 * config/tc-i960.c: Delete.
20 * config/tc-i960.h: Delete.
21 * doc/c-i860.texi: Delete.
22 * doc/c-i960.texi: Delete.
23 * testsuite/gas/i860/README.i860: Delete.
24 * testsuite/gas/i860/bitwise.d: Delete.
25 * testsuite/gas/i860/bitwise.s: Delete.
26 * testsuite/gas/i860/branch.d: Delete.
27 * testsuite/gas/i860/branch.s: Delete.
28 * testsuite/gas/i860/bte.d: Delete.
29 * testsuite/gas/i860/bte.s: Delete.
30 * testsuite/gas/i860/dir-align01.d: Delete.
31 * testsuite/gas/i860/dir-align01.s: Delete.
32 * testsuite/gas/i860/dir-intel01.d: Delete.
33 * testsuite/gas/i860/dir-intel01.s: Delete.
34 * testsuite/gas/i860/dir-intel02.d: Delete.
35 * testsuite/gas/i860/dir-intel02.s: Delete.
36 * testsuite/gas/i860/dir-intel03-err.l: Delete.
37 * testsuite/gas/i860/dir-intel03-err.s: Delete.
38 * testsuite/gas/i860/dual01.d: Delete.
39 * testsuite/gas/i860/dual01.s: Delete.
40 * testsuite/gas/i860/dual02-err.l: Delete.
41 * testsuite/gas/i860/dual02-err.s: Delete.
42 * testsuite/gas/i860/dual03.d: Delete.
43 * testsuite/gas/i860/dual03.s: Delete.
44 * testsuite/gas/i860/fldst01.d: Delete.
45 * testsuite/gas/i860/fldst01.s: Delete.
46 * testsuite/gas/i860/fldst02.d: Delete.
47 * testsuite/gas/i860/fldst02.s: Delete.
48 * testsuite/gas/i860/fldst03.d: Delete.
49 * testsuite/gas/i860/fldst03.s: Delete.
50 * testsuite/gas/i860/fldst04.d: Delete.
51 * testsuite/gas/i860/fldst04.s: Delete.
52 * testsuite/gas/i860/fldst05.d: Delete.
53 * testsuite/gas/i860/fldst05.s: Delete.
54 * testsuite/gas/i860/fldst06.d: Delete.
55 * testsuite/gas/i860/fldst06.s: Delete.
56 * testsuite/gas/i860/fldst07.d: Delete.
57 * testsuite/gas/i860/fldst07.s: Delete.
58 * testsuite/gas/i860/fldst08.d: Delete.
59 * testsuite/gas/i860/fldst08.s: Delete.
60 * testsuite/gas/i860/float01.d: Delete.
61 * testsuite/gas/i860/float01.s: Delete.
62 * testsuite/gas/i860/float02.d: Delete.
63 * testsuite/gas/i860/float02.s: Delete.
64 * testsuite/gas/i860/float03.d: Delete.
65 * testsuite/gas/i860/float03.s: Delete.
66 * testsuite/gas/i860/float04.d: Delete.
67 * testsuite/gas/i860/float04.s: Delete.
68 * testsuite/gas/i860/form.d: Delete.
69 * testsuite/gas/i860/form.s: Delete.
70 * testsuite/gas/i860/i860.exp: Delete.
71 * testsuite/gas/i860/iarith.d: Delete.
72 * testsuite/gas/i860/iarith.s: Delete.
73 * testsuite/gas/i860/ldst01.d: Delete.
74 * testsuite/gas/i860/ldst01.s: Delete.
75 * testsuite/gas/i860/ldst02.d: Delete.
76 * testsuite/gas/i860/ldst02.s: Delete.
77 * testsuite/gas/i860/ldst03.d: Delete.
78 * testsuite/gas/i860/ldst03.s: Delete.
79 * testsuite/gas/i860/ldst04.d: Delete.
80 * testsuite/gas/i860/ldst04.s: Delete.
81 * testsuite/gas/i860/ldst05.d: Delete.
82 * testsuite/gas/i860/ldst05.s: Delete.
83 * testsuite/gas/i860/ldst06.d: Delete.
84 * testsuite/gas/i860/ldst06.s: Delete.
85 * testsuite/gas/i860/pfam.d: Delete.
86 * testsuite/gas/i860/pfam.s: Delete.
87 * testsuite/gas/i860/pfmam.d: Delete.
88 * testsuite/gas/i860/pfmam.s: Delete.
89 * testsuite/gas/i860/pfmsm.d: Delete.
90 * testsuite/gas/i860/pfmsm.s: Delete.
91 * testsuite/gas/i860/pfsm.d: Delete.
92 * testsuite/gas/i860/pfsm.s: Delete.
93 * testsuite/gas/i860/pseudo-ops01.d: Delete.
94 * testsuite/gas/i860/pseudo-ops01.s: Delete.
95 * testsuite/gas/i860/regress01.d: Delete.
96 * testsuite/gas/i860/regress01.s: Delete.
97 * testsuite/gas/i860/shift.d: Delete.
98 * testsuite/gas/i860/shift.s: Delete.
99 * testsuite/gas/i860/simd.d: Delete.
100 * testsuite/gas/i860/simd.s: Delete.
101 * testsuite/gas/i860/system.d: Delete.
102 * testsuite/gas/i860/system.s: Delete.
103 * testsuite/gas/i860/xp.d: Delete.
104 * testsuite/gas/i860/xp.s: Delete.
105 * Makefile.am: Remove i860 and i960 support.
106 * configure.tgt: Likewise.
107 * doc/Makefile.am: Likewise.
108 * doc/all.texi: Likewise.
109 * testsuite/gas/all/gas.exp
110 * config/obj-coff.h: Remove i960 support.
111 * doc/internals.texi: Likewise.
112 * expr.c: Likewise.
113 * read.c: Likewise.
114 * write.c: Likewise.
115 * write.h: Likewise.
116 * testsuite/gas/lns/lns.exp: Likewise.
117 * testsuite/gas/symver/symver.exp: Likewise.
118 * config/tc-m68k.c: Remove BOUT support.
119 * config/tc-score.c: Likewise.
120 * config/tc-score7.c: Likewise.
121 * config/tc-sparc.c: Likewise.
122 * symbols.c: Likewise.
123 * doc/h8.texi: Likewise.
124 * configure.ac: Remove BOUT and i860 support.
125 * doc/as.texinfo: Remove BOUT, i860 and i960 support
126 * Makefile.in: Regenerate.
127 * config.in: Regenerate.
128 * configure: Regenerate.
129 * doc/Makefile.in: Regenerate.
130 * po/POTFILES.in: Regenerate.
131
3cba8b6c
L
1322018-04-05 H.J. Lu <hongjiu.lu@intel.com>
133
134 PR gas/22318
135 * configure: Regenerated.
136
caf0678c
L
1372018-04-04 H.J. Lu <hongjiu.lu@intel.com>
138
139 PR binutils/23025
140 * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with
141 VEX and EVEX prefixes.
142 * testsuite/gas/i386/prefix.d: Updated.
143
f2ab4b42
PB
1442018-03-30 Peter Bergner <bergner@vnet.ibm.com>
145
146 PR binutils/23013
147 * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64
148 and little endian.
149
84f1b9fb
RL
1502018-03-28 Renlin Li <renlin.li@arm.com>
151
152 PR ld/22970
153 * config/tc-aarch64.c (reloc_table): Update entry for tprel_lo12 and
154 tprel_lo12_nc with pseudo relocations.
155 (ldst_lo12_determine_real_reloc_type): Add new relocations support.
156 (parse_operands): Handle BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 and
157 BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC pseudo relocations.
158 (md_apply_fix): Add handling for new relocation.
159 (aarch64_force_relocation): Likewise.
160 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d: New.
161 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s: New.
162 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d: New.
163 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s: New.
164 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d: New.
165 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s: New.
166 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d: New.
167 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s: New.
168 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d: New.
169 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s: New.
170 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d: New.
171 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s: New.
172 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d: New.
173 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s: New.
174 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d: New.
175 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s: New.
176 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d: New.
177 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d: New.
178 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d: New.
179 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d: New.
180 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d: New.
181 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d: New.
182 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d: New.
183 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d: New.
184
c39e5b26
JB
1852018-03-28 Jan Beulich <jbeulich@suse.com>
186
187 * config/tc-i386.c (check_VecOperands): Replace uses of
188 .vecesize. Always initialize op.
189 * testsuite/gas/i386/avx512_vpopcntdq.s,
190 testsuite/gas/i386/avx512bitalg_vl.s: Add Intel syntax vpopcnt
191 broadcast cases with explicit operand size.
192 * testsuite/gas/i386/avx512_vpopcntdq.d,
193 testsuite/gas/i386/avx512_vpopcntdq-intel.d,
194 testsuite/gas/i386/avx512bitalg_vl.d
195 testsuite/gas/i386/avx512bitalg_vl-intel.d: Adjust expectations.
196
8e6e0792
JB
1972018-03-28 Jan Beulich <jbeulich@suse.com>
198
199 * config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
200 (check_VecOperands): Re-write broadcast validation code.
201 (check_VecOperations): Replace BROADCAST_1TO* uses.
202 * testsuite/gas/i386/inval-avx512f.s: Add various broadcast
203 cases.
204 * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
205
9f123b91
JB
2062018-03-28 Jan Beulich <jbeulich@suse.com>
207
208 * config/tc-i386.c (process_suffix): Check .todword/.toqword
209 before zapping suffix.
210
9646c87b
JB
2112018-03-28 Jan Beulich <jbeulich@suse.com>
212
213 * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d,
214 testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from
215 cvt*2si.
216
c8d59609
NC
2172018-03-28 Nick Clifton <nickc@redhat.com>
218
219 PR 22988
220 * config/tc-aarch64.c (parse_operands): Add code to handle
221 AARCH64_OPN_SVE_ADDR_R.
222 * testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions
223 with an assumed XZR offset address register.
224 * testsuite/gas/aarch64/sve.d: Update expected disassembly.
225
32546502
JB
2262018-03-22 Jan Beulich <jbeulich@suse.com>
227
228 * config/tc-i386.c (check_VecOperands): Latch
229 i.broadcast->operand into op.
230
1212781b
JB
2312018-03-22 Jan Beulich <jbeulich@suse.com>
232
233 * config/tc-i386.c (match_template): Special case base opcode
234 0xa0 with HLE prefix.
235 * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases.
236 * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d:
237 Adjust expectations.
238
9f79e886
JB
2392018-03-22 Jan Beulich <jbeulich@suse.com>
240
241 * testsuite/gas/i386/opts.s: Add bndmov cases.
242 * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d,
243 testsuite/gas/i386/sse2avx-opts.d,
244 testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations.
245
d6793fa1
JB
2462018-03-22 Jan Beulich <jbeulich@suse.com>
247
248 * config/tc-i386.c (match_mem_size): Extend sub-xmmword
249 exceptions.
250 * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s:
251 New.
252 * testsuite/gas/i386/i386.exp: Run new test.
253
f7768225
JB
2542018-03-22 Jan Beulich <jbeulich@suse.com>
255
256 * config/tc-i386.c (match_template): Also match 2nd and 4th
257 operand's register sizes.
258 * testsuite/gas/i386/unspec.l, testsuite/gas/i386/unspec.s: New.
259 * testsuite/gas/i386/i386.exp: Run new test.
260
315aa1cf
NC
2612018-03-19 Nick Clifton <nickc@redhat.com>
262
263 * po/uk.po: Updated Ukranian translation.
264
ca2fd32c
JW
2652018-03-16 Jim Wilson <jimw@sifive.com>
266
267 * config/tc-riscv.c (check_absolute_expr): Expand comment. New
268 parameter maybe_csr. If maybe_csr and O_symbol, print CSR name.
269 (riscv_ip): Add new argument to check_absolute_expr calls.
270 * testsuite/gas/riscv/bad-csr.d: New.
271 * testsuite/gas/riscv/bad-csr.l: New.
272 * testsuite/gas/riscv/bad-csr.s: New.
273
0e35537d
JW
2742018-03-14 Kito Cheng <kito.cheng@gmail.com>
275
276 * config/tc-riscv.c (opcode_name_list): New.
277 (opcode_names_hash): Likewise.
278 (init_opcode_names_hash): Likewise.
279 (opcode_name_lookup): Likewise.
280 (validate_riscv_insn): New argument length, and add new format
281 which used in .insn directive.
282 (md_begin): Refine hash table initialization logic into
283 init_opcode_hash.
284 (init_opcode_hash): New.
285 (my_getOpcodeExpression): Parse opcode name for .insn.
286 (riscv_ip): New argument hash, able to handle .insn directive.
287 (s_riscv_insn): Handler for .insn directive.
288 (riscv_pseudo_table): New entry for .insn.
289 * doc/c-riscv.texi: Add documentation for .insn directive.
290 * testsuite/gas/riscv/insn.d: Add testcase for .insn directive.
291 * testsuite/gas/riscv/insn.s: Likewise.
292
b4a3689a
NC
2932018-03-13 Nick Clifton <nickc@redhat.com>
294
295 * po/ru.po: Updated Russian translation.
296
80c34c38
L
2972018-03-09 H.J. Lu <hongjiu.lu@intel.com>
298
299 * config/tc-i386.c (optimize_encoding): Encode EVEX instructions
300 with VEX128 if EVEX encoding isn't required.
301 * testsuite/gas/i386/optimize-1.d: Updated.
302 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
303
0ba3a731
L
3042018-03-09 H.J. Lu <hongjiu.lu@intel.com>
305
306 * config/tc-i386.c (check_VecOperations): Strip whitespace.
307 * testsuite/gas/i386/optimize-1.s: Add whitespaces before
308 {%k7} and {z},
309 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
310
0089dace
L
3112018-03-08 H.J. Lu <hongjiu.lu@intel.com>
312
313 * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags.
314 (md_parse_option): Likewise.
315 (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags
316 for cpuavx512vl instead of cpu_arch_flags. Optimize EVEX with
317 EVEX128 when EVEX encoding is required.
318 * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5,
319 x86-64-optimize-5 and x86-64-optimize-6.
320 * testsuite/gas/i386/optimize-1.d: Updated.
321 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
322 * testsuite/gas/i386/optimize-4.d: New file.
323 * testsuite/gas/i386/optimize-4.s: Likewise.
324 * testsuite/gas/i386/optimize-5.d: Likewise.
325 * testsuite/gas/i386/optimize-5.s: Likewise.
326 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
327 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
328 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
329 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
330
d3d50934
L
3312018-03-08 H.J. Lu <hongjiu.lu@intel.com>
332
333 * config/tc-i386.c (optimize_encoding): Also encode "clr reg64"
334 as "xor reg32, reg32".
335 * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests.
336 * testsuite/gas/i386/x86-64-optimize-1.d: Updated.
337
bd5dea88
L
3382018-03-08 H.J. Lu <hongjiu.lu@intel.com>
339
340 * NEWS: Mention -mold-gcc removal.
341 * config/tc-i386.c (i386_error): Remove old_gcc_only.
342 (old_gcc): Removed.
343 (match_template): Remove old gcc support.
344 (OPTION_MOLD_GCC): Removed.
345 (OPTION_MRELAX_RELOCATIONS): Updated.
346 (md_longopts): Remove OPTION_MOLD_GCC.
347 (md_parse_option): Likewise.
348 (md_show_usage): Remove -mold-gcc.
349 * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old
350 (<= 2.8.1) versions of gcc.
351 * testsuite/gas/i386/intel.s: Likewise.
352 * testsuite/gas/i386/general.l: Updated.
353 * testsuite/gas/i386/intel-intel.d: Likewise.
354 * testsuite/gas/i386/intel.d: Likewise.
355 * testsuite/gas/i386/intel.e: Likewise.
356 * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general.
357
e771e7c9
JB
3582018-03-08 Jan Beulich <jbeulich@suse.com>
359
360 * config/tc-i386.c (is_evex_encoding): New.
361 (optimize_encoding, md_assemble, md_assemble,
362 VEX_check_operands, build_modrm_byte): Use is_evex_encoding.
363 (build_evex_prefix): Derive EVEX length field from actual
364 operands if the template allows multiple ones.
365
ed438a93
JB
3662018-03-08 Jan Beulich <jbeulich@suse.com>
367
368 * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope
369 with 3rd (immediate) operand.
370
d2224064
JB
3712018-03-08 Jan Beulich <jbeulich@suse.com>
372
373 * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX,
374 ZMMWORD_MNEM_SUFFIX): Delete.
375 (process_suffix): Drop their uses. Re-arrange final part of
376 logic into a switch() statement. Drop special casing of
377 cmpxchg8b.
378
23e42951
JB
3792018-03-08 Jan Beulich <jbeulich@suse.com>
380
381 * config/tc-i386.c (match_template): Also match register
382 operands 0 and 2 for 3-operand forms.
383 * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s:
384 New.
385 * testsuite/gas/i386/i386.exp: Run new test.
386
8819ada6
JB
3872018-03-08 Jan Beulich <jbeulich@suse.com>
388
389 * config/tc-i386.c (process_suffix): Do common part of register
390 checks first.
391
548d0ee6
JB
3922018-03-08 Jan Beulich <jbeulich@suse.com>
393
394 * config/tc-i386.c (parse_insn): Move success return up. Combine
395 failure returns.
396
929f69fa
JB
3972018-03-08 Jan Beulich <jbeulich@suse.com>
398
399 * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX
400 logic. Add respective logic for AVX512F.
401 * testsuite/gas/i386/arch-avx-1.s: Add GFNI test.
402 testsuite/gas/i386/arch-avx-1.d,
403 testsuite/gas/i386/arch-avx-1-1.l,
404 testsuite/gas/i386/arch-avx-1-2.l,
405 testsuite/gas/i386/arch-avx-1-3.l,
406 testsuite/gas/i386/arch-avx-1-4.l,
407 testsuite/gas/i386/arch-avx-1-5.l,
408 testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations.
409 * testsuite/gas/i386/arch-avx-1-7.l,
410 testsuite/gas/i386/arch-avx-1-7.s,
411 testsuite/gas/i386/arch-avx-1-8.l,
412 testsuite/gas/i386/arch-avx-1-8.s,
413 testsuite/gas/i386/avx512f-plain.l,
414 testsuite/gas/i386/avx512f-plain.s,
415 testsuite/gas/i386/avx512vl-plain.l,
416 testsuite/gas/i386/avx512vl-plain.s: New.
417 * testsuite/gas/i386/i386.exp: Run new tests.
418
ab592e75
JB
4192018-03-08 Jan Beulich <jbeulich@suse.com>
420
421 * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead.
422
db12e14e
JB
4232018-03-08 Jan Beulich <jbeulich@suse.com>
424
425 * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete.
426 (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of
427 CPU_FLAGS_32BIT_MATCH.
428
b9d49817
JB
4292018-03-08 Jan Beulich <jbeulich@suse.com>
430
431 * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
432 CPU_FLAGS_PCLMUL_MATCH): Delete.
433 (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
434 (cpu_flags_match): Combine AVX checks into
435 single if().
436
bcb1753e
JB
4372018-03-08 Jan Beulich <jbeulich@suse.com>
438
439 * config/tc-i386.c (cpu_flags_match): Drop "else" branches
440 setting CPU_FLAGS_ARCH_MATCH.
441
6e3e5c9e
JB
4422018-03-08 Jan Beulich <jbeulich@suse.com>
443
444 * config/tc-i386.c (md_assemble): Extend SSE check conditional.
445 * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d,
446 testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
447 testsuite/gas/i386/ilp32/x86-64-sse-check.d,
448 testsuite/gas/i386/sse-check-none.d,
449 testsuite/gas/i386/sse-check-warn.d,
450 testsuite/gas/i386/x86-64-sse-check.d,
451 testsuite/gas/i386/x86-64-sse-check-none.d,
452 testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d.
453 * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL
454 tests.
455 * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
456 of sse-check.s.
457 * testsuite/gas/i386/sse-check.d: Adjust expectations.
458 * testsuite/gas/i386/sse-check-error.l,
459 testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
460 * testsuite/gas/i386/sse-check-warn.e: Likewise.
461
38e314eb
JB
4622018-03-08 Jan Beulich <jbeulich@suse.com>
463
464 * config/tc-i386.c (operand_size_match): Drop / replace uses of
465 .floatd.
466
d53e6b98
JB
4672018-03-08 Jan Beulich <jbeulich@suse.com>
468
469 * testsuite/gas/i386/intel-intel.d: New.
470 * testsuite/gas/i386/i386.exp: Run new test.
471
a477a8c4
JB
4722018-03-08 Jan Beulich <jbeulich@suse.com>
473
474 * config/tc-i386.c (process_operands): Access operands only
475 after operand count assertion. Sanitize warning text. Fix
476 indentation.
477 * testsuite/gas/i386/avx512_4fmaps-warn.l,
478 gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
479
2907c2f5
JB
4802018-03-08 Jan Beulich <jbeulich@suse.com>
481
482 * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
483 * testsuite/gas/i386/x86-64-movd.d,
484 testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
485
73053c1f
JB
4862018-03-08 Jan Beulich <jbeulich@suse.com>
487
488 * config/tc-i386.c (operand_type_and_not): New.
489 (build_modrm_byte): Use it to prevent clearing unrelated bits.
490
6a7524c6
AM
4912018-03-08 Alan Modra <amodra@gmail.com>
492
493 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
494 don't emit a group terminating nop for power9. Simplify cpu
495 tests.
496
3fea0c3b
AM
4972018-03-08 Alan Modra <amodra@gmail.com>
498
499 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
500 terminating nop for power9.
501
3ae729d5
L
5022018-03-07 H.J. Lu <hongjiu.lu@intel.com>
503
504 PR gas/22874
505 * config/tc-i386.c (f32_5): Removed.
506 (f32_8): Likewise.
507 (f32_9): Likewise.
508 (f32_10): Likewise.
509 (f32_11): Likewise.
510 (f32_12): Likewise.
511 (f32_13): Likewise.
512 (f32_14): Likewise.
513 (f16_5): Likewise.
514 (f16_6): Likewise.
515 (f16_7): Likewise.
516 (f16_8): Likewise.
517 (jump_31): Likewise.
518 (alt64_11): Likewise.
519 (alt64_patt): Likewise.
520 (jump_disp8): New.
521 (jump32_disp32): Likewise.
522 (jump16_disp32): Likewise.
523 (alt_11): Likewise.
524 (f32_patt): Updated.
525 (f16_patt): Likewise.
526 (alt_patt): Add alt_11.
527 (i386_align_code): Merged with ...
528 (i386_generate_nops): This. Rewritten.
529 (fits_in_imm7): Moved before i386_generate_nops.
530 (fits_in_imm31): Likewise.
531 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
532 4095.
533 (i386_align_code): Removed.
534 (HANDLE_ALIGN): Rewritten with i386_generate_nops.
535 * doc/as.texinfo: Update limits of control byte for x86 .nops
536 directive.
537 * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
538 * gas/testsuite/gas/i386/noavx-3.l: Updated.
539 * gas/testsuite/gas/i386/nop-1.d: Likewise.
540 * gas/testsuite/gas/i386/nop-1.s: Likewise.
541 * gas/testsuite/gas/i386/nop-2.d: Likewise.
542 * gas/testsuite/gas/i386/nop-2.s: Likewise.
543 * gas/testsuite/gas/i386/nop-3.d: Likewise.
544 * gas/testsuite/gas/i386/nop-4.d: Likewise.
545 * gas/testsuite/gas/i386/nop-5.d: Likewise.
546 * gas/testsuite/gas/i386/nop-5.s: Likewise.
547 * gas/testsuite/gas/i386/nop-6.d: Likewise.
548 * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
549 * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
550 * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
551 * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
552 * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
553 * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
554 * gas/testsuite/gas/i386/nops-1.d: Likewise.
555 * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
556 * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
557 * gas/testsuite/gas/i386/nops-2.d: Likewise.
558 * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
559 * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
560 * gas/testsuite/gas/i386/nops-3.d: Likewise.
561 * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
562 * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
563 * gas/testsuite/gas/i386/nops-4.d: Likewise.
564 * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
565 * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
566 * gas/testsuite/gas/i386/nops-5.d: Likewise.
567 * gas/testsuite/gas/i386/nops-6.d: Likewise.
568 * gas/testsuite/gas/i386/nops16-1.d: Likewise.
569 * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
570 * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
571 * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
572 * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
573 * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
574 * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
575 * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
576 * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
577 * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
578 * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
579 * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
580 * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
581 * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
582 * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
583 * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
584 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
585 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
586 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
587 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
588 * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
589 * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
590 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
591 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
592 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
593 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
594 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
595 * gas/testsuite/gas/i386/nops-7.d: New file.
596 * gas/testsuite/gas/i386/nops-7.s: Likewise.
597 * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
598
52fe4420
AM
5992018-03-07 Alan Modra <amodra@gmail.com>
600
601 * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
602 * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
603 * testsuite/gas/ppc/machine.d: Don't run for PE targets.
604
e7da50fa
TP
6052018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
606
607 * config/tc-arm.c (md_begin): Add NULL pointer check before
608 dereferencing march_ext_opt.
609
4d354d8b
TP
6102018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
611
612 * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
613 legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
614 mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
615 mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
616 (dyn_mcpu_ext_opt): Also rename into ...
617 (mcpu_ext_opt): This.
618 (dyn_march_ext_opt): Also rename into ...
619 (march_ext_opt): This.
620 (object_arch): Also rename into ...
621 (selected_object_arch): This and make it a plain arm_feature_set
622 structure.
623 (selected_arch, selected_ext, selected_fpu): New static variables.
624 (mark_feature_used): Fix comments, feature is marked as used iff it is
625 currently allowed.
626 (do_bx): Adapt to change in name and type of object_arch.
627 (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
628 rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
629 Remove dead code to set default FPU if architecture version is greater
630 than 5. Set all CPU bits of cpu_variant directly in autodection
631 leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
632 (arm_parse_extension): Take extension feature set pointer parameter by
633 value rather than by pointer. Remove allocation code. Adapt code
634 accordingly.
635 (arm_parse_cpu): Adapt to variable renaming and changes in
636 arm_parse_extension () signature.
637 (arm_parse_arch): Likewise.
638 (aeabi_set_public_attributes): Also set selected_arch and selected_ext
639 in addition to selected_cpu. Set flags_arch and flags_ext from them
640 instead of selected_cpu. Adapt to variables renaming and type change.
641 (arm_md_post_relax): Adapt to variable renaming.
642 (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
643 mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and
644 cpu_variant from selected_cpu and selected_fpu.
645 (s_arm_arch): Likewise.
646 (s_arm_object_arch): Adapt to variable renaming.
647 (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
648 set against arm_any. Check selected_arch rather than *mcpu_cpu_opt.
649 Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
650 code.
651 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
652 bits if in autodetection mode.
653
8305403a
L
6542018-03-01 H.J. Lu <hongjiu.lu@intel.com>
655
656 * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
657 AVX512 vpsub[bwdq] instructions.
658 * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
659 AVX512 vpsub[bwdq] instructions.
660 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
661 * testsuite/gas/i386/optimize-1.d: Updated.
662 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
663
e184813f
AM
6642018-03-01 Alan Modra <amodra@gmail.com>
665
666 * configure.ac (ALL_LINGUAS): Add uk. Sort.
667 * configure: Regenerate.
668
8f065d3b
L
6692018-02-27 H.J. Lu <hongjiu.lu@intel.com>
670
671 * NEWS: Rename .nop to .nops.
672 * doc/as.texinfo: Likewise.
673 * read.c (potable): Add "nops". Remove "nop".
674 (s_nop): Renamed to ...
675 (s_nops): This.
676 * read.h (s_nop): Renamed to ...
677 (s_nops): This.
678 * write.c (cvt_frag_to_fill): Rename .nop to .nops.
679 (md_generate_nops): Likewise.
680 (relax_segment): Likewise.
681 * testsuite/gas/i386/nop-1.d: Updated.
682 * testsuite/gas/i386/nop-1.s: Likewise.
683 * testsuite/gas/i386/nop-2.d: Likewise.
684 * testsuite/gas/i386/nop-2.s: Likewise.
685 * testsuite/gas/i386/nop-3.d: Likewise.
686 * testsuite/gas/i386/nop-3.s: Likewise.
687 * testsuite/gas/i386/nop-4.d: Likewise.
688 * testsuite/gas/i386/nop-4.s: Likewise.
689 * testsuite/gas/i386/nop-5.d: Likewise.
690 * testsuite/gas/i386/nop-5.s: Likewise.
691 * testsuite/gas/i386/nop-6.d: Likewise.
692 * testsuite/gas/i386/nop-6.s: Likewise.
693 * testsuite/gas/i386/nop-bad-1.l: Likewise.
694 * testsuite/gas/i386/nop-bad-1.s: Likewise.
695 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
696 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
697 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
698 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
699 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
700 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
701
b6f8c7c4
L
7022018-02-27 H.J. Lu <hongjiu.lu@intel.com>
703
704 PR gas/22871
705 * NEWS: Mention -O[2|s].
706 * config/tc-i386.c (_i386_insn): Add no_optimize.
707 (optimize): New.
708 (optimize_for_space): Likewise.
709 (fits_in_imm7): New function.
710 (fits_in_imm31): Likewise.
711 (optimize_encoding): Likewise.
712 (md_assemble): Call optimize_encoding to optimize encoding.
713 (parse_insn): Handle {nooptimize}.
714 (md_shortopts): Append "O::".
715 (md_parse_option): Handle -On.
716 * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
717 as {nooptimize}.
718 * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
719 * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
720 * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
721 optimize-3, x86-64-optimize-1, x86-64-optimize-2,
722 x86-64-optimize-3 and x86-64-optimize-4.
723 * testsuite/gas/i386/optimize-1.d: New file.
724 * testsuite/gas/i386/optimize-1.s: Likewise.
725 * testsuite/gas/i386/optimize-2.d: Likewise.
726 * testsuite/gas/i386/optimize-2.s: Likewise.
727 * testsuite/gas/i386/optimize-3.d: Likewise.
728 * testsuite/gas/i386/optimize-3.s: Likewise.
729 * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
730 * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
731 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
732 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
733 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
734 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
735 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
736 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
737
bc7c0509
NC
7382018-02-27 Nick Clifton <nickc@redhat.com>
739
740 * po/ru.po: Updated Russian translation.
741
d7c79856
MR
7422018-02-26 Maciej W. Rozycki <macro@mips.com>
743
744 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
745 descriptions.
746
46c685ac
NC
7472018-02-26 Nick Clifton <nickc@redhat.com>
748
749 * doc/as.texinfo (Dc): Fix typo.
750
2c1c9679 7512018-02-26 Alan Modra <amodra@gmail.com>
6e05870c
AM
752
753 * testsuite/gas/mips/reginfo-2.l: Update.
754
7552018-02-23 Alan Modra <amodra@gmail.com>
2c1c9679
AM
756
757 * testsuite/gas/mips/reginfo-2.l: Update.
758
340d33e5
NC
7592018-02-23 Nick Clifton <nickc@redhat.com>
760
761 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
762
e859f655
KLC
7632018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
764
765 * config/tc-nds32.c (ict_model): New function. Hook new
766 directive .ict_model.
767 (nds32_insert_relax_entry): Tag the bits of entry relocation
768 for .ict_model.
769
6b6b6807
L
7702018-02-22 H.J. Lu <hongjiu.lu@intel.com>
771
772 * config/tc-i386.c (_i386_insn): Add rex_encoding.
773 (md_assemble): When i.rex_encoding is true, generate a REX byte
774 if possible.
775 (parse_insn): Set i.rex_encoding for {rex}.
776 * doc/c-i386.texi: Document {rex}.
777 * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
778 * testsuite/gas/i386/x86-64-pseudos.d: Updated.
779
39334a61
W
7802018-02-22 A. Wilcox <awilfox@adelielinux.org>
781
782 PR 22014
783 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
784 instruction size suffix.
785
1f1e0a5d
MR
7862018-02-20 Maciej W. Rozycki <macro@mips.com>
787
788 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
789 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
790 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
791 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
792 * testsuite/gas/mips/mips.exp: Run the new tests.
793
cd665a94
MF
7942018-02-20 Max Filippov <jcmvbkbc@gmail.com>
795
796 * config/tc-xtensa.c (struct litpool_frag): Add new field
797 literal_count.
798 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
799 (MAX_POOL_LITERALS): New macro definitions.
800 (auto_litpool_limit): Initialize to 0.
801 (md_parse_option): Set auto_litpool_limit in the presence of
802 --auto-litpools option.
803 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
804 literal_count field.
805 (xg_find_litpool): New function. Make sure that found literal
806 pool size is within the limit.
807 (xtensa_move_literals): Extract literal pool search code into
808 the new function.
809 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
810 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
811 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
812 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
813 addresses.
814 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
815 that objdump doesn't get out of sync.
816
8811c8f4
TP
8172018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
818
819 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
820 also the same as -march.
821
62a02d25
L
8222018-02-17 H.J. Lu <hongjiu.lu@intel.com>
823
824 * NEWS: Mention .nop directive.
825 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
826 * read.c (potable): Add .nop.
827 (s_nop): New function.
828 * read.h (s_nop): New prototype.
829 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
830 rs_fill_nop.
831 (md_generate_nops): New function.
832 (relax_segment): Likewise.
833 (write_contents): Use md_generate_nops for rs_fill_nop.
834 * config/tc-i386.c (alt64_11): New.
835 (alt64_patt): Likewise.
836 (md_convert_frag): Handle rs_space_nop.
837 (i386_output_nops): New function.
838 (i386_generate_nops): Likewise.
839 (i386_align_code): Call i386_output_nops.
840 * config/tc-i386.h (i386_generate_nops): New.
841 (md_generate_nops): Likewise.
842 * doc/as.texinfo: Document .nop directive.
843 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
844 * testsuite/gas/i386/nop-1.d: New file.
845 * testsuite/gas/i386/nop-1.s: Likewise.
846 * testsuite/gas/i386/nop-2.d: Likewise.
847 * testsuite/gas/i386/nop-2.s: Likewise.
848 * testsuite/gas/i386/nop-3.d: Likewise.
849 * testsuite/gas/i386/nop-3.s: Likewise.
850 * testsuite/gas/i386/nop-4.d: Likewise.
851 * testsuite/gas/i386/nop-4.s: Likewise.
852 * testsuite/gas/i386/nop-5.d: Likewise.
853 * testsuite/gas/i386/nop-5.s: Likewise.
854 * testsuite/gas/i386/nop-6.d: Likewise.
855 * testsuite/gas/i386/nop-6.s: Likewise.
856 * testsuite/gas/i386/nop-bad-1.l: Likewise.
857 * testsuite/gas/i386/nop-bad-1.s: Likewise.
858 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
859 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
860 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
861 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
862 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
863 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
864
49ded53d
TC
8652018-02-15 Tamar Christina <tamar.christina@arm.com>
866
867 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
868 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
869
db5d5ad1
MF
8702018-02-13 Max Filippov <jcmvbkbc@gmail.com>
871
872 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
873 frag that contains source address.
874
db7bf105
NC
8752018-02-13 Nick Clifton <nickc@redhat.com>
876
877 PR 22773
878 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
879 instruction before assuming that it is a MOV instruction.
880 * testsuite/gas/arm/pr22773.s: New test.
881 * testsuite/gas/arm/pr22773.d: New test driver.
882 * testsuite/gas/arm/pr22773.l: New expected output.
883
bd7ab16b
L
8842018-02-13 H.J. Lu <hongjiu.lu@intel.com>
885
886 PR gas/22791
887 * config/tc-i386.c (need_plt32_p): New function.
888 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
889 (md_estimate_size_before_relax): Likewise.
890 * testsuite/gas/i386/reloc64.d: Updated.
891 * testsuite/gas/i386/x86-64-jump.d: Likewise.
892 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
893 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
894 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
895 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
896 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
897 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
898
30147392
MR
8992018-02-13 Maciej W. Rozycki <macro@mips.com>
900
901 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
902
68d20676
NC
9032018-02-13 Nick Clifton <nickc@redhat.com>
904
905 PR 22823
906 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
907 casts.
908 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
909 (obj_elf_vtable_inherit): New stub function that calls
910 obj_elf_get_vtable_inherit.
911 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
912 (obj_elf_vtable_entry): New stub function that calls
913 obj_elf_get_vtable_entry.
914 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
915 (obj_elf_vtable_entry) Likewise.
916 (obj_elf_get_vtable_inherit) Likewise.
917 (obj_elf_get_vtable_entry) Likewise.
918 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
919 * config/tc-i386c (md_pseudo_table): Likewise.
920 * config/tc-hppa.c (pa_vtable_entry): Call
921 obj_elf_get_vtable_entry.
922 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
923 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
924 with call to dwarf2_get_filename.
925 * dwarf2dbg.c (dwarf2_directive_file): Rename to
926 dwarf2_directive_filename.
927 (dwarf2_directive_file): New stub function that calls
928 dwarf2_directive_filename.
929 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
930
12a43565
MR
9312018-02-12 Maciej W. Rozycki <macro@mips.com>
932
933 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
934 `as' flags.
935
d2159fdc
HW
9362018-02-12 Henry Wong <henry@stuffedcow.net>
937
938 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
939 * testsuite/gas/mips/r6-n32.d: Likewise.
940 * testsuite/gas/mips/r6-n64.d: Likewise.
941
7e784da5
NC
9422018-02-12 Nick Clifton <nickc@redhat.com>
943
944 * po/ru.po: Updated Russian translation.
945
a9479dc0
AM
9462018-02-08 Alan Modra <amodra@gmail.com>
947
948 PR 22819
949 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
950 (ppc_frag_check): Likewise.
951 * testsuite/gas/ppc/misalign.d,
952 * testsuite/gas/ppc/misalign.l,
953 * testsuite/gas/ppc/misalign.s: New test.
954 * testsuite/gas/ppc/misalign2.d,
955 * testsuite/gas/ppc/misalign2.s: New test.
956 * testsuite/gas/ppc/ppc.exp: Run them.
957
89424b1d
MR
9582018-02-05 Maciej W. Rozycki <macro@mips.com>
959
960 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
961 `expr' parameter to `ep'.
962
2d6dda71
MR
9632018-02-05 Maciej W. Rozycki <macro@mips.com>
964
965 * testsuite/gas/mips/reginfo-2.d: New test.
966 * testsuite/gas/mips/reginfo-2-n32.d: New test.
967 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
968 * testsuite/gas/mips/reginfo-2.s: New test source.
969 * testsuite/gas/mips/mips.exp: Run the new tests.
970
f174ef9f
NC
9712018-02-05 Nick Clifton <nickc@redhat.com>
972
973 * po/ru.po: Updated Russian translation.
974
ab1fadc6
AM
9752018-01-31 Alan Modra <amodra@gmail.com>
976
977 PR 22714
978 * app.c (last_char): New static var.
979 (struct app_save): Add last_char field.
980 (app_push, app_pop): Handle it.
981 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
982
d85815e2
EB
9832018-01-29 Eric Botcazou <ebotcazou@adacore.com>
984
985 PR gas/22738
986 * config/tc-sparc.h (sparc_mach): Declare.
987 (TARGET_MACH): Define to above.
988 * config/tc-sparc.c (sparc_mach): New function.
989 (sparc_md_end): Minor tweak.
990
c32b891a
NC
9912018-01-29 Nick Clifton <nickc@redhat.com>
992
993 * po/ru.po: Updated Russian translation.
994
1e3f5548
MR
9952018-01-26 Maciej W. Rozycki <macro@mips.com>
996
997 * configure.tgt: Use generic emulation for `mips-*-windiss',
998 overriding the blanket choice made for `*-*-windiss'.
999
c00f0d7a
MR
10002018-01-26 Maciej W. Rozycki <macro@mips.com>
1001
1002 * configure.tgt: Use `mips-*-sysv4*' rather than
1003 `mips-*-sysv4*MP*'.
1004
32247401
RL
10052018-01-24 Renlin Li <renlin.li@arm.com>
1006
1007 * config/tc-aarch64.c (reloc_table): add entries for
1008 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
1009 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
1010 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
1011 BFD_RELOC_AARCH64_MOVW_PREL_G3.
1012 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
1013 (md_apply_fix): Likewise
1014 * testsuite/gas/aarch64/prel_g0.s: New.
1015 * testsuite/gas/aarch64/prel_g0.d: New.
1016 * testsuite/gas/aarch64/prel_g0_nc.s: New.
1017 * testsuite/gas/aarch64/prel_g0_nc.d: New.
1018 * testsuite/gas/aarch64/prel_g1.s: New.
1019 * testsuite/gas/aarch64/prel_g1.d: New.
1020 * testsuite/gas/aarch64/prel_g1_nc.s: New.
1021 * testsuite/gas/aarch64/prel_g1_nc.d: New.
1022 * testsuite/gas/aarch64/prel_g2.s: New.
1023 * testsuite/gas/aarch64/prel_g2.d: New.
1024 * testsuite/gas/aarch64/prel_g2_nc.s: New.
1025 * testsuite/gas/aarch64/prel_g2_nc.d: New.
1026 * testsuite/gas/aarch64/prel_g3.s: New.
1027 * testsuite/gas/aarch64/prel_g3.d: New.
1028
0984958b
MR
10292018-01-23 Maciej W. Rozycki <macro@mips.com>
1030
1031 * configure.ac: Also set `mips_default_abi' to N32_ABI for
1032 `mips64*-ps2-elf*'.
1033 * configure: Regenerate.
1034
62fd0a98
MR
10352018-01-23 Maciej W. Rozycki <macro@mips.com>
1036
1037 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
1038 enum value.
1039
be3a8dca
IT
10402018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1041
1042 * config/tc-i386.c (cpu_arch): Add .pconfig.
1043 * doc/c-i386.texi: Document .pconfig.
1044 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
1045 * testsuite/gas/i386/pconfig-intel.d: New test.
1046 * testsuite/gas/i386/pconfig.d: Likewise.
1047 * testsuite/gas/i386/pconfig.s: Likewise.
1048 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
1049 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
1050 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
1051
3233d7d0
IT
10522018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1053
1054 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
1055 * doc/c-i386.texi: Document .wbnoinvd.
1056 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
1057 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
1058 * testsuite/gas/i386/wbnoinvd.d: Likewise.
1059 * testsuite/gas/i386/wbnoinvd.s: Likewise.
1060 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
1061 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
1062 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
1063
b4f6242e
MR
10642018-01-23 Maciej W. Rozycki <macro@mips.com>
1065
1066 * config/tc-mips.c (md_show_usage): Correctly indicate the
1067 configuration-specific default ABI.
1068
f866b262
MR
10692018-01-23 Maciej W. Rozycki <macro@mips.com>
1070
1071 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
1072 `-mno-mips16e2' options.
1073
75c80ee1
MR
10742018-01-22 Maciej W. Rozycki <macro@mips.com>
1075
1076 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
1077 Correct syntax of the `.set nomips16e2' directive description.
1078
49da480f
OE
10792018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
1080
1081 PR 22737
1082 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
1083 * testsuite/gas/rx/pr22737.s: New test.
1084 * testsuite/gas/rx/pr22737.d: Likewise.
1085 * testsuite/gas/rx/rx.exp: Run the new test.
1086
a3ab6cb0
TP
10872018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
1088
1089 * config/tc-arm.c (ToC macro): Remove spurious comment.
1090 (ToU macro): Likewise.
1091
e925c834
JW
10922018-01-17 Jim Wilson <jimw@sifive.com>
1093
1094 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
1095 (riscv_ip) <'z'>: New.
1096
d777820b
IT
10972018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1098
1099 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
1100 (cpu_noarch): Add noibt, noshstk.
1101 (parse_insn): Change cpucet to cpuibt.
1102 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
1103 * testsuite/gas/i386/cet-ibt-inval.l: New test.
1104 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
1105 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
1106 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
1107 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
1108 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
1109 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
1110 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
1111
f6efed01
NC
11122018-01-16 Nick Clifton <nickc@redhat.com>
1113
1114 * po/fr.po: Updated French translation.
1115
2721d702
JW
11162018-01-15 Jim Wilson <jimw@sifive.com>
1117
1118 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
1119 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
1120
cf3cf39d
TP
11212018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1122
1123 * config/tc-arm.c (ToC): Define macro.
1124 (ToU): Likewise.
1125 (insns): Make use of above macros for new instructions introduced in
1126 Armv8-M.
1127
2875ce2b
TP
11282018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1129
1130 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
1131 and vlstm conditionally executable and reindent parameters.
1132 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
1133 aforementionned instructions.
1134
df9909b8
TP
11352018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1136
1137 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
1138 profile architecture or if in autodetection mode. Clarify that
1139 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
1140 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
1141 message.
1142 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
1143 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
1144 * testsuite/gas/arm/udf.l: Likewise.
1145 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
1146
616dcb87
NC
11472018-01-15 Nick Clifton <nickc@redhat.com>
1148
1149 * po/uk.po: Updated Ukranian translation.
1150
3957a496
NC
11512018-01-13 Nick Clifton <nickc@redhat.com>
1152
1153 * po/gas.pot: Regenerated.
1154
769c7ea5
NC
11552018-01-13 Nick Clifton <nickc@redhat.com>
1156
1157 * configure: Regenerate.
1158
9176ac5b
NC
11592018-01-13 Nick Clifton <nickc@redhat.com>
1160
faf766e3 1161 2.30 branch created.
9176ac5b
NC
1162 * NEWS: Add marker for 2.30.
1163
b5b62006
GN
11642018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
1165
1166 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
1167 define to 0 and 1. Remove a dangling reference to "AMD 29000"
1168 in a comment.
1169
888a89da
IT
11702018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1171
1172 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
1173 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
1174 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
1175 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
1176 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
1177 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
1178 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
1179 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
1180 tests.
1181 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
1182 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
1183 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
1184 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
1185 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
1186 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
1187 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
1188 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
1189
b90d5ba0
AM
11902018-01-11 Alan Modra <amodra@gmail.com>
1191
1192 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
1193 positive "‘profile’ may be used uninitialized".
1194
cbda583a
JB
11952018-01-10 Jan Beulich <jbeulich@suse.com>
1196
1197 * testsuite/gas/i386/avx512_4fmaps.s,
1198 testsuite/gas/i386/avx512_4fmaps_vl.s,
1199 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
1200 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
1201 Disp8 forms (and the transition happening at the right
1202 boundary).
1203 * testsuite/gas/i386/avx512_4fmaps.d,
1204 testsuite/gas/i386/avx512_4fmaps-intel.d,
1205 testsuite/gas/i386/avx512_4fmaps_vl.d,
1206 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
1207 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
1208 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
1209 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
1210 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
1211 expectations.
1212
c9e92278
JB
12132018-01-10 Jan Beulich <jbeulich@suse.com>
1214
1215 * testsuite/gas/i386/avx512bw.s,
1216 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
1217 operands.
1218 * testsuite/gas/i386/avx512bw-intel.d,
1219 testsuite/gas/i386/avx512bw.d,
1220 testsuite/gas/i386/avx512bw_vl-intel.d.
1221 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
1222
35fd2b2b
JW
12232018-01-09 Jim Wilson <jimw@sifive.com>
1224
1225 * testsuite/gas/riscv/auipc-x0.d: New.
1226 * testsuite/gas/riscv/auipc-x0.s: New.
1227
91d8b670
JG
12282018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1229
1230 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
1231 in Arm execution state, and Armv6T2 and above in Thumb execution
1232 state.
1233 * testsuite/gas/arm/csdb.s: New.
1234 * testsuite/gas/arm/csdb.d: New.
1235 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
1236 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
1237
be2e7d95
JG
12382018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1239
1240 * testsuite/gas/aarch64/system.d: Update expected results to expect
1241 CSDB for hint 0x14.
1242
704a705d
L
12432018-01-08 H.J. Lu <hongjiu.lu@intel.com>
1244
1245 PR gas/22681
1246 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
1247 x86-64-movd-intel.
1248 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
1249 * testsuite/gas/i386/x86-64-movd.d: Likewise.
1250 * testsuite/gas/i386/x86-64-movd.s: Likewise.
1251
102e9361
NC
12522018-01-08 Nick Clifton <nickc@redhat.com>
1253
1254 PR 22553
1255 * doc/c-i386.texi (i386-Directives): Document the .largecomm
1256 directive.
1257
645a2c5b
JW
12582018-01-04 Jim Wilson <jimw@sifive.com>
1259
1260 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
1261 * testsuite/gas/riscv/priv-reg.d: Likewise.
1262
219d1afa
AM
12632018-01-03 Alan Modra <amodra@gmail.com>
1264
1265 Update year range in copyright notice of all files.
1266
806ab1c0
NC
12672018-01-02 Nick Clifton <nickc@redhat.com>
1268
1269 PR 18119
1270 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
1271 version of ARM MRS instruction.
1272
1e563868 1273For older changes see ChangeLog-2017
3499769a 1274\f
1e563868 1275Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1276
1277Copying and distribution of this file, with or without modification,
1278are permitted in any medium without royalty provided the copyright
1279notice and this notice are preserved.
1280
1281Local Variables:
1282mode: change-log
1283left-margin: 8
1284fill-column: 74
1285version-control: never
1286End:
This page took 0.217934 seconds and 4 git commands to generate.