1 2018-03-08 Jan Beulich <jbeulich@suse.com>
3 * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX,
4 ZMMWORD_MNEM_SUFFIX): Delete.
5 (process_suffix): Drop their uses. Re-arrange final part of
6 logic into a switch() statement. Drop special casing of
9 2018-03-08 Jan Beulich <jbeulich@suse.com>
11 * config/tc-i386.c (match_template): Also match register
12 operands 0 and 2 for 3-operand forms.
13 * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s:
15 * testsuite/gas/i386/i386.exp: Run new test.
17 2018-03-08 Jan Beulich <jbeulich@suse.com>
19 * config/tc-i386.c (process_suffix): Do common part of register
22 2018-03-08 Jan Beulich <jbeulich@suse.com>
24 * config/tc-i386.c (parse_insn): Move success return up. Combine
27 2018-03-08 Jan Beulich <jbeulich@suse.com>
29 * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX
30 logic. Add respective logic for AVX512F.
31 * testsuite/gas/i386/arch-avx-1.s: Add GFNI test.
32 testsuite/gas/i386/arch-avx-1.d,
33 testsuite/gas/i386/arch-avx-1-1.l,
34 testsuite/gas/i386/arch-avx-1-2.l,
35 testsuite/gas/i386/arch-avx-1-3.l,
36 testsuite/gas/i386/arch-avx-1-4.l,
37 testsuite/gas/i386/arch-avx-1-5.l,
38 testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations.
39 * testsuite/gas/i386/arch-avx-1-7.l,
40 testsuite/gas/i386/arch-avx-1-7.s,
41 testsuite/gas/i386/arch-avx-1-8.l,
42 testsuite/gas/i386/arch-avx-1-8.s,
43 testsuite/gas/i386/avx512f-plain.l,
44 testsuite/gas/i386/avx512f-plain.s,
45 testsuite/gas/i386/avx512vl-plain.l,
46 testsuite/gas/i386/avx512vl-plain.s: New.
47 * testsuite/gas/i386/i386.exp: Run new tests.
49 2018-03-08 Jan Beulich <jbeulich@suse.com>
51 * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead.
53 2018-03-08 Jan Beulich <jbeulich@suse.com>
55 * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete.
56 (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of
57 CPU_FLAGS_32BIT_MATCH.
59 2018-03-08 Jan Beulich <jbeulich@suse.com>
61 * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
62 CPU_FLAGS_PCLMUL_MATCH): Delete.
63 (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
64 (cpu_flags_match): Combine AVX checks into
67 2018-03-08 Jan Beulich <jbeulich@suse.com>
69 * config/tc-i386.c (cpu_flags_match): Drop "else" branches
70 setting CPU_FLAGS_ARCH_MATCH.
72 2018-03-08 Jan Beulich <jbeulich@suse.com>
74 * config/tc-i386.c (md_assemble): Extend SSE check conditional.
75 * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d,
76 testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
77 testsuite/gas/i386/ilp32/x86-64-sse-check.d,
78 testsuite/gas/i386/sse-check-none.d,
79 testsuite/gas/i386/sse-check-warn.d,
80 testsuite/gas/i386/x86-64-sse-check.d,
81 testsuite/gas/i386/x86-64-sse-check-none.d,
82 testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d.
83 * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL
85 * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
87 * testsuite/gas/i386/sse-check.d: Adjust expectations.
88 * testsuite/gas/i386/sse-check-error.l,
89 testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
90 * testsuite/gas/i386/sse-check-warn.e: Likewise.
92 2018-03-08 Jan Beulich <jbeulich@suse.com>
94 * config/tc-i386.c (operand_size_match): Drop / replace uses of
97 2018-03-08 Jan Beulich <jbeulich@suse.com>
99 * testsuite/gas/i386/intel-intel.d: New.
100 * testsuite/gas/i386/i386.exp: Run new test.
102 2018-03-08 Jan Beulich <jbeulich@suse.com>
104 * config/tc-i386.c (process_operands): Access operands only
105 after operand count assertion. Sanitize warning text. Fix
107 * testsuite/gas/i386/avx512_4fmaps-warn.l,
108 gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
110 2018-03-08 Jan Beulich <jbeulich@suse.com>
112 * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
113 * testsuite/gas/i386/x86-64-movd.d,
114 testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
116 2018-03-08 Jan Beulich <jbeulich@suse.com>
118 * config/tc-i386.c (operand_type_and_not): New.
119 (build_modrm_byte): Use it to prevent clearing unrelated bits.
121 2018-03-08 Alan Modra <amodra@gmail.com>
123 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
124 don't emit a group terminating nop for power9. Simplify cpu
127 2018-03-08 Alan Modra <amodra@gmail.com>
129 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
130 terminating nop for power9.
132 2018-03-07 H.J. Lu <hongjiu.lu@intel.com>
135 * config/tc-i386.c (f32_5): Removed.
148 (alt64_11): Likewise.
149 (alt64_patt): Likewise.
151 (jump32_disp32): Likewise.
152 (jump16_disp32): Likewise.
155 (f16_patt): Likewise.
156 (alt_patt): Add alt_11.
157 (i386_align_code): Merged with ...
158 (i386_generate_nops): This. Rewritten.
159 (fits_in_imm7): Moved before i386_generate_nops.
160 (fits_in_imm31): Likewise.
161 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
163 (i386_align_code): Removed.
164 (HANDLE_ALIGN): Rewritten with i386_generate_nops.
165 * doc/as.texinfo: Update limits of control byte for x86 .nops
167 * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
168 * gas/testsuite/gas/i386/noavx-3.l: Updated.
169 * gas/testsuite/gas/i386/nop-1.d: Likewise.
170 * gas/testsuite/gas/i386/nop-1.s: Likewise.
171 * gas/testsuite/gas/i386/nop-2.d: Likewise.
172 * gas/testsuite/gas/i386/nop-2.s: Likewise.
173 * gas/testsuite/gas/i386/nop-3.d: Likewise.
174 * gas/testsuite/gas/i386/nop-4.d: Likewise.
175 * gas/testsuite/gas/i386/nop-5.d: Likewise.
176 * gas/testsuite/gas/i386/nop-5.s: Likewise.
177 * gas/testsuite/gas/i386/nop-6.d: Likewise.
178 * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
179 * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
180 * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
181 * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
182 * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
183 * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
184 * gas/testsuite/gas/i386/nops-1.d: Likewise.
185 * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
186 * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
187 * gas/testsuite/gas/i386/nops-2.d: Likewise.
188 * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
189 * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
190 * gas/testsuite/gas/i386/nops-3.d: Likewise.
191 * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
192 * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
193 * gas/testsuite/gas/i386/nops-4.d: Likewise.
194 * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
195 * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
196 * gas/testsuite/gas/i386/nops-5.d: Likewise.
197 * gas/testsuite/gas/i386/nops-6.d: Likewise.
198 * gas/testsuite/gas/i386/nops16-1.d: Likewise.
199 * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
200 * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
201 * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
202 * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
203 * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
204 * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
205 * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
206 * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
207 * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
208 * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
209 * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
210 * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
211 * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
212 * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
213 * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
214 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
215 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
216 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
217 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
218 * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
219 * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
220 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
221 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
222 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
223 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
224 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
225 * gas/testsuite/gas/i386/nops-7.d: New file.
226 * gas/testsuite/gas/i386/nops-7.s: Likewise.
227 * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
229 2018-03-07 Alan Modra <amodra@gmail.com>
231 * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
232 * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
233 * testsuite/gas/ppc/machine.d: Don't run for PE targets.
235 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
237 * config/tc-arm.c (md_begin): Add NULL pointer check before
238 dereferencing march_ext_opt.
240 2018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
242 * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
243 legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
244 mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
245 mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
246 (dyn_mcpu_ext_opt): Also rename into ...
247 (mcpu_ext_opt): This.
248 (dyn_march_ext_opt): Also rename into ...
249 (march_ext_opt): This.
250 (object_arch): Also rename into ...
251 (selected_object_arch): This and make it a plain arm_feature_set
253 (selected_arch, selected_ext, selected_fpu): New static variables.
254 (mark_feature_used): Fix comments, feature is marked as used iff it is
256 (do_bx): Adapt to change in name and type of object_arch.
257 (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
258 rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
259 Remove dead code to set default FPU if architecture version is greater
260 than 5. Set all CPU bits of cpu_variant directly in autodection
261 leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
262 (arm_parse_extension): Take extension feature set pointer parameter by
263 value rather than by pointer. Remove allocation code. Adapt code
265 (arm_parse_cpu): Adapt to variable renaming and changes in
266 arm_parse_extension () signature.
267 (arm_parse_arch): Likewise.
268 (aeabi_set_public_attributes): Also set selected_arch and selected_ext
269 in addition to selected_cpu. Set flags_arch and flags_ext from them
270 instead of selected_cpu. Adapt to variables renaming and type change.
271 (arm_md_post_relax): Adapt to variable renaming.
272 (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
273 mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and
274 cpu_variant from selected_cpu and selected_fpu.
275 (s_arm_arch): Likewise.
276 (s_arm_object_arch): Adapt to variable renaming.
277 (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
278 set against arm_any. Check selected_arch rather than *mcpu_cpu_opt.
279 Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
281 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
282 bits if in autodetection mode.
284 2018-03-01 H.J. Lu <hongjiu.lu@intel.com>
286 * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
287 AVX512 vpsub[bwdq] instructions.
288 * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
289 AVX512 vpsub[bwdq] instructions.
290 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
291 * testsuite/gas/i386/optimize-1.d: Updated.
292 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
294 2018-03-01 Alan Modra <amodra@gmail.com>
296 * configure.ac (ALL_LINGUAS): Add uk. Sort.
297 * configure: Regenerate.
299 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
301 * NEWS: Rename .nop to .nops.
302 * doc/as.texinfo: Likewise.
303 * read.c (potable): Add "nops". Remove "nop".
304 (s_nop): Renamed to ...
306 * read.h (s_nop): Renamed to ...
308 * write.c (cvt_frag_to_fill): Rename .nop to .nops.
309 (md_generate_nops): Likewise.
310 (relax_segment): Likewise.
311 * testsuite/gas/i386/nop-1.d: Updated.
312 * testsuite/gas/i386/nop-1.s: Likewise.
313 * testsuite/gas/i386/nop-2.d: Likewise.
314 * testsuite/gas/i386/nop-2.s: Likewise.
315 * testsuite/gas/i386/nop-3.d: Likewise.
316 * testsuite/gas/i386/nop-3.s: Likewise.
317 * testsuite/gas/i386/nop-4.d: Likewise.
318 * testsuite/gas/i386/nop-4.s: Likewise.
319 * testsuite/gas/i386/nop-5.d: Likewise.
320 * testsuite/gas/i386/nop-5.s: Likewise.
321 * testsuite/gas/i386/nop-6.d: Likewise.
322 * testsuite/gas/i386/nop-6.s: Likewise.
323 * testsuite/gas/i386/nop-bad-1.l: Likewise.
324 * testsuite/gas/i386/nop-bad-1.s: Likewise.
325 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
326 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
327 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
328 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
329 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
330 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
332 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
335 * NEWS: Mention -O[2|s].
336 * config/tc-i386.c (_i386_insn): Add no_optimize.
338 (optimize_for_space): Likewise.
339 (fits_in_imm7): New function.
340 (fits_in_imm31): Likewise.
341 (optimize_encoding): Likewise.
342 (md_assemble): Call optimize_encoding to optimize encoding.
343 (parse_insn): Handle {nooptimize}.
344 (md_shortopts): Append "O::".
345 (md_parse_option): Handle -On.
346 * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
348 * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
349 * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
350 * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
351 optimize-3, x86-64-optimize-1, x86-64-optimize-2,
352 x86-64-optimize-3 and x86-64-optimize-4.
353 * testsuite/gas/i386/optimize-1.d: New file.
354 * testsuite/gas/i386/optimize-1.s: Likewise.
355 * testsuite/gas/i386/optimize-2.d: Likewise.
356 * testsuite/gas/i386/optimize-2.s: Likewise.
357 * testsuite/gas/i386/optimize-3.d: Likewise.
358 * testsuite/gas/i386/optimize-3.s: Likewise.
359 * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
360 * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
361 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
362 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
363 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
364 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
365 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
366 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
368 2018-02-27 Nick Clifton <nickc@redhat.com>
370 * po/ru.po: Updated Russian translation.
372 2018-02-26 Maciej W. Rozycki <macro@mips.com>
374 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
377 2018-02-26 Nick Clifton <nickc@redhat.com>
379 * doc/as.texinfo (Dc): Fix typo.
381 2018-02-26 Alan Modra <amodra@gmail.com>
383 * testsuite/gas/mips/reginfo-2.l: Update.
385 2018-02-23 Alan Modra <amodra@gmail.com>
387 * testsuite/gas/mips/reginfo-2.l: Update.
389 2018-02-23 Nick Clifton <nickc@redhat.com>
391 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
393 2018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
395 * config/tc-nds32.c (ict_model): New function. Hook new
396 directive .ict_model.
397 (nds32_insert_relax_entry): Tag the bits of entry relocation
400 2018-02-22 H.J. Lu <hongjiu.lu@intel.com>
402 * config/tc-i386.c (_i386_insn): Add rex_encoding.
403 (md_assemble): When i.rex_encoding is true, generate a REX byte
405 (parse_insn): Set i.rex_encoding for {rex}.
406 * doc/c-i386.texi: Document {rex}.
407 * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
408 * testsuite/gas/i386/x86-64-pseudos.d: Updated.
410 2018-02-22 A. Wilcox <awilfox@adelielinux.org>
413 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
414 instruction size suffix.
416 2018-02-20 Maciej W. Rozycki <macro@mips.com>
418 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
419 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
420 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
421 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
422 * testsuite/gas/mips/mips.exp: Run the new tests.
424 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
426 * config/tc-xtensa.c (struct litpool_frag): Add new field
428 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
429 (MAX_POOL_LITERALS): New macro definitions.
430 (auto_litpool_limit): Initialize to 0.
431 (md_parse_option): Set auto_litpool_limit in the presence of
432 --auto-litpools option.
433 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
435 (xg_find_litpool): New function. Make sure that found literal
436 pool size is within the limit.
437 (xtensa_move_literals): Extract literal pool search code into
439 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
440 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
441 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
442 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
444 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
445 that objdump doesn't get out of sync.
447 2018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
449 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
450 also the same as -march.
452 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
454 * NEWS: Mention .nop directive.
455 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
456 * read.c (potable): Add .nop.
457 (s_nop): New function.
458 * read.h (s_nop): New prototype.
459 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
461 (md_generate_nops): New function.
462 (relax_segment): Likewise.
463 (write_contents): Use md_generate_nops for rs_fill_nop.
464 * config/tc-i386.c (alt64_11): New.
465 (alt64_patt): Likewise.
466 (md_convert_frag): Handle rs_space_nop.
467 (i386_output_nops): New function.
468 (i386_generate_nops): Likewise.
469 (i386_align_code): Call i386_output_nops.
470 * config/tc-i386.h (i386_generate_nops): New.
471 (md_generate_nops): Likewise.
472 * doc/as.texinfo: Document .nop directive.
473 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
474 * testsuite/gas/i386/nop-1.d: New file.
475 * testsuite/gas/i386/nop-1.s: Likewise.
476 * testsuite/gas/i386/nop-2.d: Likewise.
477 * testsuite/gas/i386/nop-2.s: Likewise.
478 * testsuite/gas/i386/nop-3.d: Likewise.
479 * testsuite/gas/i386/nop-3.s: Likewise.
480 * testsuite/gas/i386/nop-4.d: Likewise.
481 * testsuite/gas/i386/nop-4.s: Likewise.
482 * testsuite/gas/i386/nop-5.d: Likewise.
483 * testsuite/gas/i386/nop-5.s: Likewise.
484 * testsuite/gas/i386/nop-6.d: Likewise.
485 * testsuite/gas/i386/nop-6.s: Likewise.
486 * testsuite/gas/i386/nop-bad-1.l: Likewise.
487 * testsuite/gas/i386/nop-bad-1.s: Likewise.
488 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
489 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
490 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
491 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
492 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
493 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
495 2018-02-15 Tamar Christina <tamar.christina@arm.com>
497 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
498 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
500 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
502 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
503 frag that contains source address.
505 2018-02-13 Nick Clifton <nickc@redhat.com>
508 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
509 instruction before assuming that it is a MOV instruction.
510 * testsuite/gas/arm/pr22773.s: New test.
511 * testsuite/gas/arm/pr22773.d: New test driver.
512 * testsuite/gas/arm/pr22773.l: New expected output.
514 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
517 * config/tc-i386.c (need_plt32_p): New function.
518 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
519 (md_estimate_size_before_relax): Likewise.
520 * testsuite/gas/i386/reloc64.d: Updated.
521 * testsuite/gas/i386/x86-64-jump.d: Likewise.
522 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
523 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
524 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
525 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
526 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
527 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
529 2018-02-13 Maciej W. Rozycki <macro@mips.com>
531 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
533 2018-02-13 Nick Clifton <nickc@redhat.com>
536 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
538 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
539 (obj_elf_vtable_inherit): New stub function that calls
540 obj_elf_get_vtable_inherit.
541 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
542 (obj_elf_vtable_entry): New stub function that calls
543 obj_elf_get_vtable_entry.
544 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
545 (obj_elf_vtable_entry) Likewise.
546 (obj_elf_get_vtable_inherit) Likewise.
547 (obj_elf_get_vtable_entry) Likewise.
548 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
549 * config/tc-i386c (md_pseudo_table): Likewise.
550 * config/tc-hppa.c (pa_vtable_entry): Call
551 obj_elf_get_vtable_entry.
552 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
553 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
554 with call to dwarf2_get_filename.
555 * dwarf2dbg.c (dwarf2_directive_file): Rename to
556 dwarf2_directive_filename.
557 (dwarf2_directive_file): New stub function that calls
558 dwarf2_directive_filename.
559 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
561 2018-02-12 Maciej W. Rozycki <macro@mips.com>
563 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
566 2018-02-12 Henry Wong <henry@stuffedcow.net>
568 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
569 * testsuite/gas/mips/r6-n32.d: Likewise.
570 * testsuite/gas/mips/r6-n64.d: Likewise.
572 2018-02-12 Nick Clifton <nickc@redhat.com>
574 * po/ru.po: Updated Russian translation.
576 2018-02-08 Alan Modra <amodra@gmail.com>
579 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
580 (ppc_frag_check): Likewise.
581 * testsuite/gas/ppc/misalign.d,
582 * testsuite/gas/ppc/misalign.l,
583 * testsuite/gas/ppc/misalign.s: New test.
584 * testsuite/gas/ppc/misalign2.d,
585 * testsuite/gas/ppc/misalign2.s: New test.
586 * testsuite/gas/ppc/ppc.exp: Run them.
588 2018-02-05 Maciej W. Rozycki <macro@mips.com>
590 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
591 `expr' parameter to `ep'.
593 2018-02-05 Maciej W. Rozycki <macro@mips.com>
595 * testsuite/gas/mips/reginfo-2.d: New test.
596 * testsuite/gas/mips/reginfo-2-n32.d: New test.
597 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
598 * testsuite/gas/mips/reginfo-2.s: New test source.
599 * testsuite/gas/mips/mips.exp: Run the new tests.
601 2018-02-05 Nick Clifton <nickc@redhat.com>
603 * po/ru.po: Updated Russian translation.
605 2018-01-31 Alan Modra <amodra@gmail.com>
608 * app.c (last_char): New static var.
609 (struct app_save): Add last_char field.
610 (app_push, app_pop): Handle it.
611 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
613 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
616 * config/tc-sparc.h (sparc_mach): Declare.
617 (TARGET_MACH): Define to above.
618 * config/tc-sparc.c (sparc_mach): New function.
619 (sparc_md_end): Minor tweak.
621 2018-01-29 Nick Clifton <nickc@redhat.com>
623 * po/ru.po: Updated Russian translation.
625 2018-01-26 Maciej W. Rozycki <macro@mips.com>
627 * configure.tgt: Use generic emulation for `mips-*-windiss',
628 overriding the blanket choice made for `*-*-windiss'.
630 2018-01-26 Maciej W. Rozycki <macro@mips.com>
632 * configure.tgt: Use `mips-*-sysv4*' rather than
635 2018-01-24 Renlin Li <renlin.li@arm.com>
637 * config/tc-aarch64.c (reloc_table): add entries for
638 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
639 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
640 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
641 BFD_RELOC_AARCH64_MOVW_PREL_G3.
642 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
643 (md_apply_fix): Likewise
644 * testsuite/gas/aarch64/prel_g0.s: New.
645 * testsuite/gas/aarch64/prel_g0.d: New.
646 * testsuite/gas/aarch64/prel_g0_nc.s: New.
647 * testsuite/gas/aarch64/prel_g0_nc.d: New.
648 * testsuite/gas/aarch64/prel_g1.s: New.
649 * testsuite/gas/aarch64/prel_g1.d: New.
650 * testsuite/gas/aarch64/prel_g1_nc.s: New.
651 * testsuite/gas/aarch64/prel_g1_nc.d: New.
652 * testsuite/gas/aarch64/prel_g2.s: New.
653 * testsuite/gas/aarch64/prel_g2.d: New.
654 * testsuite/gas/aarch64/prel_g2_nc.s: New.
655 * testsuite/gas/aarch64/prel_g2_nc.d: New.
656 * testsuite/gas/aarch64/prel_g3.s: New.
657 * testsuite/gas/aarch64/prel_g3.d: New.
659 2018-01-23 Maciej W. Rozycki <macro@mips.com>
661 * configure.ac: Also set `mips_default_abi' to N32_ABI for
663 * configure: Regenerate.
665 2018-01-23 Maciej W. Rozycki <macro@mips.com>
667 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
670 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
672 * config/tc-i386.c (cpu_arch): Add .pconfig.
673 * doc/c-i386.texi: Document .pconfig.
674 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
675 * testsuite/gas/i386/pconfig-intel.d: New test.
676 * testsuite/gas/i386/pconfig.d: Likewise.
677 * testsuite/gas/i386/pconfig.s: Likewise.
678 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
679 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
680 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
682 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
684 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
685 * doc/c-i386.texi: Document .wbnoinvd.
686 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
687 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
688 * testsuite/gas/i386/wbnoinvd.d: Likewise.
689 * testsuite/gas/i386/wbnoinvd.s: Likewise.
690 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
691 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
692 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
694 2018-01-23 Maciej W. Rozycki <macro@mips.com>
696 * config/tc-mips.c (md_show_usage): Correctly indicate the
697 configuration-specific default ABI.
699 2018-01-23 Maciej W. Rozycki <macro@mips.com>
701 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
702 `-mno-mips16e2' options.
704 2018-01-22 Maciej W. Rozycki <macro@mips.com>
706 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
707 Correct syntax of the `.set nomips16e2' directive description.
709 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
712 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
713 * testsuite/gas/rx/pr22737.s: New test.
714 * testsuite/gas/rx/pr22737.d: Likewise.
715 * testsuite/gas/rx/rx.exp: Run the new test.
717 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
719 * config/tc-arm.c (ToC macro): Remove spurious comment.
720 (ToU macro): Likewise.
722 2018-01-17 Jim Wilson <jimw@sifive.com>
724 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
725 (riscv_ip) <'z'>: New.
727 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
729 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
730 (cpu_noarch): Add noibt, noshstk.
731 (parse_insn): Change cpucet to cpuibt.
732 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
733 * testsuite/gas/i386/cet-ibt-inval.l: New test.
734 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
735 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
736 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
737 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
738 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
739 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
740 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
742 2018-01-16 Nick Clifton <nickc@redhat.com>
744 * po/fr.po: Updated French translation.
746 2018-01-15 Jim Wilson <jimw@sifive.com>
748 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
749 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
751 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
753 * config/tc-arm.c (ToC): Define macro.
755 (insns): Make use of above macros for new instructions introduced in
758 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
760 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
761 and vlstm conditionally executable and reindent parameters.
762 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
763 aforementionned instructions.
765 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
767 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
768 profile architecture or if in autodetection mode. Clarify that
769 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
770 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
772 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
773 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
774 * testsuite/gas/arm/udf.l: Likewise.
775 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
777 2018-01-15 Nick Clifton <nickc@redhat.com>
779 * po/uk.po: Updated Ukranian translation.
781 2018-01-13 Nick Clifton <nickc@redhat.com>
783 * po/gas.pot: Regenerated.
785 2018-01-13 Nick Clifton <nickc@redhat.com>
787 * configure: Regenerate.
789 2018-01-13 Nick Clifton <nickc@redhat.com>
792 * NEWS: Add marker for 2.30.
794 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
796 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
797 define to 0 and 1. Remove a dangling reference to "AMD 29000"
800 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
802 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
803 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
804 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
805 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
806 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
807 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
808 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
809 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
811 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
812 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
813 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
814 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
815 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
816 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
817 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
818 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
820 2018-01-11 Alan Modra <amodra@gmail.com>
822 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
823 positive "‘profile’ may be used uninitialized".
825 2018-01-10 Jan Beulich <jbeulich@suse.com>
827 * testsuite/gas/i386/avx512_4fmaps.s,
828 testsuite/gas/i386/avx512_4fmaps_vl.s,
829 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
830 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
831 Disp8 forms (and the transition happening at the right
833 * testsuite/gas/i386/avx512_4fmaps.d,
834 testsuite/gas/i386/avx512_4fmaps-intel.d,
835 testsuite/gas/i386/avx512_4fmaps_vl.d,
836 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
837 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
838 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
839 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
840 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
843 2018-01-10 Jan Beulich <jbeulich@suse.com>
845 * testsuite/gas/i386/avx512bw.s,
846 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
848 * testsuite/gas/i386/avx512bw-intel.d,
849 testsuite/gas/i386/avx512bw.d,
850 testsuite/gas/i386/avx512bw_vl-intel.d.
851 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
853 2018-01-09 Jim Wilson <jimw@sifive.com>
855 * testsuite/gas/riscv/auipc-x0.d: New.
856 * testsuite/gas/riscv/auipc-x0.s: New.
858 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
860 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
861 in Arm execution state, and Armv6T2 and above in Thumb execution
863 * testsuite/gas/arm/csdb.s: New.
864 * testsuite/gas/arm/csdb.d: New.
865 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
866 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
868 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
870 * testsuite/gas/aarch64/system.d: Update expected results to expect
873 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
876 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
878 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
879 * testsuite/gas/i386/x86-64-movd.d: Likewise.
880 * testsuite/gas/i386/x86-64-movd.s: Likewise.
882 2018-01-08 Nick Clifton <nickc@redhat.com>
885 * doc/c-i386.texi (i386-Directives): Document the .largecomm
888 2018-01-04 Jim Wilson <jimw@sifive.com>
890 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
891 * testsuite/gas/riscv/priv-reg.d: Likewise.
893 2018-01-03 Alan Modra <amodra@gmail.com>
895 Update year range in copyright notice of all files.
897 2018-01-02 Nick Clifton <nickc@redhat.com>
900 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
901 version of ARM MRS instruction.
903 For older changes see ChangeLog-2017
905 Copyright (C) 2018 Free Software Foundation, Inc.
907 Copying and distribution of this file, with or without modification,
908 are permitted in any medium without royalty provided the copyright
909 notice and this notice are preserved.
915 version-control: never