1 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
4 * configure: Regenerated.
6 2018-04-04 H.J. Lu <hongjiu.lu@intel.com>
9 * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with
10 VEX and EVEX prefixes.
11 * testsuite/gas/i386/prefix.d: Updated.
13 2018-03-30 Peter Bergner <bergner@vnet.ibm.com>
16 * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64
19 2018-03-28 Renlin Li <renlin.li@arm.com>
22 * config/tc-aarch64.c (reloc_table): Update entry for tprel_lo12 and
23 tprel_lo12_nc with pseudo relocations.
24 (ldst_lo12_determine_real_reloc_type): Add new relocations support.
25 (parse_operands): Handle BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 and
26 BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC pseudo relocations.
27 (md_apply_fix): Add handling for new relocation.
28 (aarch64_force_relocation): Likewise.
29 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d: New.
30 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s: New.
31 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d: New.
32 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s: New.
33 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d: New.
34 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s: New.
35 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d: New.
36 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s: New.
37 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d: New.
38 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s: New.
39 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d: New.
40 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s: New.
41 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d: New.
42 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s: New.
43 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d: New.
44 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s: New.
45 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d: New.
46 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d: New.
47 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d: New.
48 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d: New.
49 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d: New.
50 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d: New.
51 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d: New.
52 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d: New.
54 2018-03-28 Jan Beulich <jbeulich@suse.com>
56 * config/tc-i386.c (check_VecOperands): Replace uses of
57 .vecesize. Always initialize op.
58 * testsuite/gas/i386/avx512_vpopcntdq.s,
59 testsuite/gas/i386/avx512bitalg_vl.s: Add Intel syntax vpopcnt
60 broadcast cases with explicit operand size.
61 * testsuite/gas/i386/avx512_vpopcntdq.d,
62 testsuite/gas/i386/avx512_vpopcntdq-intel.d,
63 testsuite/gas/i386/avx512bitalg_vl.d
64 testsuite/gas/i386/avx512bitalg_vl-intel.d: Adjust expectations.
66 2018-03-28 Jan Beulich <jbeulich@suse.com>
68 * config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
69 (check_VecOperands): Re-write broadcast validation code.
70 (check_VecOperations): Replace BROADCAST_1TO* uses.
71 * testsuite/gas/i386/inval-avx512f.s: Add various broadcast
73 * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
75 2018-03-28 Jan Beulich <jbeulich@suse.com>
77 * config/tc-i386.c (process_suffix): Check .todword/.toqword
78 before zapping suffix.
80 2018-03-28 Jan Beulich <jbeulich@suse.com>
82 * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d,
83 testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from
86 2018-03-28 Nick Clifton <nickc@redhat.com>
89 * config/tc-aarch64.c (parse_operands): Add code to handle
90 AARCH64_OPN_SVE_ADDR_R.
91 * testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions
92 with an assumed XZR offset address register.
93 * testsuite/gas/aarch64/sve.d: Update expected disassembly.
95 2018-03-22 Jan Beulich <jbeulich@suse.com>
97 * config/tc-i386.c (check_VecOperands): Latch
98 i.broadcast->operand into op.
100 2018-03-22 Jan Beulich <jbeulich@suse.com>
102 * config/tc-i386.c (match_template): Special case base opcode
103 0xa0 with HLE prefix.
104 * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases.
105 * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d:
108 2018-03-22 Jan Beulich <jbeulich@suse.com>
110 * testsuite/gas/i386/opts.s: Add bndmov cases.
111 * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d,
112 testsuite/gas/i386/sse2avx-opts.d,
113 testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations.
115 2018-03-22 Jan Beulich <jbeulich@suse.com>
117 * config/tc-i386.c (match_mem_size): Extend sub-xmmword
119 * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s:
121 * testsuite/gas/i386/i386.exp: Run new test.
123 2018-03-22 Jan Beulich <jbeulich@suse.com>
125 * config/tc-i386.c (match_template): Also match 2nd and 4th
126 operand's register sizes.
127 * testsuite/gas/i386/unspec.l, testsuite/gas/i386/unspec.s: New.
128 * testsuite/gas/i386/i386.exp: Run new test.
130 2018-03-19 Nick Clifton <nickc@redhat.com>
132 * po/uk.po: Updated Ukranian translation.
134 2018-03-16 Jim Wilson <jimw@sifive.com>
136 * config/tc-riscv.c (check_absolute_expr): Expand comment. New
137 parameter maybe_csr. If maybe_csr and O_symbol, print CSR name.
138 (riscv_ip): Add new argument to check_absolute_expr calls.
139 * testsuite/gas/riscv/bad-csr.d: New.
140 * testsuite/gas/riscv/bad-csr.l: New.
141 * testsuite/gas/riscv/bad-csr.s: New.
143 2018-03-14 Kito Cheng <kito.cheng@gmail.com>
145 * config/tc-riscv.c (opcode_name_list): New.
146 (opcode_names_hash): Likewise.
147 (init_opcode_names_hash): Likewise.
148 (opcode_name_lookup): Likewise.
149 (validate_riscv_insn): New argument length, and add new format
150 which used in .insn directive.
151 (md_begin): Refine hash table initialization logic into
153 (init_opcode_hash): New.
154 (my_getOpcodeExpression): Parse opcode name for .insn.
155 (riscv_ip): New argument hash, able to handle .insn directive.
156 (s_riscv_insn): Handler for .insn directive.
157 (riscv_pseudo_table): New entry for .insn.
158 * doc/c-riscv.texi: Add documentation for .insn directive.
159 * testsuite/gas/riscv/insn.d: Add testcase for .insn directive.
160 * testsuite/gas/riscv/insn.s: Likewise.
162 2018-03-13 Nick Clifton <nickc@redhat.com>
164 * po/ru.po: Updated Russian translation.
166 2018-03-09 H.J. Lu <hongjiu.lu@intel.com>
168 * config/tc-i386.c (optimize_encoding): Encode EVEX instructions
169 with VEX128 if EVEX encoding isn't required.
170 * testsuite/gas/i386/optimize-1.d: Updated.
171 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
173 2018-03-09 H.J. Lu <hongjiu.lu@intel.com>
175 * config/tc-i386.c (check_VecOperations): Strip whitespace.
176 * testsuite/gas/i386/optimize-1.s: Add whitespaces before
178 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
180 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
182 * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags.
183 (md_parse_option): Likewise.
184 (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags
185 for cpuavx512vl instead of cpu_arch_flags. Optimize EVEX with
186 EVEX128 when EVEX encoding is required.
187 * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5,
188 x86-64-optimize-5 and x86-64-optimize-6.
189 * testsuite/gas/i386/optimize-1.d: Updated.
190 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
191 * testsuite/gas/i386/optimize-4.d: New file.
192 * testsuite/gas/i386/optimize-4.s: Likewise.
193 * testsuite/gas/i386/optimize-5.d: Likewise.
194 * testsuite/gas/i386/optimize-5.s: Likewise.
195 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
196 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
197 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
198 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
200 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
202 * config/tc-i386.c (optimize_encoding): Also encode "clr reg64"
203 as "xor reg32, reg32".
204 * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests.
205 * testsuite/gas/i386/x86-64-optimize-1.d: Updated.
207 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
209 * NEWS: Mention -mold-gcc removal.
210 * config/tc-i386.c (i386_error): Remove old_gcc_only.
212 (match_template): Remove old gcc support.
213 (OPTION_MOLD_GCC): Removed.
214 (OPTION_MRELAX_RELOCATIONS): Updated.
215 (md_longopts): Remove OPTION_MOLD_GCC.
216 (md_parse_option): Likewise.
217 (md_show_usage): Remove -mold-gcc.
218 * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old
219 (<= 2.8.1) versions of gcc.
220 * testsuite/gas/i386/intel.s: Likewise.
221 * testsuite/gas/i386/general.l: Updated.
222 * testsuite/gas/i386/intel-intel.d: Likewise.
223 * testsuite/gas/i386/intel.d: Likewise.
224 * testsuite/gas/i386/intel.e: Likewise.
225 * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general.
227 2018-03-08 Jan Beulich <jbeulich@suse.com>
229 * config/tc-i386.c (is_evex_encoding): New.
230 (optimize_encoding, md_assemble, md_assemble,
231 VEX_check_operands, build_modrm_byte): Use is_evex_encoding.
232 (build_evex_prefix): Derive EVEX length field from actual
233 operands if the template allows multiple ones.
235 2018-03-08 Jan Beulich <jbeulich@suse.com>
237 * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope
238 with 3rd (immediate) operand.
240 2018-03-08 Jan Beulich <jbeulich@suse.com>
242 * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX,
243 ZMMWORD_MNEM_SUFFIX): Delete.
244 (process_suffix): Drop their uses. Re-arrange final part of
245 logic into a switch() statement. Drop special casing of
248 2018-03-08 Jan Beulich <jbeulich@suse.com>
250 * config/tc-i386.c (match_template): Also match register
251 operands 0 and 2 for 3-operand forms.
252 * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s:
254 * testsuite/gas/i386/i386.exp: Run new test.
256 2018-03-08 Jan Beulich <jbeulich@suse.com>
258 * config/tc-i386.c (process_suffix): Do common part of register
261 2018-03-08 Jan Beulich <jbeulich@suse.com>
263 * config/tc-i386.c (parse_insn): Move success return up. Combine
266 2018-03-08 Jan Beulich <jbeulich@suse.com>
268 * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX
269 logic. Add respective logic for AVX512F.
270 * testsuite/gas/i386/arch-avx-1.s: Add GFNI test.
271 testsuite/gas/i386/arch-avx-1.d,
272 testsuite/gas/i386/arch-avx-1-1.l,
273 testsuite/gas/i386/arch-avx-1-2.l,
274 testsuite/gas/i386/arch-avx-1-3.l,
275 testsuite/gas/i386/arch-avx-1-4.l,
276 testsuite/gas/i386/arch-avx-1-5.l,
277 testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations.
278 * testsuite/gas/i386/arch-avx-1-7.l,
279 testsuite/gas/i386/arch-avx-1-7.s,
280 testsuite/gas/i386/arch-avx-1-8.l,
281 testsuite/gas/i386/arch-avx-1-8.s,
282 testsuite/gas/i386/avx512f-plain.l,
283 testsuite/gas/i386/avx512f-plain.s,
284 testsuite/gas/i386/avx512vl-plain.l,
285 testsuite/gas/i386/avx512vl-plain.s: New.
286 * testsuite/gas/i386/i386.exp: Run new tests.
288 2018-03-08 Jan Beulich <jbeulich@suse.com>
290 * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead.
292 2018-03-08 Jan Beulich <jbeulich@suse.com>
294 * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete.
295 (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of
296 CPU_FLAGS_32BIT_MATCH.
298 2018-03-08 Jan Beulich <jbeulich@suse.com>
300 * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
301 CPU_FLAGS_PCLMUL_MATCH): Delete.
302 (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
303 (cpu_flags_match): Combine AVX checks into
306 2018-03-08 Jan Beulich <jbeulich@suse.com>
308 * config/tc-i386.c (cpu_flags_match): Drop "else" branches
309 setting CPU_FLAGS_ARCH_MATCH.
311 2018-03-08 Jan Beulich <jbeulich@suse.com>
313 * config/tc-i386.c (md_assemble): Extend SSE check conditional.
314 * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d,
315 testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
316 testsuite/gas/i386/ilp32/x86-64-sse-check.d,
317 testsuite/gas/i386/sse-check-none.d,
318 testsuite/gas/i386/sse-check-warn.d,
319 testsuite/gas/i386/x86-64-sse-check.d,
320 testsuite/gas/i386/x86-64-sse-check-none.d,
321 testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d.
322 * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL
324 * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
326 * testsuite/gas/i386/sse-check.d: Adjust expectations.
327 * testsuite/gas/i386/sse-check-error.l,
328 testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
329 * testsuite/gas/i386/sse-check-warn.e: Likewise.
331 2018-03-08 Jan Beulich <jbeulich@suse.com>
333 * config/tc-i386.c (operand_size_match): Drop / replace uses of
336 2018-03-08 Jan Beulich <jbeulich@suse.com>
338 * testsuite/gas/i386/intel-intel.d: New.
339 * testsuite/gas/i386/i386.exp: Run new test.
341 2018-03-08 Jan Beulich <jbeulich@suse.com>
343 * config/tc-i386.c (process_operands): Access operands only
344 after operand count assertion. Sanitize warning text. Fix
346 * testsuite/gas/i386/avx512_4fmaps-warn.l,
347 gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
349 2018-03-08 Jan Beulich <jbeulich@suse.com>
351 * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
352 * testsuite/gas/i386/x86-64-movd.d,
353 testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
355 2018-03-08 Jan Beulich <jbeulich@suse.com>
357 * config/tc-i386.c (operand_type_and_not): New.
358 (build_modrm_byte): Use it to prevent clearing unrelated bits.
360 2018-03-08 Alan Modra <amodra@gmail.com>
362 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
363 don't emit a group terminating nop for power9. Simplify cpu
366 2018-03-08 Alan Modra <amodra@gmail.com>
368 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
369 terminating nop for power9.
371 2018-03-07 H.J. Lu <hongjiu.lu@intel.com>
374 * config/tc-i386.c (f32_5): Removed.
387 (alt64_11): Likewise.
388 (alt64_patt): Likewise.
390 (jump32_disp32): Likewise.
391 (jump16_disp32): Likewise.
394 (f16_patt): Likewise.
395 (alt_patt): Add alt_11.
396 (i386_align_code): Merged with ...
397 (i386_generate_nops): This. Rewritten.
398 (fits_in_imm7): Moved before i386_generate_nops.
399 (fits_in_imm31): Likewise.
400 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
402 (i386_align_code): Removed.
403 (HANDLE_ALIGN): Rewritten with i386_generate_nops.
404 * doc/as.texinfo: Update limits of control byte for x86 .nops
406 * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
407 * gas/testsuite/gas/i386/noavx-3.l: Updated.
408 * gas/testsuite/gas/i386/nop-1.d: Likewise.
409 * gas/testsuite/gas/i386/nop-1.s: Likewise.
410 * gas/testsuite/gas/i386/nop-2.d: Likewise.
411 * gas/testsuite/gas/i386/nop-2.s: Likewise.
412 * gas/testsuite/gas/i386/nop-3.d: Likewise.
413 * gas/testsuite/gas/i386/nop-4.d: Likewise.
414 * gas/testsuite/gas/i386/nop-5.d: Likewise.
415 * gas/testsuite/gas/i386/nop-5.s: Likewise.
416 * gas/testsuite/gas/i386/nop-6.d: Likewise.
417 * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
418 * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
419 * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
420 * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
421 * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
422 * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
423 * gas/testsuite/gas/i386/nops-1.d: Likewise.
424 * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
425 * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
426 * gas/testsuite/gas/i386/nops-2.d: Likewise.
427 * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
428 * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
429 * gas/testsuite/gas/i386/nops-3.d: Likewise.
430 * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
431 * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
432 * gas/testsuite/gas/i386/nops-4.d: Likewise.
433 * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
434 * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
435 * gas/testsuite/gas/i386/nops-5.d: Likewise.
436 * gas/testsuite/gas/i386/nops-6.d: Likewise.
437 * gas/testsuite/gas/i386/nops16-1.d: Likewise.
438 * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
439 * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
440 * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
441 * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
442 * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
443 * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
444 * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
445 * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
446 * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
447 * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
448 * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
449 * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
450 * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
451 * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
452 * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
453 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
454 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
455 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
456 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
457 * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
458 * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
459 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
460 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
461 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
462 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
463 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
464 * gas/testsuite/gas/i386/nops-7.d: New file.
465 * gas/testsuite/gas/i386/nops-7.s: Likewise.
466 * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
468 2018-03-07 Alan Modra <amodra@gmail.com>
470 * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
471 * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
472 * testsuite/gas/ppc/machine.d: Don't run for PE targets.
474 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
476 * config/tc-arm.c (md_begin): Add NULL pointer check before
477 dereferencing march_ext_opt.
479 2018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
481 * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
482 legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
483 mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
484 mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
485 (dyn_mcpu_ext_opt): Also rename into ...
486 (mcpu_ext_opt): This.
487 (dyn_march_ext_opt): Also rename into ...
488 (march_ext_opt): This.
489 (object_arch): Also rename into ...
490 (selected_object_arch): This and make it a plain arm_feature_set
492 (selected_arch, selected_ext, selected_fpu): New static variables.
493 (mark_feature_used): Fix comments, feature is marked as used iff it is
495 (do_bx): Adapt to change in name and type of object_arch.
496 (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
497 rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
498 Remove dead code to set default FPU if architecture version is greater
499 than 5. Set all CPU bits of cpu_variant directly in autodection
500 leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
501 (arm_parse_extension): Take extension feature set pointer parameter by
502 value rather than by pointer. Remove allocation code. Adapt code
504 (arm_parse_cpu): Adapt to variable renaming and changes in
505 arm_parse_extension () signature.
506 (arm_parse_arch): Likewise.
507 (aeabi_set_public_attributes): Also set selected_arch and selected_ext
508 in addition to selected_cpu. Set flags_arch and flags_ext from them
509 instead of selected_cpu. Adapt to variables renaming and type change.
510 (arm_md_post_relax): Adapt to variable renaming.
511 (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
512 mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and
513 cpu_variant from selected_cpu and selected_fpu.
514 (s_arm_arch): Likewise.
515 (s_arm_object_arch): Adapt to variable renaming.
516 (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
517 set against arm_any. Check selected_arch rather than *mcpu_cpu_opt.
518 Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
520 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
521 bits if in autodetection mode.
523 2018-03-01 H.J. Lu <hongjiu.lu@intel.com>
525 * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
526 AVX512 vpsub[bwdq] instructions.
527 * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
528 AVX512 vpsub[bwdq] instructions.
529 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
530 * testsuite/gas/i386/optimize-1.d: Updated.
531 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
533 2018-03-01 Alan Modra <amodra@gmail.com>
535 * configure.ac (ALL_LINGUAS): Add uk. Sort.
536 * configure: Regenerate.
538 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
540 * NEWS: Rename .nop to .nops.
541 * doc/as.texinfo: Likewise.
542 * read.c (potable): Add "nops". Remove "nop".
543 (s_nop): Renamed to ...
545 * read.h (s_nop): Renamed to ...
547 * write.c (cvt_frag_to_fill): Rename .nop to .nops.
548 (md_generate_nops): Likewise.
549 (relax_segment): Likewise.
550 * testsuite/gas/i386/nop-1.d: Updated.
551 * testsuite/gas/i386/nop-1.s: Likewise.
552 * testsuite/gas/i386/nop-2.d: Likewise.
553 * testsuite/gas/i386/nop-2.s: Likewise.
554 * testsuite/gas/i386/nop-3.d: Likewise.
555 * testsuite/gas/i386/nop-3.s: Likewise.
556 * testsuite/gas/i386/nop-4.d: Likewise.
557 * testsuite/gas/i386/nop-4.s: Likewise.
558 * testsuite/gas/i386/nop-5.d: Likewise.
559 * testsuite/gas/i386/nop-5.s: Likewise.
560 * testsuite/gas/i386/nop-6.d: Likewise.
561 * testsuite/gas/i386/nop-6.s: Likewise.
562 * testsuite/gas/i386/nop-bad-1.l: Likewise.
563 * testsuite/gas/i386/nop-bad-1.s: Likewise.
564 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
565 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
566 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
567 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
568 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
569 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
571 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
574 * NEWS: Mention -O[2|s].
575 * config/tc-i386.c (_i386_insn): Add no_optimize.
577 (optimize_for_space): Likewise.
578 (fits_in_imm7): New function.
579 (fits_in_imm31): Likewise.
580 (optimize_encoding): Likewise.
581 (md_assemble): Call optimize_encoding to optimize encoding.
582 (parse_insn): Handle {nooptimize}.
583 (md_shortopts): Append "O::".
584 (md_parse_option): Handle -On.
585 * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
587 * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
588 * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
589 * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
590 optimize-3, x86-64-optimize-1, x86-64-optimize-2,
591 x86-64-optimize-3 and x86-64-optimize-4.
592 * testsuite/gas/i386/optimize-1.d: New file.
593 * testsuite/gas/i386/optimize-1.s: Likewise.
594 * testsuite/gas/i386/optimize-2.d: Likewise.
595 * testsuite/gas/i386/optimize-2.s: Likewise.
596 * testsuite/gas/i386/optimize-3.d: Likewise.
597 * testsuite/gas/i386/optimize-3.s: Likewise.
598 * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
599 * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
600 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
601 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
602 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
603 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
604 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
605 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
607 2018-02-27 Nick Clifton <nickc@redhat.com>
609 * po/ru.po: Updated Russian translation.
611 2018-02-26 Maciej W. Rozycki <macro@mips.com>
613 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
616 2018-02-26 Nick Clifton <nickc@redhat.com>
618 * doc/as.texinfo (Dc): Fix typo.
620 2018-02-26 Alan Modra <amodra@gmail.com>
622 * testsuite/gas/mips/reginfo-2.l: Update.
624 2018-02-23 Alan Modra <amodra@gmail.com>
626 * testsuite/gas/mips/reginfo-2.l: Update.
628 2018-02-23 Nick Clifton <nickc@redhat.com>
630 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
632 2018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
634 * config/tc-nds32.c (ict_model): New function. Hook new
635 directive .ict_model.
636 (nds32_insert_relax_entry): Tag the bits of entry relocation
639 2018-02-22 H.J. Lu <hongjiu.lu@intel.com>
641 * config/tc-i386.c (_i386_insn): Add rex_encoding.
642 (md_assemble): When i.rex_encoding is true, generate a REX byte
644 (parse_insn): Set i.rex_encoding for {rex}.
645 * doc/c-i386.texi: Document {rex}.
646 * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
647 * testsuite/gas/i386/x86-64-pseudos.d: Updated.
649 2018-02-22 A. Wilcox <awilfox@adelielinux.org>
652 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
653 instruction size suffix.
655 2018-02-20 Maciej W. Rozycki <macro@mips.com>
657 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
658 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
659 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
660 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
661 * testsuite/gas/mips/mips.exp: Run the new tests.
663 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
665 * config/tc-xtensa.c (struct litpool_frag): Add new field
667 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
668 (MAX_POOL_LITERALS): New macro definitions.
669 (auto_litpool_limit): Initialize to 0.
670 (md_parse_option): Set auto_litpool_limit in the presence of
671 --auto-litpools option.
672 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
674 (xg_find_litpool): New function. Make sure that found literal
675 pool size is within the limit.
676 (xtensa_move_literals): Extract literal pool search code into
678 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
679 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
680 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
681 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
683 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
684 that objdump doesn't get out of sync.
686 2018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
688 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
689 also the same as -march.
691 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
693 * NEWS: Mention .nop directive.
694 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
695 * read.c (potable): Add .nop.
696 (s_nop): New function.
697 * read.h (s_nop): New prototype.
698 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
700 (md_generate_nops): New function.
701 (relax_segment): Likewise.
702 (write_contents): Use md_generate_nops for rs_fill_nop.
703 * config/tc-i386.c (alt64_11): New.
704 (alt64_patt): Likewise.
705 (md_convert_frag): Handle rs_space_nop.
706 (i386_output_nops): New function.
707 (i386_generate_nops): Likewise.
708 (i386_align_code): Call i386_output_nops.
709 * config/tc-i386.h (i386_generate_nops): New.
710 (md_generate_nops): Likewise.
711 * doc/as.texinfo: Document .nop directive.
712 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
713 * testsuite/gas/i386/nop-1.d: New file.
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-15 Tamar Christina <tamar.christina@arm.com>
736 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
737 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
739 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
741 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
742 frag that contains source address.
744 2018-02-13 Nick Clifton <nickc@redhat.com>
747 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
748 instruction before assuming that it is a MOV instruction.
749 * testsuite/gas/arm/pr22773.s: New test.
750 * testsuite/gas/arm/pr22773.d: New test driver.
751 * testsuite/gas/arm/pr22773.l: New expected output.
753 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
756 * config/tc-i386.c (need_plt32_p): New function.
757 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
758 (md_estimate_size_before_relax): Likewise.
759 * testsuite/gas/i386/reloc64.d: Updated.
760 * testsuite/gas/i386/x86-64-jump.d: Likewise.
761 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
762 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
763 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
764 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
765 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
766 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
768 2018-02-13 Maciej W. Rozycki <macro@mips.com>
770 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
772 2018-02-13 Nick Clifton <nickc@redhat.com>
775 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
777 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
778 (obj_elf_vtable_inherit): New stub function that calls
779 obj_elf_get_vtable_inherit.
780 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
781 (obj_elf_vtable_entry): New stub function that calls
782 obj_elf_get_vtable_entry.
783 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
784 (obj_elf_vtable_entry) Likewise.
785 (obj_elf_get_vtable_inherit) Likewise.
786 (obj_elf_get_vtable_entry) Likewise.
787 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
788 * config/tc-i386c (md_pseudo_table): Likewise.
789 * config/tc-hppa.c (pa_vtable_entry): Call
790 obj_elf_get_vtable_entry.
791 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
792 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
793 with call to dwarf2_get_filename.
794 * dwarf2dbg.c (dwarf2_directive_file): Rename to
795 dwarf2_directive_filename.
796 (dwarf2_directive_file): New stub function that calls
797 dwarf2_directive_filename.
798 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
800 2018-02-12 Maciej W. Rozycki <macro@mips.com>
802 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
805 2018-02-12 Henry Wong <henry@stuffedcow.net>
807 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
808 * testsuite/gas/mips/r6-n32.d: Likewise.
809 * testsuite/gas/mips/r6-n64.d: Likewise.
811 2018-02-12 Nick Clifton <nickc@redhat.com>
813 * po/ru.po: Updated Russian translation.
815 2018-02-08 Alan Modra <amodra@gmail.com>
818 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
819 (ppc_frag_check): Likewise.
820 * testsuite/gas/ppc/misalign.d,
821 * testsuite/gas/ppc/misalign.l,
822 * testsuite/gas/ppc/misalign.s: New test.
823 * testsuite/gas/ppc/misalign2.d,
824 * testsuite/gas/ppc/misalign2.s: New test.
825 * testsuite/gas/ppc/ppc.exp: Run them.
827 2018-02-05 Maciej W. Rozycki <macro@mips.com>
829 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
830 `expr' parameter to `ep'.
832 2018-02-05 Maciej W. Rozycki <macro@mips.com>
834 * testsuite/gas/mips/reginfo-2.d: New test.
835 * testsuite/gas/mips/reginfo-2-n32.d: New test.
836 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
837 * testsuite/gas/mips/reginfo-2.s: New test source.
838 * testsuite/gas/mips/mips.exp: Run the new tests.
840 2018-02-05 Nick Clifton <nickc@redhat.com>
842 * po/ru.po: Updated Russian translation.
844 2018-01-31 Alan Modra <amodra@gmail.com>
847 * app.c (last_char): New static var.
848 (struct app_save): Add last_char field.
849 (app_push, app_pop): Handle it.
850 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
852 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
855 * config/tc-sparc.h (sparc_mach): Declare.
856 (TARGET_MACH): Define to above.
857 * config/tc-sparc.c (sparc_mach): New function.
858 (sparc_md_end): Minor tweak.
860 2018-01-29 Nick Clifton <nickc@redhat.com>
862 * po/ru.po: Updated Russian translation.
864 2018-01-26 Maciej W. Rozycki <macro@mips.com>
866 * configure.tgt: Use generic emulation for `mips-*-windiss',
867 overriding the blanket choice made for `*-*-windiss'.
869 2018-01-26 Maciej W. Rozycki <macro@mips.com>
871 * configure.tgt: Use `mips-*-sysv4*' rather than
874 2018-01-24 Renlin Li <renlin.li@arm.com>
876 * config/tc-aarch64.c (reloc_table): add entries for
877 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
878 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
879 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
880 BFD_RELOC_AARCH64_MOVW_PREL_G3.
881 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
882 (md_apply_fix): Likewise
883 * testsuite/gas/aarch64/prel_g0.s: New.
884 * testsuite/gas/aarch64/prel_g0.d: New.
885 * testsuite/gas/aarch64/prel_g0_nc.s: New.
886 * testsuite/gas/aarch64/prel_g0_nc.d: New.
887 * testsuite/gas/aarch64/prel_g1.s: New.
888 * testsuite/gas/aarch64/prel_g1.d: New.
889 * testsuite/gas/aarch64/prel_g1_nc.s: New.
890 * testsuite/gas/aarch64/prel_g1_nc.d: New.
891 * testsuite/gas/aarch64/prel_g2.s: New.
892 * testsuite/gas/aarch64/prel_g2.d: New.
893 * testsuite/gas/aarch64/prel_g2_nc.s: New.
894 * testsuite/gas/aarch64/prel_g2_nc.d: New.
895 * testsuite/gas/aarch64/prel_g3.s: New.
896 * testsuite/gas/aarch64/prel_g3.d: New.
898 2018-01-23 Maciej W. Rozycki <macro@mips.com>
900 * configure.ac: Also set `mips_default_abi' to N32_ABI for
902 * configure: Regenerate.
904 2018-01-23 Maciej W. Rozycki <macro@mips.com>
906 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
909 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
911 * config/tc-i386.c (cpu_arch): Add .pconfig.
912 * doc/c-i386.texi: Document .pconfig.
913 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
914 * testsuite/gas/i386/pconfig-intel.d: New test.
915 * testsuite/gas/i386/pconfig.d: Likewise.
916 * testsuite/gas/i386/pconfig.s: Likewise.
917 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
918 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
919 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
921 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
923 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
924 * doc/c-i386.texi: Document .wbnoinvd.
925 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
926 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
927 * testsuite/gas/i386/wbnoinvd.d: Likewise.
928 * testsuite/gas/i386/wbnoinvd.s: Likewise.
929 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
930 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
931 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
933 2018-01-23 Maciej W. Rozycki <macro@mips.com>
935 * config/tc-mips.c (md_show_usage): Correctly indicate the
936 configuration-specific default ABI.
938 2018-01-23 Maciej W. Rozycki <macro@mips.com>
940 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
941 `-mno-mips16e2' options.
943 2018-01-22 Maciej W. Rozycki <macro@mips.com>
945 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
946 Correct syntax of the `.set nomips16e2' directive description.
948 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
951 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
952 * testsuite/gas/rx/pr22737.s: New test.
953 * testsuite/gas/rx/pr22737.d: Likewise.
954 * testsuite/gas/rx/rx.exp: Run the new test.
956 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
958 * config/tc-arm.c (ToC macro): Remove spurious comment.
959 (ToU macro): Likewise.
961 2018-01-17 Jim Wilson <jimw@sifive.com>
963 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
964 (riscv_ip) <'z'>: New.
966 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
968 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
969 (cpu_noarch): Add noibt, noshstk.
970 (parse_insn): Change cpucet to cpuibt.
971 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
972 * testsuite/gas/i386/cet-ibt-inval.l: New test.
973 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
974 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
975 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
976 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
977 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
978 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
979 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
981 2018-01-16 Nick Clifton <nickc@redhat.com>
983 * po/fr.po: Updated French translation.
985 2018-01-15 Jim Wilson <jimw@sifive.com>
987 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
988 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
990 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
992 * config/tc-arm.c (ToC): Define macro.
994 (insns): Make use of above macros for new instructions introduced in
997 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
999 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
1000 and vlstm conditionally executable and reindent parameters.
1001 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
1002 aforementionned instructions.
1004 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1006 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
1007 profile architecture or if in autodetection mode. Clarify that
1008 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
1009 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
1011 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
1012 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
1013 * testsuite/gas/arm/udf.l: Likewise.
1014 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
1016 2018-01-15 Nick Clifton <nickc@redhat.com>
1018 * po/uk.po: Updated Ukranian translation.
1020 2018-01-13 Nick Clifton <nickc@redhat.com>
1022 * po/gas.pot: Regenerated.
1024 2018-01-13 Nick Clifton <nickc@redhat.com>
1026 * configure: Regenerate.
1028 2018-01-13 Nick Clifton <nickc@redhat.com>
1030 2.30 branch created.
1031 * NEWS: Add marker for 2.30.
1033 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
1035 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
1036 define to 0 and 1. Remove a dangling reference to "AMD 29000"
1039 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1041 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
1042 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
1043 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
1044 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
1045 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
1046 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
1047 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
1048 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
1050 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
1051 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
1052 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
1053 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
1054 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
1055 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
1056 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
1057 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
1059 2018-01-11 Alan Modra <amodra@gmail.com>
1061 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
1062 positive "‘profile’ may be used uninitialized".
1064 2018-01-10 Jan Beulich <jbeulich@suse.com>
1066 * testsuite/gas/i386/avx512_4fmaps.s,
1067 testsuite/gas/i386/avx512_4fmaps_vl.s,
1068 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
1069 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
1070 Disp8 forms (and the transition happening at the right
1072 * testsuite/gas/i386/avx512_4fmaps.d,
1073 testsuite/gas/i386/avx512_4fmaps-intel.d,
1074 testsuite/gas/i386/avx512_4fmaps_vl.d,
1075 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
1076 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
1077 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
1078 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
1079 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
1082 2018-01-10 Jan Beulich <jbeulich@suse.com>
1084 * testsuite/gas/i386/avx512bw.s,
1085 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
1087 * testsuite/gas/i386/avx512bw-intel.d,
1088 testsuite/gas/i386/avx512bw.d,
1089 testsuite/gas/i386/avx512bw_vl-intel.d.
1090 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
1092 2018-01-09 Jim Wilson <jimw@sifive.com>
1094 * testsuite/gas/riscv/auipc-x0.d: New.
1095 * testsuite/gas/riscv/auipc-x0.s: New.
1097 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1099 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
1100 in Arm execution state, and Armv6T2 and above in Thumb execution
1102 * testsuite/gas/arm/csdb.s: New.
1103 * testsuite/gas/arm/csdb.d: New.
1104 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
1105 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
1107 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1109 * testsuite/gas/aarch64/system.d: Update expected results to expect
1112 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
1115 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
1117 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
1118 * testsuite/gas/i386/x86-64-movd.d: Likewise.
1119 * testsuite/gas/i386/x86-64-movd.s: Likewise.
1121 2018-01-08 Nick Clifton <nickc@redhat.com>
1124 * doc/c-i386.texi (i386-Directives): Document the .largecomm
1127 2018-01-04 Jim Wilson <jimw@sifive.com>
1129 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
1130 * testsuite/gas/riscv/priv-reg.d: Likewise.
1132 2018-01-03 Alan Modra <amodra@gmail.com>
1134 Update year range in copyright notice of all files.
1136 2018-01-02 Nick Clifton <nickc@redhat.com>
1139 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
1140 version of ARM MRS instruction.
1142 For older changes see ChangeLog-2017
1144 Copyright (C) 2018 Free Software Foundation, Inc.
1146 Copying and distribution of this file, with or without modification,
1147 are permitted in any medium without royalty provided the copyright
1148 notice and this notice are preserved.
1154 version-control: never