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