[ARM] Adjust the feature set for Exynos
authorEvandro Menezes <e.menezes@samsung.com>
Thu, 9 Aug 2018 16:34:38 +0000 (16:34 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Thu, 9 Aug 2018 16:34:38 +0000 (16:34 +0000)
Enable `FeatureZCZeroing`, `FeatureHasSlowFPVMLx`, `FeatureExpandMLx`,
`FeatureProfUnpredicate`, `FeatureSlowVDUP32`, `FeatureSlowVGETLNi32`,
`FeatureSplatVFPToNeon`, `FeatureHasRetAddrStack`, `FeatureSlowFPBrcc` for
all Exynos processors.

llvm-svn: 339356

llvm/lib/Target/ARM/ARM.td

index 8f69c14..43e28f6 100644 (file)
@@ -1023,30 +1023,66 @@ def : ProcessorModel<"cyclone",     SwiftModel,         [ARMv8a, ProcSwift,
                                                          FeatureNoPostRASched]>;
 
 def : ProcNoItin<"exynos-m1",                           [ARMv8a, ProcExynosM1,
+                                                         FeatureZCZeroing,
                                                          FeatureUseWideStrideVFP,
+                                                         FeatureSplatVFPToNeon,
+                                                         FeatureSlowVGETLNi32,
+                                                         FeatureSlowVDUP32,
+                                                         FeatureSlowFPBrcc,
+                                                         FeatureProfUnpredicate,
                                                          FeatureHWDivThumb,
                                                          FeatureHWDivARM,
+                                                         FeatureHasSlowFPVMLx,
+                                                         FeatureHasRetAddrStack,
+                                                         FeatureExpandMLx,
                                                          FeatureCrypto,
                                                          FeatureCRC]>;
 
 def : ProcNoItin<"exynos-m2",                           [ARMv8a, ProcExynosM1,
+                                                         FeatureZCZeroing,
                                                          FeatureUseWideStrideVFP,
+                                                         FeatureSplatVFPToNeon,
+                                                         FeatureSlowVGETLNi32,
+                                                         FeatureSlowVDUP32,
+                                                         FeatureSlowFPBrcc,
+                                                         FeatureProfUnpredicate,
                                                          FeatureHWDivThumb,
                                                          FeatureHWDivARM,
+                                                         FeatureHasSlowFPVMLx,
+                                                         FeatureHasRetAddrStack,
+                                                         FeatureExpandMLx,
                                                          FeatureCrypto,
                                                          FeatureCRC]>;
 
 def : ProcNoItin<"exynos-m3",                           [ARMv8a, ProcExynosM1,
+                                                         FeatureZCZeroing,
                                                          FeatureUseWideStrideVFP,
+                                                         FeatureSplatVFPToNeon,
+                                                         FeatureSlowVGETLNi32,
+                                                         FeatureSlowVDUP32,
+                                                         FeatureSlowFPBrcc,
+                                                         FeatureProfUnpredicate,
                                                          FeatureHWDivThumb,
                                                          FeatureHWDivARM,
+                                                         FeatureHasSlowFPVMLx,
+                                                         FeatureHasRetAddrStack,
+                                                         FeatureExpandMLx,
                                                          FeatureCrypto,
                                                          FeatureCRC]>;
 
 def : ProcNoItin<"exynos-m4",                           [ARMv8a, ProcExynosM1,
+                                                         FeatureZCZeroing,
                                                          FeatureUseWideStrideVFP,
+                                                         FeatureSplatVFPToNeon,
+                                                         FeatureSlowVGETLNi32,
+                                                         FeatureSlowVDUP32,
+                                                         FeatureSlowFPBrcc,
+                                                         FeatureProfUnpredicate,
                                                          FeatureHWDivThumb,
                                                          FeatureHWDivARM,
+                                                         FeatureHasSlowFPVMLx,
+                                                         FeatureHasRetAddrStack,
+                                                         FeatureExpandMLx,
                                                          FeatureCrypto,
                                                          FeatureCRC]>;