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