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