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