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