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