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