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