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