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