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