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