1 2018-03-08 Jan Beulich <jbeulich@suse.com>
3 * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
4 CPU_FLAGS_PCLMUL_MATCH): Delete.
5 (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
6 (cpu_flags_match): Combine AVX checks into
9 2018-03-08 Jan Beulich <jbeulich@suse.com>
11 * config/tc-i386.c (cpu_flags_match): Drop "else" branches
12 setting CPU_FLAGS_ARCH_MATCH.
14 2018-03-08 Jan Beulich <jbeulich@suse.com>
16 * config/tc-i386.c (md_assemble): Extend SSE check conditional.
17 * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d,
18 testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
19 testsuite/gas/i386/ilp32/x86-64-sse-check.d,
20 testsuite/gas/i386/sse-check-none.d,
21 testsuite/gas/i386/sse-check-warn.d,
22 testsuite/gas/i386/x86-64-sse-check.d,
23 testsuite/gas/i386/x86-64-sse-check-none.d,
24 testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d.
25 * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL
27 * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
29 * testsuite/gas/i386/sse-check.d: Adjust expectations.
30 * testsuite/gas/i386/sse-check-error.l,
31 testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
32 * testsuite/gas/i386/sse-check-warn.e: Likewise.
34 2018-03-08 Jan Beulich <jbeulich@suse.com>
36 * config/tc-i386.c (operand_size_match): Drop / replace uses of
39 2018-03-08 Jan Beulich <jbeulich@suse.com>
41 * testsuite/gas/i386/intel-intel.d: New.
42 * testsuite/gas/i386/i386.exp: Run new test.
44 2018-03-08 Jan Beulich <jbeulich@suse.com>
46 * config/tc-i386.c (process_operands): Access operands only
47 after operand count assertion. Sanitize warning text. Fix
49 * testsuite/gas/i386/avx512_4fmaps-warn.l,
50 gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
52 2018-03-08 Jan Beulich <jbeulich@suse.com>
54 * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
55 * testsuite/gas/i386/x86-64-movd.d,
56 testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
58 2018-03-08 Jan Beulich <jbeulich@suse.com>
60 * config/tc-i386.c (operand_type_and_not): New.
61 (build_modrm_byte): Use it to prevent clearing unrelated bits.
63 2018-03-08 Alan Modra <amodra@gmail.com>
65 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
66 don't emit a group terminating nop for power9. Simplify cpu
69 2018-03-08 Alan Modra <amodra@gmail.com>
71 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
72 terminating nop for power9.
74 2018-03-07 H.J. Lu <hongjiu.lu@intel.com>
77 * config/tc-i386.c (f32_5): Removed.
91 (alt64_patt): Likewise.
93 (jump32_disp32): Likewise.
94 (jump16_disp32): Likewise.
98 (alt_patt): Add alt_11.
99 (i386_align_code): Merged with ...
100 (i386_generate_nops): This. Rewritten.
101 (fits_in_imm7): Moved before i386_generate_nops.
102 (fits_in_imm31): Likewise.
103 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
105 (i386_align_code): Removed.
106 (HANDLE_ALIGN): Rewritten with i386_generate_nops.
107 * doc/as.texinfo: Update limits of control byte for x86 .nops
109 * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
110 * gas/testsuite/gas/i386/noavx-3.l: Updated.
111 * gas/testsuite/gas/i386/nop-1.d: Likewise.
112 * gas/testsuite/gas/i386/nop-1.s: Likewise.
113 * gas/testsuite/gas/i386/nop-2.d: Likewise.
114 * gas/testsuite/gas/i386/nop-2.s: Likewise.
115 * gas/testsuite/gas/i386/nop-3.d: Likewise.
116 * gas/testsuite/gas/i386/nop-4.d: Likewise.
117 * gas/testsuite/gas/i386/nop-5.d: Likewise.
118 * gas/testsuite/gas/i386/nop-5.s: Likewise.
119 * gas/testsuite/gas/i386/nop-6.d: Likewise.
120 * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
121 * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
122 * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
123 * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
124 * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
125 * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
126 * gas/testsuite/gas/i386/nops-1.d: Likewise.
127 * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
128 * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
129 * gas/testsuite/gas/i386/nops-2.d: Likewise.
130 * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
131 * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
132 * gas/testsuite/gas/i386/nops-3.d: Likewise.
133 * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
134 * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
135 * gas/testsuite/gas/i386/nops-4.d: Likewise.
136 * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
137 * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
138 * gas/testsuite/gas/i386/nops-5.d: Likewise.
139 * gas/testsuite/gas/i386/nops-6.d: Likewise.
140 * gas/testsuite/gas/i386/nops16-1.d: Likewise.
141 * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
142 * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
143 * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
144 * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
145 * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
146 * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
147 * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
148 * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
149 * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
150 * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
151 * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
152 * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
153 * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
154 * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
155 * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
156 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
157 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
158 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
159 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
160 * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
161 * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
162 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
163 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
164 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
165 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
166 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
167 * gas/testsuite/gas/i386/nops-7.d: New file.
168 * gas/testsuite/gas/i386/nops-7.s: Likewise.
169 * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
171 2018-03-07 Alan Modra <amodra@gmail.com>
173 * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
174 * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
175 * testsuite/gas/ppc/machine.d: Don't run for PE targets.
177 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
179 * config/tc-arm.c (md_begin): Add NULL pointer check before
180 dereferencing march_ext_opt.
182 2018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
184 * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
185 legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
186 mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
187 mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
188 (dyn_mcpu_ext_opt): Also rename into ...
189 (mcpu_ext_opt): This.
190 (dyn_march_ext_opt): Also rename into ...
191 (march_ext_opt): This.
192 (object_arch): Also rename into ...
193 (selected_object_arch): This and make it a plain arm_feature_set
195 (selected_arch, selected_ext, selected_fpu): New static variables.
196 (mark_feature_used): Fix comments, feature is marked as used iff it is
198 (do_bx): Adapt to change in name and type of object_arch.
199 (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
200 rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
201 Remove dead code to set default FPU if architecture version is greater
202 than 5. Set all CPU bits of cpu_variant directly in autodection
203 leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
204 (arm_parse_extension): Take extension feature set pointer parameter by
205 value rather than by pointer. Remove allocation code. Adapt code
207 (arm_parse_cpu): Adapt to variable renaming and changes in
208 arm_parse_extension () signature.
209 (arm_parse_arch): Likewise.
210 (aeabi_set_public_attributes): Also set selected_arch and selected_ext
211 in addition to selected_cpu. Set flags_arch and flags_ext from them
212 instead of selected_cpu. Adapt to variables renaming and type change.
213 (arm_md_post_relax): Adapt to variable renaming.
214 (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
215 mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and
216 cpu_variant from selected_cpu and selected_fpu.
217 (s_arm_arch): Likewise.
218 (s_arm_object_arch): Adapt to variable renaming.
219 (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
220 set against arm_any. Check selected_arch rather than *mcpu_cpu_opt.
221 Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
223 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
224 bits if in autodetection mode.
226 2018-03-01 H.J. Lu <hongjiu.lu@intel.com>
228 * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
229 AVX512 vpsub[bwdq] instructions.
230 * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
231 AVX512 vpsub[bwdq] instructions.
232 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
233 * testsuite/gas/i386/optimize-1.d: Updated.
234 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
236 2018-03-01 Alan Modra <amodra@gmail.com>
238 * configure.ac (ALL_LINGUAS): Add uk. Sort.
239 * configure: Regenerate.
241 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
243 * NEWS: Rename .nop to .nops.
244 * doc/as.texinfo: Likewise.
245 * read.c (potable): Add "nops". Remove "nop".
246 (s_nop): Renamed to ...
248 * read.h (s_nop): Renamed to ...
250 * write.c (cvt_frag_to_fill): Rename .nop to .nops.
251 (md_generate_nops): Likewise.
252 (relax_segment): Likewise.
253 * testsuite/gas/i386/nop-1.d: Updated.
254 * testsuite/gas/i386/nop-1.s: Likewise.
255 * testsuite/gas/i386/nop-2.d: Likewise.
256 * testsuite/gas/i386/nop-2.s: Likewise.
257 * testsuite/gas/i386/nop-3.d: Likewise.
258 * testsuite/gas/i386/nop-3.s: Likewise.
259 * testsuite/gas/i386/nop-4.d: Likewise.
260 * testsuite/gas/i386/nop-4.s: Likewise.
261 * testsuite/gas/i386/nop-5.d: Likewise.
262 * testsuite/gas/i386/nop-5.s: Likewise.
263 * testsuite/gas/i386/nop-6.d: Likewise.
264 * testsuite/gas/i386/nop-6.s: Likewise.
265 * testsuite/gas/i386/nop-bad-1.l: Likewise.
266 * testsuite/gas/i386/nop-bad-1.s: Likewise.
267 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
268 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
269 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
270 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
271 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
272 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
274 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
277 * NEWS: Mention -O[2|s].
278 * config/tc-i386.c (_i386_insn): Add no_optimize.
280 (optimize_for_space): Likewise.
281 (fits_in_imm7): New function.
282 (fits_in_imm31): Likewise.
283 (optimize_encoding): Likewise.
284 (md_assemble): Call optimize_encoding to optimize encoding.
285 (parse_insn): Handle {nooptimize}.
286 (md_shortopts): Append "O::".
287 (md_parse_option): Handle -On.
288 * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
290 * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
291 * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
292 * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
293 optimize-3, x86-64-optimize-1, x86-64-optimize-2,
294 x86-64-optimize-3 and x86-64-optimize-4.
295 * testsuite/gas/i386/optimize-1.d: New file.
296 * testsuite/gas/i386/optimize-1.s: Likewise.
297 * testsuite/gas/i386/optimize-2.d: Likewise.
298 * testsuite/gas/i386/optimize-2.s: Likewise.
299 * testsuite/gas/i386/optimize-3.d: Likewise.
300 * testsuite/gas/i386/optimize-3.s: Likewise.
301 * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
302 * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
303 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
304 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
305 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
306 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
307 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
308 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
310 2018-02-27 Nick Clifton <nickc@redhat.com>
312 * po/ru.po: Updated Russian translation.
314 2018-02-26 Maciej W. Rozycki <macro@mips.com>
316 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
319 2018-02-26 Nick Clifton <nickc@redhat.com>
321 * doc/as.texinfo (Dc): Fix typo.
323 2018-02-26 Alan Modra <amodra@gmail.com>
325 * testsuite/gas/mips/reginfo-2.l: Update.
327 2018-02-23 Alan Modra <amodra@gmail.com>
329 * testsuite/gas/mips/reginfo-2.l: Update.
331 2018-02-23 Nick Clifton <nickc@redhat.com>
333 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
335 2018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
337 * config/tc-nds32.c (ict_model): New function. Hook new
338 directive .ict_model.
339 (nds32_insert_relax_entry): Tag the bits of entry relocation
342 2018-02-22 H.J. Lu <hongjiu.lu@intel.com>
344 * config/tc-i386.c (_i386_insn): Add rex_encoding.
345 (md_assemble): When i.rex_encoding is true, generate a REX byte
347 (parse_insn): Set i.rex_encoding for {rex}.
348 * doc/c-i386.texi: Document {rex}.
349 * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
350 * testsuite/gas/i386/x86-64-pseudos.d: Updated.
352 2018-02-22 A. Wilcox <awilfox@adelielinux.org>
355 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
356 instruction size suffix.
358 2018-02-20 Maciej W. Rozycki <macro@mips.com>
360 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
361 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
362 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
363 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
364 * testsuite/gas/mips/mips.exp: Run the new tests.
366 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
368 * config/tc-xtensa.c (struct litpool_frag): Add new field
370 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
371 (MAX_POOL_LITERALS): New macro definitions.
372 (auto_litpool_limit): Initialize to 0.
373 (md_parse_option): Set auto_litpool_limit in the presence of
374 --auto-litpools option.
375 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
377 (xg_find_litpool): New function. Make sure that found literal
378 pool size is within the limit.
379 (xtensa_move_literals): Extract literal pool search code into
381 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
382 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
383 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
384 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
386 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
387 that objdump doesn't get out of sync.
389 2018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
391 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
392 also the same as -march.
394 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
396 * NEWS: Mention .nop directive.
397 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
398 * read.c (potable): Add .nop.
399 (s_nop): New function.
400 * read.h (s_nop): New prototype.
401 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
403 (md_generate_nops): New function.
404 (relax_segment): Likewise.
405 (write_contents): Use md_generate_nops for rs_fill_nop.
406 * config/tc-i386.c (alt64_11): New.
407 (alt64_patt): Likewise.
408 (md_convert_frag): Handle rs_space_nop.
409 (i386_output_nops): New function.
410 (i386_generate_nops): Likewise.
411 (i386_align_code): Call i386_output_nops.
412 * config/tc-i386.h (i386_generate_nops): New.
413 (md_generate_nops): Likewise.
414 * doc/as.texinfo: Document .nop directive.
415 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
416 * testsuite/gas/i386/nop-1.d: New file.
417 * testsuite/gas/i386/nop-1.s: Likewise.
418 * testsuite/gas/i386/nop-2.d: Likewise.
419 * testsuite/gas/i386/nop-2.s: Likewise.
420 * testsuite/gas/i386/nop-3.d: Likewise.
421 * testsuite/gas/i386/nop-3.s: Likewise.
422 * testsuite/gas/i386/nop-4.d: Likewise.
423 * testsuite/gas/i386/nop-4.s: Likewise.
424 * testsuite/gas/i386/nop-5.d: Likewise.
425 * testsuite/gas/i386/nop-5.s: Likewise.
426 * testsuite/gas/i386/nop-6.d: Likewise.
427 * testsuite/gas/i386/nop-6.s: Likewise.
428 * testsuite/gas/i386/nop-bad-1.l: Likewise.
429 * testsuite/gas/i386/nop-bad-1.s: Likewise.
430 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
431 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
432 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
433 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
434 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
435 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
437 2018-02-15 Tamar Christina <tamar.christina@arm.com>
439 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
440 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
442 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
444 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
445 frag that contains source address.
447 2018-02-13 Nick Clifton <nickc@redhat.com>
450 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
451 instruction before assuming that it is a MOV instruction.
452 * testsuite/gas/arm/pr22773.s: New test.
453 * testsuite/gas/arm/pr22773.d: New test driver.
454 * testsuite/gas/arm/pr22773.l: New expected output.
456 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
459 * config/tc-i386.c (need_plt32_p): New function.
460 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
461 (md_estimate_size_before_relax): Likewise.
462 * testsuite/gas/i386/reloc64.d: Updated.
463 * testsuite/gas/i386/x86-64-jump.d: Likewise.
464 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
465 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
466 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
467 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
468 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
469 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
471 2018-02-13 Maciej W. Rozycki <macro@mips.com>
473 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
475 2018-02-13 Nick Clifton <nickc@redhat.com>
478 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
480 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
481 (obj_elf_vtable_inherit): New stub function that calls
482 obj_elf_get_vtable_inherit.
483 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
484 (obj_elf_vtable_entry): New stub function that calls
485 obj_elf_get_vtable_entry.
486 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
487 (obj_elf_vtable_entry) Likewise.
488 (obj_elf_get_vtable_inherit) Likewise.
489 (obj_elf_get_vtable_entry) Likewise.
490 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
491 * config/tc-i386c (md_pseudo_table): Likewise.
492 * config/tc-hppa.c (pa_vtable_entry): Call
493 obj_elf_get_vtable_entry.
494 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
495 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
496 with call to dwarf2_get_filename.
497 * dwarf2dbg.c (dwarf2_directive_file): Rename to
498 dwarf2_directive_filename.
499 (dwarf2_directive_file): New stub function that calls
500 dwarf2_directive_filename.
501 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
503 2018-02-12 Maciej W. Rozycki <macro@mips.com>
505 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
508 2018-02-12 Henry Wong <henry@stuffedcow.net>
510 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
511 * testsuite/gas/mips/r6-n32.d: Likewise.
512 * testsuite/gas/mips/r6-n64.d: Likewise.
514 2018-02-12 Nick Clifton <nickc@redhat.com>
516 * po/ru.po: Updated Russian translation.
518 2018-02-08 Alan Modra <amodra@gmail.com>
521 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
522 (ppc_frag_check): Likewise.
523 * testsuite/gas/ppc/misalign.d,
524 * testsuite/gas/ppc/misalign.l,
525 * testsuite/gas/ppc/misalign.s: New test.
526 * testsuite/gas/ppc/misalign2.d,
527 * testsuite/gas/ppc/misalign2.s: New test.
528 * testsuite/gas/ppc/ppc.exp: Run them.
530 2018-02-05 Maciej W. Rozycki <macro@mips.com>
532 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
533 `expr' parameter to `ep'.
535 2018-02-05 Maciej W. Rozycki <macro@mips.com>
537 * testsuite/gas/mips/reginfo-2.d: New test.
538 * testsuite/gas/mips/reginfo-2-n32.d: New test.
539 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
540 * testsuite/gas/mips/reginfo-2.s: New test source.
541 * testsuite/gas/mips/mips.exp: Run the new tests.
543 2018-02-05 Nick Clifton <nickc@redhat.com>
545 * po/ru.po: Updated Russian translation.
547 2018-01-31 Alan Modra <amodra@gmail.com>
550 * app.c (last_char): New static var.
551 (struct app_save): Add last_char field.
552 (app_push, app_pop): Handle it.
553 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
555 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
558 * config/tc-sparc.h (sparc_mach): Declare.
559 (TARGET_MACH): Define to above.
560 * config/tc-sparc.c (sparc_mach): New function.
561 (sparc_md_end): Minor tweak.
563 2018-01-29 Nick Clifton <nickc@redhat.com>
565 * po/ru.po: Updated Russian translation.
567 2018-01-26 Maciej W. Rozycki <macro@mips.com>
569 * configure.tgt: Use generic emulation for `mips-*-windiss',
570 overriding the blanket choice made for `*-*-windiss'.
572 2018-01-26 Maciej W. Rozycki <macro@mips.com>
574 * configure.tgt: Use `mips-*-sysv4*' rather than
577 2018-01-24 Renlin Li <renlin.li@arm.com>
579 * config/tc-aarch64.c (reloc_table): add entries for
580 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
581 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
582 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
583 BFD_RELOC_AARCH64_MOVW_PREL_G3.
584 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
585 (md_apply_fix): Likewise
586 * testsuite/gas/aarch64/prel_g0.s: New.
587 * testsuite/gas/aarch64/prel_g0.d: New.
588 * testsuite/gas/aarch64/prel_g0_nc.s: New.
589 * testsuite/gas/aarch64/prel_g0_nc.d: New.
590 * testsuite/gas/aarch64/prel_g1.s: New.
591 * testsuite/gas/aarch64/prel_g1.d: New.
592 * testsuite/gas/aarch64/prel_g1_nc.s: New.
593 * testsuite/gas/aarch64/prel_g1_nc.d: New.
594 * testsuite/gas/aarch64/prel_g2.s: New.
595 * testsuite/gas/aarch64/prel_g2.d: New.
596 * testsuite/gas/aarch64/prel_g2_nc.s: New.
597 * testsuite/gas/aarch64/prel_g2_nc.d: New.
598 * testsuite/gas/aarch64/prel_g3.s: New.
599 * testsuite/gas/aarch64/prel_g3.d: New.
601 2018-01-23 Maciej W. Rozycki <macro@mips.com>
603 * configure.ac: Also set `mips_default_abi' to N32_ABI for
605 * configure: Regenerate.
607 2018-01-23 Maciej W. Rozycki <macro@mips.com>
609 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
612 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
614 * config/tc-i386.c (cpu_arch): Add .pconfig.
615 * doc/c-i386.texi: Document .pconfig.
616 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
617 * testsuite/gas/i386/pconfig-intel.d: New test.
618 * testsuite/gas/i386/pconfig.d: Likewise.
619 * testsuite/gas/i386/pconfig.s: Likewise.
620 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
621 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
622 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
624 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
626 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
627 * doc/c-i386.texi: Document .wbnoinvd.
628 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
629 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
630 * testsuite/gas/i386/wbnoinvd.d: Likewise.
631 * testsuite/gas/i386/wbnoinvd.s: Likewise.
632 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
633 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
634 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
636 2018-01-23 Maciej W. Rozycki <macro@mips.com>
638 * config/tc-mips.c (md_show_usage): Correctly indicate the
639 configuration-specific default ABI.
641 2018-01-23 Maciej W. Rozycki <macro@mips.com>
643 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
644 `-mno-mips16e2' options.
646 2018-01-22 Maciej W. Rozycki <macro@mips.com>
648 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
649 Correct syntax of the `.set nomips16e2' directive description.
651 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
654 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
655 * testsuite/gas/rx/pr22737.s: New test.
656 * testsuite/gas/rx/pr22737.d: Likewise.
657 * testsuite/gas/rx/rx.exp: Run the new test.
659 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
661 * config/tc-arm.c (ToC macro): Remove spurious comment.
662 (ToU macro): Likewise.
664 2018-01-17 Jim Wilson <jimw@sifive.com>
666 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
667 (riscv_ip) <'z'>: New.
669 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
671 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
672 (cpu_noarch): Add noibt, noshstk.
673 (parse_insn): Change cpucet to cpuibt.
674 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
675 * testsuite/gas/i386/cet-ibt-inval.l: New test.
676 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
677 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
678 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
679 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
680 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
681 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
682 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
684 2018-01-16 Nick Clifton <nickc@redhat.com>
686 * po/fr.po: Updated French translation.
688 2018-01-15 Jim Wilson <jimw@sifive.com>
690 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
691 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
693 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
695 * config/tc-arm.c (ToC): Define macro.
697 (insns): Make use of above macros for new instructions introduced in
700 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
702 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
703 and vlstm conditionally executable and reindent parameters.
704 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
705 aforementionned instructions.
707 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
709 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
710 profile architecture or if in autodetection mode. Clarify that
711 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
712 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
714 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
715 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
716 * testsuite/gas/arm/udf.l: Likewise.
717 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
719 2018-01-15 Nick Clifton <nickc@redhat.com>
721 * po/uk.po: Updated Ukranian translation.
723 2018-01-13 Nick Clifton <nickc@redhat.com>
725 * po/gas.pot: Regenerated.
727 2018-01-13 Nick Clifton <nickc@redhat.com>
729 * configure: Regenerate.
731 2018-01-13 Nick Clifton <nickc@redhat.com>
734 * NEWS: Add marker for 2.30.
736 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
738 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
739 define to 0 and 1. Remove a dangling reference to "AMD 29000"
742 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
744 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
745 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
746 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
747 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
748 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
749 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
750 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
751 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
753 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
754 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
755 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
756 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
757 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
758 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
759 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
760 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
762 2018-01-11 Alan Modra <amodra@gmail.com>
764 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
765 positive "‘profile’ may be used uninitialized".
767 2018-01-10 Jan Beulich <jbeulich@suse.com>
769 * testsuite/gas/i386/avx512_4fmaps.s,
770 testsuite/gas/i386/avx512_4fmaps_vl.s,
771 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
772 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
773 Disp8 forms (and the transition happening at the right
775 * testsuite/gas/i386/avx512_4fmaps.d,
776 testsuite/gas/i386/avx512_4fmaps-intel.d,
777 testsuite/gas/i386/avx512_4fmaps_vl.d,
778 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
779 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
780 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
781 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
782 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
785 2018-01-10 Jan Beulich <jbeulich@suse.com>
787 * testsuite/gas/i386/avx512bw.s,
788 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
790 * testsuite/gas/i386/avx512bw-intel.d,
791 testsuite/gas/i386/avx512bw.d,
792 testsuite/gas/i386/avx512bw_vl-intel.d.
793 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
795 2018-01-09 Jim Wilson <jimw@sifive.com>
797 * testsuite/gas/riscv/auipc-x0.d: New.
798 * testsuite/gas/riscv/auipc-x0.s: New.
800 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
802 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
803 in Arm execution state, and Armv6T2 and above in Thumb execution
805 * testsuite/gas/arm/csdb.s: New.
806 * testsuite/gas/arm/csdb.d: New.
807 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
808 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
810 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
812 * testsuite/gas/aarch64/system.d: Update expected results to expect
815 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
818 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
820 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
821 * testsuite/gas/i386/x86-64-movd.d: Likewise.
822 * testsuite/gas/i386/x86-64-movd.s: Likewise.
824 2018-01-08 Nick Clifton <nickc@redhat.com>
827 * doc/c-i386.texi (i386-Directives): Document the .largecomm
830 2018-01-04 Jim Wilson <jimw@sifive.com>
832 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
833 * testsuite/gas/riscv/priv-reg.d: Likewise.
835 2018-01-03 Alan Modra <amodra@gmail.com>
837 Update year range in copyright notice of all files.
839 2018-01-02 Nick Clifton <nickc@redhat.com>
842 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
843 version of ARM MRS instruction.
845 For older changes see ChangeLog-2017
847 Copyright (C) 2018 Free Software Foundation, Inc.
849 Copying and distribution of this file, with or without modification,
850 are permitted in any medium without royalty provided the copyright
851 notice and this notice are preserved.
857 version-control: never