1 2018-04-12 Nick Clifton <nickc@redhat.com>
3 * po/es.po: Updated Spanish translation.
4 * po/ru.po: Updated Russian translation.
6 2018-04-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8 * config/tc-i386.c (cpu_arch): Add WAITPKG.
9 (cpu_noarch): Likewise.
10 * doc/c-i386.texi: Document WAITPKG.
11 * i386/i386.exp: Run WAITPKG tests.
12 * testsuite/gas/i386/waitpkg-intel.d: New test.
13 * testsuite/gas/i386/waitpkg.d: Likewise.
14 * testsuite/gas/i386/waitpkg.s: Likewise.
15 * testsuite/gas/i386/x86-64-waitpkg-intel.d: Likewise.
16 * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
17 * testsuite/gas/i386/x86-64-waitpkg.s: Likewise.
19 2018-04-11 Alan Modra <amodra@gmail.com>
21 * config/aout_gnu.h: Delete.
22 * config/tc-i860.c: Delete.
23 * config/tc-i860.h: Delete.
24 * config/tc-i960.c: Delete.
25 * config/tc-i960.h: Delete.
26 * doc/c-i860.texi: Delete.
27 * doc/c-i960.texi: Delete.
28 * testsuite/gas/i860/README.i860: Delete.
29 * testsuite/gas/i860/bitwise.d: Delete.
30 * testsuite/gas/i860/bitwise.s: Delete.
31 * testsuite/gas/i860/branch.d: Delete.
32 * testsuite/gas/i860/branch.s: Delete.
33 * testsuite/gas/i860/bte.d: Delete.
34 * testsuite/gas/i860/bte.s: Delete.
35 * testsuite/gas/i860/dir-align01.d: Delete.
36 * testsuite/gas/i860/dir-align01.s: Delete.
37 * testsuite/gas/i860/dir-intel01.d: Delete.
38 * testsuite/gas/i860/dir-intel01.s: Delete.
39 * testsuite/gas/i860/dir-intel02.d: Delete.
40 * testsuite/gas/i860/dir-intel02.s: Delete.
41 * testsuite/gas/i860/dir-intel03-err.l: Delete.
42 * testsuite/gas/i860/dir-intel03-err.s: Delete.
43 * testsuite/gas/i860/dual01.d: Delete.
44 * testsuite/gas/i860/dual01.s: Delete.
45 * testsuite/gas/i860/dual02-err.l: Delete.
46 * testsuite/gas/i860/dual02-err.s: Delete.
47 * testsuite/gas/i860/dual03.d: Delete.
48 * testsuite/gas/i860/dual03.s: Delete.
49 * testsuite/gas/i860/fldst01.d: Delete.
50 * testsuite/gas/i860/fldst01.s: Delete.
51 * testsuite/gas/i860/fldst02.d: Delete.
52 * testsuite/gas/i860/fldst02.s: Delete.
53 * testsuite/gas/i860/fldst03.d: Delete.
54 * testsuite/gas/i860/fldst03.s: Delete.
55 * testsuite/gas/i860/fldst04.d: Delete.
56 * testsuite/gas/i860/fldst04.s: Delete.
57 * testsuite/gas/i860/fldst05.d: Delete.
58 * testsuite/gas/i860/fldst05.s: Delete.
59 * testsuite/gas/i860/fldst06.d: Delete.
60 * testsuite/gas/i860/fldst06.s: Delete.
61 * testsuite/gas/i860/fldst07.d: Delete.
62 * testsuite/gas/i860/fldst07.s: Delete.
63 * testsuite/gas/i860/fldst08.d: Delete.
64 * testsuite/gas/i860/fldst08.s: Delete.
65 * testsuite/gas/i860/float01.d: Delete.
66 * testsuite/gas/i860/float01.s: Delete.
67 * testsuite/gas/i860/float02.d: Delete.
68 * testsuite/gas/i860/float02.s: Delete.
69 * testsuite/gas/i860/float03.d: Delete.
70 * testsuite/gas/i860/float03.s: Delete.
71 * testsuite/gas/i860/float04.d: Delete.
72 * testsuite/gas/i860/float04.s: Delete.
73 * testsuite/gas/i860/form.d: Delete.
74 * testsuite/gas/i860/form.s: Delete.
75 * testsuite/gas/i860/i860.exp: Delete.
76 * testsuite/gas/i860/iarith.d: Delete.
77 * testsuite/gas/i860/iarith.s: Delete.
78 * testsuite/gas/i860/ldst01.d: Delete.
79 * testsuite/gas/i860/ldst01.s: Delete.
80 * testsuite/gas/i860/ldst02.d: Delete.
81 * testsuite/gas/i860/ldst02.s: Delete.
82 * testsuite/gas/i860/ldst03.d: Delete.
83 * testsuite/gas/i860/ldst03.s: Delete.
84 * testsuite/gas/i860/ldst04.d: Delete.
85 * testsuite/gas/i860/ldst04.s: Delete.
86 * testsuite/gas/i860/ldst05.d: Delete.
87 * testsuite/gas/i860/ldst05.s: Delete.
88 * testsuite/gas/i860/ldst06.d: Delete.
89 * testsuite/gas/i860/ldst06.s: Delete.
90 * testsuite/gas/i860/pfam.d: Delete.
91 * testsuite/gas/i860/pfam.s: Delete.
92 * testsuite/gas/i860/pfmam.d: Delete.
93 * testsuite/gas/i860/pfmam.s: Delete.
94 * testsuite/gas/i860/pfmsm.d: Delete.
95 * testsuite/gas/i860/pfmsm.s: Delete.
96 * testsuite/gas/i860/pfsm.d: Delete.
97 * testsuite/gas/i860/pfsm.s: Delete.
98 * testsuite/gas/i860/pseudo-ops01.d: Delete.
99 * testsuite/gas/i860/pseudo-ops01.s: Delete.
100 * testsuite/gas/i860/regress01.d: Delete.
101 * testsuite/gas/i860/regress01.s: Delete.
102 * testsuite/gas/i860/shift.d: Delete.
103 * testsuite/gas/i860/shift.s: Delete.
104 * testsuite/gas/i860/simd.d: Delete.
105 * testsuite/gas/i860/simd.s: Delete.
106 * testsuite/gas/i860/system.d: Delete.
107 * testsuite/gas/i860/system.s: Delete.
108 * testsuite/gas/i860/xp.d: Delete.
109 * testsuite/gas/i860/xp.s: Delete.
110 * Makefile.am: Remove i860 and i960 support.
111 * configure.tgt: Likewise.
112 * doc/Makefile.am: Likewise.
113 * doc/all.texi: Likewise.
114 * testsuite/gas/all/gas.exp
115 * config/obj-coff.h: Remove i960 support.
116 * doc/internals.texi: Likewise.
121 * testsuite/gas/lns/lns.exp: Likewise.
122 * testsuite/gas/symver/symver.exp: Likewise.
123 * config/tc-m68k.c: Remove BOUT support.
124 * config/tc-score.c: Likewise.
125 * config/tc-score7.c: Likewise.
126 * config/tc-sparc.c: Likewise.
127 * symbols.c: Likewise.
128 * doc/h8.texi: Likewise.
129 * configure.ac: Remove BOUT and i860 support.
130 * doc/as.texinfo: Remove BOUT, i860 and i960 support
131 * Makefile.in: Regenerate.
132 * config.in: Regenerate.
133 * configure: Regenerate.
134 * doc/Makefile.in: Regenerate.
135 * po/POTFILES.in: Regenerate.
137 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
140 * configure: Regenerated.
142 2018-04-04 H.J. Lu <hongjiu.lu@intel.com>
145 * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with
146 VEX and EVEX prefixes.
147 * testsuite/gas/i386/prefix.d: Updated.
149 2018-03-30 Peter Bergner <bergner@vnet.ibm.com>
152 * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64
155 2018-03-28 Renlin Li <renlin.li@arm.com>
158 * config/tc-aarch64.c (reloc_table): Update entry for tprel_lo12 and
159 tprel_lo12_nc with pseudo relocations.
160 (ldst_lo12_determine_real_reloc_type): Add new relocations support.
161 (parse_operands): Handle BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 and
162 BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC pseudo relocations.
163 (md_apply_fix): Add handling for new relocation.
164 (aarch64_force_relocation): Likewise.
165 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d: New.
166 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s: New.
167 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d: New.
168 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s: New.
169 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d: New.
170 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s: New.
171 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d: New.
172 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s: New.
173 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d: New.
174 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s: New.
175 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d: New.
176 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s: New.
177 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d: New.
178 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s: New.
179 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d: New.
180 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s: New.
181 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d: New.
182 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d: New.
183 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d: New.
184 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d: New.
185 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d: New.
186 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d: New.
187 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d: New.
188 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d: New.
190 2018-03-28 Jan Beulich <jbeulich@suse.com>
192 * config/tc-i386.c (check_VecOperands): Replace uses of
193 .vecesize. Always initialize op.
194 * testsuite/gas/i386/avx512_vpopcntdq.s,
195 testsuite/gas/i386/avx512bitalg_vl.s: Add Intel syntax vpopcnt
196 broadcast cases with explicit operand size.
197 * testsuite/gas/i386/avx512_vpopcntdq.d,
198 testsuite/gas/i386/avx512_vpopcntdq-intel.d,
199 testsuite/gas/i386/avx512bitalg_vl.d
200 testsuite/gas/i386/avx512bitalg_vl-intel.d: Adjust expectations.
202 2018-03-28 Jan Beulich <jbeulich@suse.com>
204 * config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
205 (check_VecOperands): Re-write broadcast validation code.
206 (check_VecOperations): Replace BROADCAST_1TO* uses.
207 * testsuite/gas/i386/inval-avx512f.s: Add various broadcast
209 * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
211 2018-03-28 Jan Beulich <jbeulich@suse.com>
213 * config/tc-i386.c (process_suffix): Check .todword/.toqword
214 before zapping suffix.
216 2018-03-28 Jan Beulich <jbeulich@suse.com>
218 * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d,
219 testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from
222 2018-03-28 Nick Clifton <nickc@redhat.com>
225 * config/tc-aarch64.c (parse_operands): Add code to handle
226 AARCH64_OPN_SVE_ADDR_R.
227 * testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions
228 with an assumed XZR offset address register.
229 * testsuite/gas/aarch64/sve.d: Update expected disassembly.
231 2018-03-22 Jan Beulich <jbeulich@suse.com>
233 * config/tc-i386.c (check_VecOperands): Latch
234 i.broadcast->operand into op.
236 2018-03-22 Jan Beulich <jbeulich@suse.com>
238 * config/tc-i386.c (match_template): Special case base opcode
239 0xa0 with HLE prefix.
240 * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases.
241 * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d:
244 2018-03-22 Jan Beulich <jbeulich@suse.com>
246 * testsuite/gas/i386/opts.s: Add bndmov cases.
247 * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d,
248 testsuite/gas/i386/sse2avx-opts.d,
249 testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations.
251 2018-03-22 Jan Beulich <jbeulich@suse.com>
253 * config/tc-i386.c (match_mem_size): Extend sub-xmmword
255 * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s:
257 * testsuite/gas/i386/i386.exp: Run new test.
259 2018-03-22 Jan Beulich <jbeulich@suse.com>
261 * config/tc-i386.c (match_template): Also match 2nd and 4th
262 operand's register sizes.
263 * testsuite/gas/i386/unspec.l, testsuite/gas/i386/unspec.s: New.
264 * testsuite/gas/i386/i386.exp: Run new test.
266 2018-03-19 Nick Clifton <nickc@redhat.com>
268 * po/uk.po: Updated Ukranian translation.
270 2018-03-16 Jim Wilson <jimw@sifive.com>
272 * config/tc-riscv.c (check_absolute_expr): Expand comment. New
273 parameter maybe_csr. If maybe_csr and O_symbol, print CSR name.
274 (riscv_ip): Add new argument to check_absolute_expr calls.
275 * testsuite/gas/riscv/bad-csr.d: New.
276 * testsuite/gas/riscv/bad-csr.l: New.
277 * testsuite/gas/riscv/bad-csr.s: New.
279 2018-03-14 Kito Cheng <kito.cheng@gmail.com>
281 * config/tc-riscv.c (opcode_name_list): New.
282 (opcode_names_hash): Likewise.
283 (init_opcode_names_hash): Likewise.
284 (opcode_name_lookup): Likewise.
285 (validate_riscv_insn): New argument length, and add new format
286 which used in .insn directive.
287 (md_begin): Refine hash table initialization logic into
289 (init_opcode_hash): New.
290 (my_getOpcodeExpression): Parse opcode name for .insn.
291 (riscv_ip): New argument hash, able to handle .insn directive.
292 (s_riscv_insn): Handler for .insn directive.
293 (riscv_pseudo_table): New entry for .insn.
294 * doc/c-riscv.texi: Add documentation for .insn directive.
295 * testsuite/gas/riscv/insn.d: Add testcase for .insn directive.
296 * testsuite/gas/riscv/insn.s: Likewise.
298 2018-03-13 Nick Clifton <nickc@redhat.com>
300 * po/ru.po: Updated Russian translation.
302 2018-03-09 H.J. Lu <hongjiu.lu@intel.com>
304 * config/tc-i386.c (optimize_encoding): Encode EVEX instructions
305 with VEX128 if EVEX encoding isn't required.
306 * testsuite/gas/i386/optimize-1.d: Updated.
307 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
309 2018-03-09 H.J. Lu <hongjiu.lu@intel.com>
311 * config/tc-i386.c (check_VecOperations): Strip whitespace.
312 * testsuite/gas/i386/optimize-1.s: Add whitespaces before
314 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
316 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
318 * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags.
319 (md_parse_option): Likewise.
320 (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags
321 for cpuavx512vl instead of cpu_arch_flags. Optimize EVEX with
322 EVEX128 when EVEX encoding is required.
323 * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5,
324 x86-64-optimize-5 and x86-64-optimize-6.
325 * testsuite/gas/i386/optimize-1.d: Updated.
326 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
327 * testsuite/gas/i386/optimize-4.d: New file.
328 * testsuite/gas/i386/optimize-4.s: Likewise.
329 * testsuite/gas/i386/optimize-5.d: Likewise.
330 * testsuite/gas/i386/optimize-5.s: Likewise.
331 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
332 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
333 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
334 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
336 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
338 * config/tc-i386.c (optimize_encoding): Also encode "clr reg64"
339 as "xor reg32, reg32".
340 * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests.
341 * testsuite/gas/i386/x86-64-optimize-1.d: Updated.
343 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
345 * NEWS: Mention -mold-gcc removal.
346 * config/tc-i386.c (i386_error): Remove old_gcc_only.
348 (match_template): Remove old gcc support.
349 (OPTION_MOLD_GCC): Removed.
350 (OPTION_MRELAX_RELOCATIONS): Updated.
351 (md_longopts): Remove OPTION_MOLD_GCC.
352 (md_parse_option): Likewise.
353 (md_show_usage): Remove -mold-gcc.
354 * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old
355 (<= 2.8.1) versions of gcc.
356 * testsuite/gas/i386/intel.s: Likewise.
357 * testsuite/gas/i386/general.l: Updated.
358 * testsuite/gas/i386/intel-intel.d: Likewise.
359 * testsuite/gas/i386/intel.d: Likewise.
360 * testsuite/gas/i386/intel.e: Likewise.
361 * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general.
363 2018-03-08 Jan Beulich <jbeulich@suse.com>
365 * config/tc-i386.c (is_evex_encoding): New.
366 (optimize_encoding, md_assemble, md_assemble,
367 VEX_check_operands, build_modrm_byte): Use is_evex_encoding.
368 (build_evex_prefix): Derive EVEX length field from actual
369 operands if the template allows multiple ones.
371 2018-03-08 Jan Beulich <jbeulich@suse.com>
373 * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope
374 with 3rd (immediate) operand.
376 2018-03-08 Jan Beulich <jbeulich@suse.com>
378 * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX,
379 ZMMWORD_MNEM_SUFFIX): Delete.
380 (process_suffix): Drop their uses. Re-arrange final part of
381 logic into a switch() statement. Drop special casing of
384 2018-03-08 Jan Beulich <jbeulich@suse.com>
386 * config/tc-i386.c (match_template): Also match register
387 operands 0 and 2 for 3-operand forms.
388 * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s:
390 * testsuite/gas/i386/i386.exp: Run new test.
392 2018-03-08 Jan Beulich <jbeulich@suse.com>
394 * config/tc-i386.c (process_suffix): Do common part of register
397 2018-03-08 Jan Beulich <jbeulich@suse.com>
399 * config/tc-i386.c (parse_insn): Move success return up. Combine
402 2018-03-08 Jan Beulich <jbeulich@suse.com>
404 * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX
405 logic. Add respective logic for AVX512F.
406 * testsuite/gas/i386/arch-avx-1.s: Add GFNI test.
407 testsuite/gas/i386/arch-avx-1.d,
408 testsuite/gas/i386/arch-avx-1-1.l,
409 testsuite/gas/i386/arch-avx-1-2.l,
410 testsuite/gas/i386/arch-avx-1-3.l,
411 testsuite/gas/i386/arch-avx-1-4.l,
412 testsuite/gas/i386/arch-avx-1-5.l,
413 testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations.
414 * testsuite/gas/i386/arch-avx-1-7.l,
415 testsuite/gas/i386/arch-avx-1-7.s,
416 testsuite/gas/i386/arch-avx-1-8.l,
417 testsuite/gas/i386/arch-avx-1-8.s,
418 testsuite/gas/i386/avx512f-plain.l,
419 testsuite/gas/i386/avx512f-plain.s,
420 testsuite/gas/i386/avx512vl-plain.l,
421 testsuite/gas/i386/avx512vl-plain.s: New.
422 * testsuite/gas/i386/i386.exp: Run new tests.
424 2018-03-08 Jan Beulich <jbeulich@suse.com>
426 * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead.
428 2018-03-08 Jan Beulich <jbeulich@suse.com>
430 * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete.
431 (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of
432 CPU_FLAGS_32BIT_MATCH.
434 2018-03-08 Jan Beulich <jbeulich@suse.com>
436 * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
437 CPU_FLAGS_PCLMUL_MATCH): Delete.
438 (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
439 (cpu_flags_match): Combine AVX checks into
442 2018-03-08 Jan Beulich <jbeulich@suse.com>
444 * config/tc-i386.c (cpu_flags_match): Drop "else" branches
445 setting CPU_FLAGS_ARCH_MATCH.
447 2018-03-08 Jan Beulich <jbeulich@suse.com>
449 * config/tc-i386.c (md_assemble): Extend SSE check conditional.
450 * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d,
451 testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
452 testsuite/gas/i386/ilp32/x86-64-sse-check.d,
453 testsuite/gas/i386/sse-check-none.d,
454 testsuite/gas/i386/sse-check-warn.d,
455 testsuite/gas/i386/x86-64-sse-check.d,
456 testsuite/gas/i386/x86-64-sse-check-none.d,
457 testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d.
458 * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL
460 * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
462 * testsuite/gas/i386/sse-check.d: Adjust expectations.
463 * testsuite/gas/i386/sse-check-error.l,
464 testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
465 * testsuite/gas/i386/sse-check-warn.e: Likewise.
467 2018-03-08 Jan Beulich <jbeulich@suse.com>
469 * config/tc-i386.c (operand_size_match): Drop / replace uses of
472 2018-03-08 Jan Beulich <jbeulich@suse.com>
474 * testsuite/gas/i386/intel-intel.d: New.
475 * testsuite/gas/i386/i386.exp: Run new test.
477 2018-03-08 Jan Beulich <jbeulich@suse.com>
479 * config/tc-i386.c (process_operands): Access operands only
480 after operand count assertion. Sanitize warning text. Fix
482 * testsuite/gas/i386/avx512_4fmaps-warn.l,
483 gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
485 2018-03-08 Jan Beulich <jbeulich@suse.com>
487 * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
488 * testsuite/gas/i386/x86-64-movd.d,
489 testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
491 2018-03-08 Jan Beulich <jbeulich@suse.com>
493 * config/tc-i386.c (operand_type_and_not): New.
494 (build_modrm_byte): Use it to prevent clearing unrelated bits.
496 2018-03-08 Alan Modra <amodra@gmail.com>
498 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
499 don't emit a group terminating nop for power9. Simplify cpu
502 2018-03-08 Alan Modra <amodra@gmail.com>
504 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
505 terminating nop for power9.
507 2018-03-07 H.J. Lu <hongjiu.lu@intel.com>
510 * config/tc-i386.c (f32_5): Removed.
523 (alt64_11): Likewise.
524 (alt64_patt): Likewise.
526 (jump32_disp32): Likewise.
527 (jump16_disp32): Likewise.
530 (f16_patt): Likewise.
531 (alt_patt): Add alt_11.
532 (i386_align_code): Merged with ...
533 (i386_generate_nops): This. Rewritten.
534 (fits_in_imm7): Moved before i386_generate_nops.
535 (fits_in_imm31): Likewise.
536 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
538 (i386_align_code): Removed.
539 (HANDLE_ALIGN): Rewritten with i386_generate_nops.
540 * doc/as.texinfo: Update limits of control byte for x86 .nops
542 * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
543 * gas/testsuite/gas/i386/noavx-3.l: Updated.
544 * gas/testsuite/gas/i386/nop-1.d: Likewise.
545 * gas/testsuite/gas/i386/nop-1.s: Likewise.
546 * gas/testsuite/gas/i386/nop-2.d: Likewise.
547 * gas/testsuite/gas/i386/nop-2.s: Likewise.
548 * gas/testsuite/gas/i386/nop-3.d: Likewise.
549 * gas/testsuite/gas/i386/nop-4.d: Likewise.
550 * gas/testsuite/gas/i386/nop-5.d: Likewise.
551 * gas/testsuite/gas/i386/nop-5.s: Likewise.
552 * gas/testsuite/gas/i386/nop-6.d: Likewise.
553 * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
554 * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
555 * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
556 * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
557 * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
558 * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
559 * gas/testsuite/gas/i386/nops-1.d: Likewise.
560 * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
561 * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
562 * gas/testsuite/gas/i386/nops-2.d: Likewise.
563 * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
564 * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
565 * gas/testsuite/gas/i386/nops-3.d: Likewise.
566 * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
567 * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
568 * gas/testsuite/gas/i386/nops-4.d: Likewise.
569 * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
570 * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
571 * gas/testsuite/gas/i386/nops-5.d: Likewise.
572 * gas/testsuite/gas/i386/nops-6.d: Likewise.
573 * gas/testsuite/gas/i386/nops16-1.d: Likewise.
574 * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
575 * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
576 * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
577 * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
578 * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
579 * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
580 * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
581 * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
582 * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
583 * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
584 * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
585 * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
586 * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
587 * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
588 * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
589 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
590 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
591 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
592 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
593 * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
594 * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
595 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
596 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
597 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
598 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
599 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
600 * gas/testsuite/gas/i386/nops-7.d: New file.
601 * gas/testsuite/gas/i386/nops-7.s: Likewise.
602 * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
604 2018-03-07 Alan Modra <amodra@gmail.com>
606 * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
607 * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
608 * testsuite/gas/ppc/machine.d: Don't run for PE targets.
610 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
612 * config/tc-arm.c (md_begin): Add NULL pointer check before
613 dereferencing march_ext_opt.
615 2018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
617 * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
618 legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
619 mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
620 mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
621 (dyn_mcpu_ext_opt): Also rename into ...
622 (mcpu_ext_opt): This.
623 (dyn_march_ext_opt): Also rename into ...
624 (march_ext_opt): This.
625 (object_arch): Also rename into ...
626 (selected_object_arch): This and make it a plain arm_feature_set
628 (selected_arch, selected_ext, selected_fpu): New static variables.
629 (mark_feature_used): Fix comments, feature is marked as used iff it is
631 (do_bx): Adapt to change in name and type of object_arch.
632 (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
633 rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
634 Remove dead code to set default FPU if architecture version is greater
635 than 5. Set all CPU bits of cpu_variant directly in autodection
636 leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
637 (arm_parse_extension): Take extension feature set pointer parameter by
638 value rather than by pointer. Remove allocation code. Adapt code
640 (arm_parse_cpu): Adapt to variable renaming and changes in
641 arm_parse_extension () signature.
642 (arm_parse_arch): Likewise.
643 (aeabi_set_public_attributes): Also set selected_arch and selected_ext
644 in addition to selected_cpu. Set flags_arch and flags_ext from them
645 instead of selected_cpu. Adapt to variables renaming and type change.
646 (arm_md_post_relax): Adapt to variable renaming.
647 (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
648 mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and
649 cpu_variant from selected_cpu and selected_fpu.
650 (s_arm_arch): Likewise.
651 (s_arm_object_arch): Adapt to variable renaming.
652 (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
653 set against arm_any. Check selected_arch rather than *mcpu_cpu_opt.
654 Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
656 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
657 bits if in autodetection mode.
659 2018-03-01 H.J. Lu <hongjiu.lu@intel.com>
661 * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
662 AVX512 vpsub[bwdq] instructions.
663 * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
664 AVX512 vpsub[bwdq] instructions.
665 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
666 * testsuite/gas/i386/optimize-1.d: Updated.
667 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
669 2018-03-01 Alan Modra <amodra@gmail.com>
671 * configure.ac (ALL_LINGUAS): Add uk. Sort.
672 * configure: Regenerate.
674 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
676 * NEWS: Rename .nop to .nops.
677 * doc/as.texinfo: Likewise.
678 * read.c (potable): Add "nops". Remove "nop".
679 (s_nop): Renamed to ...
681 * read.h (s_nop): Renamed to ...
683 * write.c (cvt_frag_to_fill): Rename .nop to .nops.
684 (md_generate_nops): Likewise.
685 (relax_segment): Likewise.
686 * testsuite/gas/i386/nop-1.d: Updated.
687 * testsuite/gas/i386/nop-1.s: Likewise.
688 * testsuite/gas/i386/nop-2.d: Likewise.
689 * testsuite/gas/i386/nop-2.s: Likewise.
690 * testsuite/gas/i386/nop-3.d: Likewise.
691 * testsuite/gas/i386/nop-3.s: Likewise.
692 * testsuite/gas/i386/nop-4.d: Likewise.
693 * testsuite/gas/i386/nop-4.s: Likewise.
694 * testsuite/gas/i386/nop-5.d: Likewise.
695 * testsuite/gas/i386/nop-5.s: Likewise.
696 * testsuite/gas/i386/nop-6.d: Likewise.
697 * testsuite/gas/i386/nop-6.s: Likewise.
698 * testsuite/gas/i386/nop-bad-1.l: Likewise.
699 * testsuite/gas/i386/nop-bad-1.s: Likewise.
700 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
701 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
702 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
703 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
704 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
705 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
707 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
710 * NEWS: Mention -O[2|s].
711 * config/tc-i386.c (_i386_insn): Add no_optimize.
713 (optimize_for_space): Likewise.
714 (fits_in_imm7): New function.
715 (fits_in_imm31): Likewise.
716 (optimize_encoding): Likewise.
717 (md_assemble): Call optimize_encoding to optimize encoding.
718 (parse_insn): Handle {nooptimize}.
719 (md_shortopts): Append "O::".
720 (md_parse_option): Handle -On.
721 * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
723 * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
724 * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
725 * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
726 optimize-3, x86-64-optimize-1, x86-64-optimize-2,
727 x86-64-optimize-3 and x86-64-optimize-4.
728 * testsuite/gas/i386/optimize-1.d: New file.
729 * testsuite/gas/i386/optimize-1.s: Likewise.
730 * testsuite/gas/i386/optimize-2.d: Likewise.
731 * testsuite/gas/i386/optimize-2.s: Likewise.
732 * testsuite/gas/i386/optimize-3.d: Likewise.
733 * testsuite/gas/i386/optimize-3.s: Likewise.
734 * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
735 * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
736 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
737 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
738 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
739 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
740 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
741 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
743 2018-02-27 Nick Clifton <nickc@redhat.com>
745 * po/ru.po: Updated Russian translation.
747 2018-02-26 Maciej W. Rozycki <macro@mips.com>
749 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
752 2018-02-26 Nick Clifton <nickc@redhat.com>
754 * doc/as.texinfo (Dc): Fix typo.
756 2018-02-26 Alan Modra <amodra@gmail.com>
758 * testsuite/gas/mips/reginfo-2.l: Update.
760 2018-02-23 Alan Modra <amodra@gmail.com>
762 * testsuite/gas/mips/reginfo-2.l: Update.
764 2018-02-23 Nick Clifton <nickc@redhat.com>
766 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
768 2018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
770 * config/tc-nds32.c (ict_model): New function. Hook new
771 directive .ict_model.
772 (nds32_insert_relax_entry): Tag the bits of entry relocation
775 2018-02-22 H.J. Lu <hongjiu.lu@intel.com>
777 * config/tc-i386.c (_i386_insn): Add rex_encoding.
778 (md_assemble): When i.rex_encoding is true, generate a REX byte
780 (parse_insn): Set i.rex_encoding for {rex}.
781 * doc/c-i386.texi: Document {rex}.
782 * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
783 * testsuite/gas/i386/x86-64-pseudos.d: Updated.
785 2018-02-22 A. Wilcox <awilfox@adelielinux.org>
788 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
789 instruction size suffix.
791 2018-02-20 Maciej W. Rozycki <macro@mips.com>
793 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
794 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
795 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
796 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
797 * testsuite/gas/mips/mips.exp: Run the new tests.
799 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
801 * config/tc-xtensa.c (struct litpool_frag): Add new field
803 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
804 (MAX_POOL_LITERALS): New macro definitions.
805 (auto_litpool_limit): Initialize to 0.
806 (md_parse_option): Set auto_litpool_limit in the presence of
807 --auto-litpools option.
808 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
810 (xg_find_litpool): New function. Make sure that found literal
811 pool size is within the limit.
812 (xtensa_move_literals): Extract literal pool search code into
814 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
815 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
816 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
817 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
819 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
820 that objdump doesn't get out of sync.
822 2018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
824 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
825 also the same as -march.
827 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
829 * NEWS: Mention .nop directive.
830 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
831 * read.c (potable): Add .nop.
832 (s_nop): New function.
833 * read.h (s_nop): New prototype.
834 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
836 (md_generate_nops): New function.
837 (relax_segment): Likewise.
838 (write_contents): Use md_generate_nops for rs_fill_nop.
839 * config/tc-i386.c (alt64_11): New.
840 (alt64_patt): Likewise.
841 (md_convert_frag): Handle rs_space_nop.
842 (i386_output_nops): New function.
843 (i386_generate_nops): Likewise.
844 (i386_align_code): Call i386_output_nops.
845 * config/tc-i386.h (i386_generate_nops): New.
846 (md_generate_nops): Likewise.
847 * doc/as.texinfo: Document .nop directive.
848 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
849 * testsuite/gas/i386/nop-1.d: New file.
850 * testsuite/gas/i386/nop-1.s: Likewise.
851 * testsuite/gas/i386/nop-2.d: Likewise.
852 * testsuite/gas/i386/nop-2.s: Likewise.
853 * testsuite/gas/i386/nop-3.d: Likewise.
854 * testsuite/gas/i386/nop-3.s: Likewise.
855 * testsuite/gas/i386/nop-4.d: Likewise.
856 * testsuite/gas/i386/nop-4.s: Likewise.
857 * testsuite/gas/i386/nop-5.d: Likewise.
858 * testsuite/gas/i386/nop-5.s: Likewise.
859 * testsuite/gas/i386/nop-6.d: Likewise.
860 * testsuite/gas/i386/nop-6.s: Likewise.
861 * testsuite/gas/i386/nop-bad-1.l: Likewise.
862 * testsuite/gas/i386/nop-bad-1.s: Likewise.
863 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
864 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
865 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
866 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
867 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
868 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
870 2018-02-15 Tamar Christina <tamar.christina@arm.com>
872 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
873 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
875 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
877 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
878 frag that contains source address.
880 2018-02-13 Nick Clifton <nickc@redhat.com>
883 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
884 instruction before assuming that it is a MOV instruction.
885 * testsuite/gas/arm/pr22773.s: New test.
886 * testsuite/gas/arm/pr22773.d: New test driver.
887 * testsuite/gas/arm/pr22773.l: New expected output.
889 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
892 * config/tc-i386.c (need_plt32_p): New function.
893 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
894 (md_estimate_size_before_relax): Likewise.
895 * testsuite/gas/i386/reloc64.d: Updated.
896 * testsuite/gas/i386/x86-64-jump.d: Likewise.
897 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
898 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
899 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
900 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
901 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
902 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
904 2018-02-13 Maciej W. Rozycki <macro@mips.com>
906 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
908 2018-02-13 Nick Clifton <nickc@redhat.com>
911 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
913 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
914 (obj_elf_vtable_inherit): New stub function that calls
915 obj_elf_get_vtable_inherit.
916 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
917 (obj_elf_vtable_entry): New stub function that calls
918 obj_elf_get_vtable_entry.
919 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
920 (obj_elf_vtable_entry) Likewise.
921 (obj_elf_get_vtable_inherit) Likewise.
922 (obj_elf_get_vtable_entry) Likewise.
923 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
924 * config/tc-i386c (md_pseudo_table): Likewise.
925 * config/tc-hppa.c (pa_vtable_entry): Call
926 obj_elf_get_vtable_entry.
927 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
928 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
929 with call to dwarf2_get_filename.
930 * dwarf2dbg.c (dwarf2_directive_file): Rename to
931 dwarf2_directive_filename.
932 (dwarf2_directive_file): New stub function that calls
933 dwarf2_directive_filename.
934 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
936 2018-02-12 Maciej W. Rozycki <macro@mips.com>
938 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
941 2018-02-12 Henry Wong <henry@stuffedcow.net>
943 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
944 * testsuite/gas/mips/r6-n32.d: Likewise.
945 * testsuite/gas/mips/r6-n64.d: Likewise.
947 2018-02-12 Nick Clifton <nickc@redhat.com>
949 * po/ru.po: Updated Russian translation.
951 2018-02-08 Alan Modra <amodra@gmail.com>
954 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
955 (ppc_frag_check): Likewise.
956 * testsuite/gas/ppc/misalign.d,
957 * testsuite/gas/ppc/misalign.l,
958 * testsuite/gas/ppc/misalign.s: New test.
959 * testsuite/gas/ppc/misalign2.d,
960 * testsuite/gas/ppc/misalign2.s: New test.
961 * testsuite/gas/ppc/ppc.exp: Run them.
963 2018-02-05 Maciej W. Rozycki <macro@mips.com>
965 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
966 `expr' parameter to `ep'.
968 2018-02-05 Maciej W. Rozycki <macro@mips.com>
970 * testsuite/gas/mips/reginfo-2.d: New test.
971 * testsuite/gas/mips/reginfo-2-n32.d: New test.
972 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
973 * testsuite/gas/mips/reginfo-2.s: New test source.
974 * testsuite/gas/mips/mips.exp: Run the new tests.
976 2018-02-05 Nick Clifton <nickc@redhat.com>
978 * po/ru.po: Updated Russian translation.
980 2018-01-31 Alan Modra <amodra@gmail.com>
983 * app.c (last_char): New static var.
984 (struct app_save): Add last_char field.
985 (app_push, app_pop): Handle it.
986 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
988 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
991 * config/tc-sparc.h (sparc_mach): Declare.
992 (TARGET_MACH): Define to above.
993 * config/tc-sparc.c (sparc_mach): New function.
994 (sparc_md_end): Minor tweak.
996 2018-01-29 Nick Clifton <nickc@redhat.com>
998 * po/ru.po: Updated Russian translation.
1000 2018-01-26 Maciej W. Rozycki <macro@mips.com>
1002 * configure.tgt: Use generic emulation for `mips-*-windiss',
1003 overriding the blanket choice made for `*-*-windiss'.
1005 2018-01-26 Maciej W. Rozycki <macro@mips.com>
1007 * configure.tgt: Use `mips-*-sysv4*' rather than
1010 2018-01-24 Renlin Li <renlin.li@arm.com>
1012 * config/tc-aarch64.c (reloc_table): add entries for
1013 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
1014 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
1015 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
1016 BFD_RELOC_AARCH64_MOVW_PREL_G3.
1017 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
1018 (md_apply_fix): Likewise
1019 * testsuite/gas/aarch64/prel_g0.s: New.
1020 * testsuite/gas/aarch64/prel_g0.d: New.
1021 * testsuite/gas/aarch64/prel_g0_nc.s: New.
1022 * testsuite/gas/aarch64/prel_g0_nc.d: New.
1023 * testsuite/gas/aarch64/prel_g1.s: New.
1024 * testsuite/gas/aarch64/prel_g1.d: New.
1025 * testsuite/gas/aarch64/prel_g1_nc.s: New.
1026 * testsuite/gas/aarch64/prel_g1_nc.d: New.
1027 * testsuite/gas/aarch64/prel_g2.s: New.
1028 * testsuite/gas/aarch64/prel_g2.d: New.
1029 * testsuite/gas/aarch64/prel_g2_nc.s: New.
1030 * testsuite/gas/aarch64/prel_g2_nc.d: New.
1031 * testsuite/gas/aarch64/prel_g3.s: New.
1032 * testsuite/gas/aarch64/prel_g3.d: New.
1034 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1036 * configure.ac: Also set `mips_default_abi' to N32_ABI for
1038 * configure: Regenerate.
1040 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1042 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
1045 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1047 * config/tc-i386.c (cpu_arch): Add .pconfig.
1048 * doc/c-i386.texi: Document .pconfig.
1049 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
1050 * testsuite/gas/i386/pconfig-intel.d: New test.
1051 * testsuite/gas/i386/pconfig.d: Likewise.
1052 * testsuite/gas/i386/pconfig.s: Likewise.
1053 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
1054 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
1055 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
1057 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1059 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
1060 * doc/c-i386.texi: Document .wbnoinvd.
1061 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
1062 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
1063 * testsuite/gas/i386/wbnoinvd.d: Likewise.
1064 * testsuite/gas/i386/wbnoinvd.s: Likewise.
1065 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
1066 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
1067 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
1069 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1071 * config/tc-mips.c (md_show_usage): Correctly indicate the
1072 configuration-specific default ABI.
1074 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1076 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
1077 `-mno-mips16e2' options.
1079 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1081 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
1082 Correct syntax of the `.set nomips16e2' directive description.
1084 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
1087 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
1088 * testsuite/gas/rx/pr22737.s: New test.
1089 * testsuite/gas/rx/pr22737.d: Likewise.
1090 * testsuite/gas/rx/rx.exp: Run the new test.
1092 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
1094 * config/tc-arm.c (ToC macro): Remove spurious comment.
1095 (ToU macro): Likewise.
1097 2018-01-17 Jim Wilson <jimw@sifive.com>
1099 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
1100 (riscv_ip) <'z'>: New.
1102 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1104 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
1105 (cpu_noarch): Add noibt, noshstk.
1106 (parse_insn): Change cpucet to cpuibt.
1107 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
1108 * testsuite/gas/i386/cet-ibt-inval.l: New test.
1109 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
1110 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
1111 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
1112 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
1113 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
1114 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
1115 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
1117 2018-01-16 Nick Clifton <nickc@redhat.com>
1119 * po/fr.po: Updated French translation.
1121 2018-01-15 Jim Wilson <jimw@sifive.com>
1123 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
1124 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
1126 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1128 * config/tc-arm.c (ToC): Define macro.
1130 (insns): Make use of above macros for new instructions introduced in
1133 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1135 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
1136 and vlstm conditionally executable and reindent parameters.
1137 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
1138 aforementionned instructions.
1140 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1142 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
1143 profile architecture or if in autodetection mode. Clarify that
1144 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
1145 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
1147 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
1148 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
1149 * testsuite/gas/arm/udf.l: Likewise.
1150 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
1152 2018-01-15 Nick Clifton <nickc@redhat.com>
1154 * po/uk.po: Updated Ukranian translation.
1156 2018-01-13 Nick Clifton <nickc@redhat.com>
1158 * po/gas.pot: Regenerated.
1160 2018-01-13 Nick Clifton <nickc@redhat.com>
1162 * configure: Regenerate.
1164 2018-01-13 Nick Clifton <nickc@redhat.com>
1166 2.30 branch created.
1167 * NEWS: Add marker for 2.30.
1169 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
1171 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
1172 define to 0 and 1. Remove a dangling reference to "AMD 29000"
1175 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1177 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
1178 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
1179 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
1180 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
1181 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
1182 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
1183 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
1184 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
1186 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
1187 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
1188 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
1189 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
1190 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
1191 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
1192 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
1193 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
1195 2018-01-11 Alan Modra <amodra@gmail.com>
1197 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
1198 positive "‘profile’ may be used uninitialized".
1200 2018-01-10 Jan Beulich <jbeulich@suse.com>
1202 * testsuite/gas/i386/avx512_4fmaps.s,
1203 testsuite/gas/i386/avx512_4fmaps_vl.s,
1204 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
1205 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
1206 Disp8 forms (and the transition happening at the right
1208 * testsuite/gas/i386/avx512_4fmaps.d,
1209 testsuite/gas/i386/avx512_4fmaps-intel.d,
1210 testsuite/gas/i386/avx512_4fmaps_vl.d,
1211 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
1212 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
1213 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
1214 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
1215 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
1218 2018-01-10 Jan Beulich <jbeulich@suse.com>
1220 * testsuite/gas/i386/avx512bw.s,
1221 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
1223 * testsuite/gas/i386/avx512bw-intel.d,
1224 testsuite/gas/i386/avx512bw.d,
1225 testsuite/gas/i386/avx512bw_vl-intel.d.
1226 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
1228 2018-01-09 Jim Wilson <jimw@sifive.com>
1230 * testsuite/gas/riscv/auipc-x0.d: New.
1231 * testsuite/gas/riscv/auipc-x0.s: New.
1233 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1235 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
1236 in Arm execution state, and Armv6T2 and above in Thumb execution
1238 * testsuite/gas/arm/csdb.s: New.
1239 * testsuite/gas/arm/csdb.d: New.
1240 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
1241 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
1243 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1245 * testsuite/gas/aarch64/system.d: Update expected results to expect
1248 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
1251 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
1253 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
1254 * testsuite/gas/i386/x86-64-movd.d: Likewise.
1255 * testsuite/gas/i386/x86-64-movd.s: Likewise.
1257 2018-01-08 Nick Clifton <nickc@redhat.com>
1260 * doc/c-i386.texi (i386-Directives): Document the .largecomm
1263 2018-01-04 Jim Wilson <jimw@sifive.com>
1265 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
1266 * testsuite/gas/riscv/priv-reg.d: Likewise.
1268 2018-01-03 Alan Modra <amodra@gmail.com>
1270 Update year range in copyright notice of all files.
1272 2018-01-02 Nick Clifton <nickc@redhat.com>
1275 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
1276 version of ARM MRS instruction.
1278 For older changes see ChangeLog-2017
1280 Copyright (C) 2018 Free Software Foundation, Inc.
1282 Copying and distribution of this file, with or without modification,
1283 are permitted in any medium without royalty provided the copyright
1284 notice and this notice are preserved.
1290 version-control: never