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