1 2018-04-16 Alan Modra <amodra@gmail.com>
3 * app.c: Remove IEEE 695 support.
6 2018-04-16 Alan Modra <amodra@gmail.com>
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.
15 2018-04-15 H.J. Lu <hongjiu.lu@intel.com>
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.
22 2018-04-12 John Darrington <john@darrington.wattle.id.au>
24 * as.c (main): Fail if the output is the same as one of the input
26 * testsuite/gas/all/gas.exp: Test the new feature.
28 2018-04-12 Nick Clifton <nickc@redhat.com>
30 * po/es.po: Updated Spanish translation.
31 * po/ru.po: Updated Russian translation.
33 2018-04-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
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.
46 2018-04-11 Alan Modra <amodra@gmail.com>
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.
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.
164 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
167 * configure: Regenerated.
169 2018-04-04 H.J. Lu <hongjiu.lu@intel.com>
172 * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with
173 VEX and EVEX prefixes.
174 * testsuite/gas/i386/prefix.d: Updated.
176 2018-03-30 Peter Bergner <bergner@vnet.ibm.com>
179 * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64
182 2018-03-28 Renlin Li <renlin.li@arm.com>
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.
217 2018-03-28 Jan Beulich <jbeulich@suse.com>
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.
229 2018-03-28 Jan Beulich <jbeulich@suse.com>
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
236 * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
238 2018-03-28 Jan Beulich <jbeulich@suse.com>
240 * config/tc-i386.c (process_suffix): Check .todword/.toqword
241 before zapping suffix.
243 2018-03-28 Jan Beulich <jbeulich@suse.com>
245 * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d,
246 testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from
249 2018-03-28 Nick Clifton <nickc@redhat.com>
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.
258 2018-03-22 Jan Beulich <jbeulich@suse.com>
260 * config/tc-i386.c (check_VecOperands): Latch
261 i.broadcast->operand into op.
263 2018-03-22 Jan Beulich <jbeulich@suse.com>
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:
271 2018-03-22 Jan Beulich <jbeulich@suse.com>
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.
278 2018-03-22 Jan Beulich <jbeulich@suse.com>
280 * config/tc-i386.c (match_mem_size): Extend sub-xmmword
282 * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s:
284 * testsuite/gas/i386/i386.exp: Run new test.
286 2018-03-22 Jan Beulich <jbeulich@suse.com>
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.
293 2018-03-19 Nick Clifton <nickc@redhat.com>
295 * po/uk.po: Updated Ukranian translation.
297 2018-03-16 Jim Wilson <jimw@sifive.com>
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.
306 2018-03-14 Kito Cheng <kito.cheng@gmail.com>
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
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.
325 2018-03-13 Nick Clifton <nickc@redhat.com>
327 * po/ru.po: Updated Russian translation.
329 2018-03-09 H.J. Lu <hongjiu.lu@intel.com>
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.
336 2018-03-09 H.J. Lu <hongjiu.lu@intel.com>
338 * config/tc-i386.c (check_VecOperations): Strip whitespace.
339 * testsuite/gas/i386/optimize-1.s: Add whitespaces before
341 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
343 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
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.
363 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
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.
370 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
372 * NEWS: Mention -mold-gcc removal.
373 * config/tc-i386.c (i386_error): Remove old_gcc_only.
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.
390 2018-03-08 Jan Beulich <jbeulich@suse.com>
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.
398 2018-03-08 Jan Beulich <jbeulich@suse.com>
400 * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope
401 with 3rd (immediate) operand.
403 2018-03-08 Jan Beulich <jbeulich@suse.com>
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
411 2018-03-08 Jan Beulich <jbeulich@suse.com>
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:
417 * testsuite/gas/i386/i386.exp: Run new test.
419 2018-03-08 Jan Beulich <jbeulich@suse.com>
421 * config/tc-i386.c (process_suffix): Do common part of register
424 2018-03-08 Jan Beulich <jbeulich@suse.com>
426 * config/tc-i386.c (parse_insn): Move success return up. Combine
429 2018-03-08 Jan Beulich <jbeulich@suse.com>
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.
451 2018-03-08 Jan Beulich <jbeulich@suse.com>
453 * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead.
455 2018-03-08 Jan Beulich <jbeulich@suse.com>
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.
461 2018-03-08 Jan Beulich <jbeulich@suse.com>
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
469 2018-03-08 Jan Beulich <jbeulich@suse.com>
471 * config/tc-i386.c (cpu_flags_match): Drop "else" branches
472 setting CPU_FLAGS_ARCH_MATCH.
474 2018-03-08 Jan Beulich <jbeulich@suse.com>
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
487 * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
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.
494 2018-03-08 Jan Beulich <jbeulich@suse.com>
496 * config/tc-i386.c (operand_size_match): Drop / replace uses of
499 2018-03-08 Jan Beulich <jbeulich@suse.com>
501 * testsuite/gas/i386/intel-intel.d: New.
502 * testsuite/gas/i386/i386.exp: Run new test.
504 2018-03-08 Jan Beulich <jbeulich@suse.com>
506 * config/tc-i386.c (process_operands): Access operands only
507 after operand count assertion. Sanitize warning text. Fix
509 * testsuite/gas/i386/avx512_4fmaps-warn.l,
510 gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
512 2018-03-08 Jan Beulich <jbeulich@suse.com>
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.
518 2018-03-08 Jan Beulich <jbeulich@suse.com>
520 * config/tc-i386.c (operand_type_and_not): New.
521 (build_modrm_byte): Use it to prevent clearing unrelated bits.
523 2018-03-08 Alan Modra <amodra@gmail.com>
525 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
526 don't emit a group terminating nop for power9. Simplify cpu
529 2018-03-08 Alan Modra <amodra@gmail.com>
531 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
532 terminating nop for power9.
534 2018-03-07 H.J. Lu <hongjiu.lu@intel.com>
537 * config/tc-i386.c (f32_5): Removed.
550 (alt64_11): Likewise.
551 (alt64_patt): Likewise.
553 (jump32_disp32): Likewise.
554 (jump16_disp32): Likewise.
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
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
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.
631 2018-03-07 Alan Modra <amodra@gmail.com>
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.
637 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
639 * config/tc-arm.c (md_begin): Add NULL pointer check before
640 dereferencing march_ext_opt.
642 2018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
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
655 (selected_arch, selected_ext, selected_fpu): New static variables.
656 (mark_feature_used): Fix comments, feature is marked as used iff it is
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
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
683 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
684 bits if in autodetection mode.
686 2018-03-01 H.J. Lu <hongjiu.lu@intel.com>
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.
696 2018-03-01 Alan Modra <amodra@gmail.com>
698 * configure.ac (ALL_LINGUAS): Add uk. Sort.
699 * configure: Regenerate.
701 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
703 * NEWS: Rename .nop to .nops.
704 * doc/as.texinfo: Likewise.
705 * read.c (potable): Add "nops". Remove "nop".
706 (s_nop): Renamed to ...
708 * read.h (s_nop): Renamed to ...
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.
734 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
737 * NEWS: Mention -O[2|s].
738 * config/tc-i386.c (_i386_insn): Add no_optimize.
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
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.
770 2018-02-27 Nick Clifton <nickc@redhat.com>
772 * po/ru.po: Updated Russian translation.
774 2018-02-26 Maciej W. Rozycki <macro@mips.com>
776 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
779 2018-02-26 Nick Clifton <nickc@redhat.com>
781 * doc/as.texinfo (Dc): Fix typo.
783 2018-02-26 Alan Modra <amodra@gmail.com>
785 * testsuite/gas/mips/reginfo-2.l: Update.
787 2018-02-23 Alan Modra <amodra@gmail.com>
789 * testsuite/gas/mips/reginfo-2.l: Update.
791 2018-02-23 Nick Clifton <nickc@redhat.com>
793 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
795 2018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
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
802 2018-02-22 H.J. Lu <hongjiu.lu@intel.com>
804 * config/tc-i386.c (_i386_insn): Add rex_encoding.
805 (md_assemble): When i.rex_encoding is true, generate a REX byte
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.
812 2018-02-22 A. Wilcox <awilfox@adelielinux.org>
815 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
816 instruction size suffix.
818 2018-02-20 Maciej W. Rozycki <macro@mips.com>
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.
826 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
828 * config/tc-xtensa.c (struct litpool_frag): Add new field
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
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
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
846 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
847 that objdump doesn't get out of sync.
849 2018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
851 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
852 also the same as -march.
854 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
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
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.
897 2018-02-15 Tamar Christina <tamar.christina@arm.com>
899 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
900 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
902 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
904 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
905 frag that contains source address.
907 2018-02-13 Nick Clifton <nickc@redhat.com>
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.
916 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
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.
931 2018-02-13 Maciej W. Rozycki <macro@mips.com>
933 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
935 2018-02-13 Nick Clifton <nickc@redhat.com>
938 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
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.
963 2018-02-12 Maciej W. Rozycki <macro@mips.com>
965 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
968 2018-02-12 Henry Wong <henry@stuffedcow.net>
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.
974 2018-02-12 Nick Clifton <nickc@redhat.com>
976 * po/ru.po: Updated Russian translation.
978 2018-02-08 Alan Modra <amodra@gmail.com>
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.
990 2018-02-05 Maciej W. Rozycki <macro@mips.com>
992 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
993 `expr' parameter to `ep'.
995 2018-02-05 Maciej W. Rozycki <macro@mips.com>
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.
1003 2018-02-05 Nick Clifton <nickc@redhat.com>
1005 * po/ru.po: Updated Russian translation.
1007 2018-01-31 Alan Modra <amodra@gmail.com>
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.
1015 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
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.
1023 2018-01-29 Nick Clifton <nickc@redhat.com>
1025 * po/ru.po: Updated Russian translation.
1027 2018-01-26 Maciej W. Rozycki <macro@mips.com>
1029 * configure.tgt: Use generic emulation for `mips-*-windiss',
1030 overriding the blanket choice made for `*-*-windiss'.
1032 2018-01-26 Maciej W. Rozycki <macro@mips.com>
1034 * configure.tgt: Use `mips-*-sysv4*' rather than
1037 2018-01-24 Renlin Li <renlin.li@arm.com>
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.
1061 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1063 * configure.ac: Also set `mips_default_abi' to N32_ABI for
1065 * configure: Regenerate.
1067 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1069 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
1072 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
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.
1084 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
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.
1096 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1098 * config/tc-mips.c (md_show_usage): Correctly indicate the
1099 configuration-specific default ABI.
1101 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1103 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
1104 `-mno-mips16e2' options.
1106 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1108 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
1109 Correct syntax of the `.set nomips16e2' directive description.
1111 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
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.
1119 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
1121 * config/tc-arm.c (ToC macro): Remove spurious comment.
1122 (ToU macro): Likewise.
1124 2018-01-17 Jim Wilson <jimw@sifive.com>
1126 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
1127 (riscv_ip) <'z'>: New.
1129 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
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.
1144 2018-01-16 Nick Clifton <nickc@redhat.com>
1146 * po/fr.po: Updated French translation.
1148 2018-01-15 Jim Wilson <jimw@sifive.com>
1150 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
1151 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
1153 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1155 * config/tc-arm.c (ToC): Define macro.
1157 (insns): Make use of above macros for new instructions introduced in
1160 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
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.
1167 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
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
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.
1179 2018-01-15 Nick Clifton <nickc@redhat.com>
1181 * po/uk.po: Updated Ukranian translation.
1183 2018-01-13 Nick Clifton <nickc@redhat.com>
1185 * po/gas.pot: Regenerated.
1187 2018-01-13 Nick Clifton <nickc@redhat.com>
1189 * configure: Regenerate.
1191 2018-01-13 Nick Clifton <nickc@redhat.com>
1193 2.30 branch created.
1194 * NEWS: Add marker for 2.30.
1196 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
1198 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
1199 define to 0 and 1. Remove a dangling reference to "AMD 29000"
1202 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
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
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.
1222 2018-01-11 Alan Modra <amodra@gmail.com>
1224 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
1225 positive "‘profile’ may be used uninitialized".
1227 2018-01-10 Jan Beulich <jbeulich@suse.com>
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
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
1245 2018-01-10 Jan Beulich <jbeulich@suse.com>
1247 * testsuite/gas/i386/avx512bw.s,
1248 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
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.
1255 2018-01-09 Jim Wilson <jimw@sifive.com>
1257 * testsuite/gas/riscv/auipc-x0.d: New.
1258 * testsuite/gas/riscv/auipc-x0.s: New.
1260 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
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
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.
1270 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1272 * testsuite/gas/aarch64/system.d: Update expected results to expect
1275 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
1278 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
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.
1284 2018-01-08 Nick Clifton <nickc@redhat.com>
1287 * doc/c-i386.texi (i386-Directives): Document the .largecomm
1290 2018-01-04 Jim Wilson <jimw@sifive.com>
1292 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
1293 * testsuite/gas/riscv/priv-reg.d: Likewise.
1295 2018-01-03 Alan Modra <amodra@gmail.com>
1297 Update year range in copyright notice of all files.
1299 2018-01-02 Nick Clifton <nickc@redhat.com>
1302 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
1303 version of ARM MRS instruction.
1305 For older changes see ChangeLog-2017
1307 Copyright (C) 2018 Free Software Foundation, Inc.
1309 Copying and distribution of this file, with or without modification,
1310 are permitted in any medium without royalty provided the copyright
1311 notice and this notice are preserved.
1317 version-control: never