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