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