llvm-project/llvm/test/MC
Simon Tatham 760df47b77 [ARM] Replace fp-only-sp and d16 with fp64 and d32.
Those two subtarget features were awkward because their semantics are
reversed: each one indicates the _lack_ of support for something in
the architecture, rather than the presence. As a consequence, you
don't get the behavior you want if you combine two sets of feature
bits.

Each SubtargetFeature for an FP architecture version now comes in four
versions, one for each combination of those options. So you can still
say (for example) '+vfp2' in a feature string and it will mean what
it's always meant, but there's a new string '+vfp2d16sp' meaning the
version without those extra options.

A lot of this change is just mechanically replacing positive checks
for the old features with negative checks for the new ones. But one
more interesting change is that I've rearranged getFPUFeatures() so
that the main FPU feature is appended to the output list *before*
rather than after the features derived from the Restriction field, so
that -fp64 and -d32 can override defaults added by the main feature.

Reviewers: dmgreen, samparker, SjoerdMeijer

Subscribers: srhines, javed.absar, eraman, kristof.beyls, hiraditya, zzheng, Petar.Avramovic, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D60691

llvm-svn: 361845
2019-05-28 16:13:20 +00:00
..
AArch64 [AArch64][SVE2] Asm: support SVE2 Floating Point Convert Group 2019-05-28 09:36:52 +00:00
AMDGPU [AMDGPU][MC] Enabled constant expressions as operands of s_waitcnt 2019-05-27 14:08:43 +00:00
ARM [ARM] Replace fp-only-sp and d16 with fp64 and d32. 2019-05-28 16:13:20 +00:00
AVR [AVR] Fix 'symbol_relocations.s' MC test 2019-05-18 16:38:48 +00:00
AsmParser [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
BPF bpf: disassembler support for XADD under sub-register mode 2019-02-28 19:22:34 +00:00
COFF [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
Disassembler [AMDGPU][MC] Enabled labels with s_call_b64 and s_cbranch_i_fork 2019-05-17 14:57:04 +00:00
ELF De-Window-ize a test 2019-05-21 12:08:42 +00:00
Hexagon [llvm-objdump] - Print relocation record in a GNU format. 2019-05-07 13:14:18 +00:00
Lanai
MSP430 [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
MachO Fix typo in r361251. 2019-05-21 13:23:32 +00:00
Mips [mips] LLVM and GAS now use same instructions for CFA Definition. NFCI 2019-05-15 12:05:27 +00:00
PowerPC [PPC64] Update LocalEntry from assigned symbols 2019-05-21 10:41:25 +00:00
RISCV [RISCV] Support assembling TLS LA pseudo instructions 2019-05-23 14:46:27 +00:00
Sparc [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
SystemZ [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
WebAssembly [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
X86 [X86] Support .reloc *, R_{386,X86_64}_NONE, * 2019-05-17 03:25:39 +00:00