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