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