llvm.org GIT mirror llvm / 7e6f918
Merging r227670: ------------------------------------------------------------------------ r227670 | compnerd | 2015-01-30 20:12:06 -0800 (Fri, 30 Jan 2015) | 5 lines ARM: make a table more readable (NFC) This adds some comments and splits the flag calculation on type boundaries to make the table more readable. Addresses some post-commit review comments to SVN r227603. NFC. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@227856 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 5 years ago
1 changed file(s) with 40 addition(s) and 28 deletion(s). Raw diff Collapse all Expand all
91949194 const uint64_t Enabled;
91959195 const uint64_t Disabled;
91969196 } FPUs[] = {
9197 {ARM::VFP, ARM::FeatureVFP2, ARM::FeatureNEON},
9198 {ARM::VFPV2, ARM::FeatureVFP2, ARM::FeatureNEON},
9199 {ARM::VFPV3, ARM::FeatureVFP2 | ARM::FeatureVFP3,
9200 ARM::FeatureNEON | ARM::FeatureD16},
9201 {ARM::VFPV3_D16, ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureD16,
9202 ARM::FeatureNEON},
9203 {ARM::VFPV4, ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4,
9204 ARM::FeatureNEON | ARM::FeatureD16},
9205 {ARM::VFPV4_D16,
9206 ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 | ARM::FeatureD16,
9207 ARM::FeatureNEON},
9208 {ARM::FPV5_D16, ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 |
9209 ARM::FeatureFPARMv8 | ARM::FeatureD16,
9210 ARM::FeatureNEON | ARM::FeatureCrypto},
9211 {ARM::FP_ARMV8, ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 |
9212 ARM::FeatureFPARMv8,
9213 ARM::FeatureNEON | ARM::FeatureCrypto | ARM::FeatureD16},
9214 {ARM::NEON, ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureNEON,
9215 ARM::FeatureD16},
9216 {ARM::NEON_VFPV4,
9217 ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 | ARM::FeatureNEON,
9218 ARM::FeatureD16},
9219 {ARM::NEON_FP_ARMV8,
9220 ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 |
9197 {/* ID */ ARM::VFP,
9198 /* Enabled */ ARM::FeatureVFP2,
9199 /* Disabled */ ARM::FeatureNEON},
9200 {/* ID */ ARM::VFPV2,
9201 /* Enabled */ ARM::FeatureVFP2,
9202 /* Disabled */ ARM::FeatureNEON},
9203 {/* ID */ ARM::VFPV3,
9204 /* Enabled */ ARM::FeatureVFP2 | ARM::FeatureVFP3,
9205 /* Disabled */ ARM::FeatureNEON | ARM::FeatureD16},
9206 {/* ID */ ARM::VFPV3_D16,
9207 /* Enable */ ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureD16,
9208 /* Disabled */ ARM::FeatureNEON},
9209 {/* ID */ ARM::VFPV4,
9210 /* Enabled */ ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4,
9211 /* Disabled */ ARM::FeatureNEON | ARM::FeatureD16},
9212 {/* ID */ ARM::VFPV4_D16,
9213 /* Enabled */ ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 |
9214 ARM::FeatureD16,
9215 /* Disabled */ ARM::FeatureNEON},
9216 {/* ID */ ARM::FPV5_D16,
9217 /* Enabled */ ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 |
9218 ARM::FeatureFPARMv8 | ARM::FeatureD16,
9219 /* Disabled */ ARM::FeatureNEON | ARM::FeatureCrypto},
9220 {/* ID */ ARM::FP_ARMV8,
9221 /* Enabled */ ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 |
9222 ARM::FeatureFPARMv8,
9223 /* Disabled */ ARM::FeatureNEON | ARM::FeatureCrypto | ARM::FeatureD16},
9224 {/* ID */ ARM::NEON,
9225 /* Enabled */ ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureNEON,
9226 /* Disabled */ ARM::FeatureD16},
9227 {/* ID */ ARM::NEON_VFPV4,
9228 /* Enabled */ ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 |
9229 ARM::FeatureNEON,
9230 /* Disabled */ ARM::FeatureD16},
9231 {/* ID */ ARM::NEON_FP_ARMV8,
9232 /* Enabled */ ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 |
92219233 ARM::FeatureFPARMv8 | ARM::FeatureNEON,
9222 ARM::FeatureCrypto | ARM::FeatureD16},
9223 {ARM::CRYPTO_NEON_FP_ARMV8,
9224 ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 |
9234 /* Disabled */ ARM::FeatureCrypto | ARM::FeatureD16},
9235 {/* ID */ ARM::CRYPTO_NEON_FP_ARMV8,
9236 /* Enabled */ ARM::FeatureVFP2 | ARM::FeatureVFP3 | ARM::FeatureVFP4 |
92259237 ARM::FeatureFPARMv8 | ARM::FeatureNEON | ARM::FeatureCrypto,
9226 ARM::FeatureD16},
9238 /* Disabled */ ARM::FeatureD16},
92279239 {ARM::SOFTVFP, 0, 0},
92289240 };
92299241