[PATCH] D100085: [X86] Support -march=rocketlake

Kan Shengchen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 12 18:06:14 PDT 2021


skan added inline comments.


================
Comment at: llvm/lib/Support/X86TargetParser.cpp:176
     FeaturesBroadwell | FeatureAES | FeatureCLFLUSHOPT | FeatureXSAVEC |
     FeatureXSAVES | FeatureSGX;
 // SkylakeServer inherits all SkylakeClient features except SGX.
----------------
Shouldn't the FeatureSGX be removed here?


================
Comment at: llvm/lib/Support/X86TargetParser.cpp:180
 constexpr FeatureBitset FeaturesSkylakeServer =
     (FeaturesSkylakeClient & ~FeatureSGX) | FeatureAVX512F | FeatureAVX512CD |
     FeatureAVX512DQ | FeatureAVX512BW | FeatureAVX512VL | FeatureCLWB |
----------------
Remove `~FeatureSGX` here?


================
Comment at: llvm/lib/Support/X86TargetParser.cpp:197
     FeatureVAES | FeatureVPCLMULQDQ;
+constexpr FeatureBitset FeaturesRocketlake = FeaturesICLClient & ~FeatureSGX;
 constexpr FeatureBitset FeaturesICLServer =
----------------
Remove `~FeatureSGX` here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100085/new/

https://reviews.llvm.org/D100085



More information about the cfe-commits mailing list