[PATCH] D47142: [x86] invpcid intrinsic

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 21 09:40:49 PDT 2018


craig.topper added inline comments.


================
Comment at: lib/Headers/cpuid.h:158
 #define bit_BMI2        0x00000100
+#define bit_INVCPID     0x00000400
 #define bit_ENH_MOVSB   0x00000200
----------------
this should be below ENH_MOVSB to keep the bits in order


================
Comment at: lib/Headers/intrin.h:196
+ */
 void __cdecl _invpcid(unsigned int, void *);
+#endif
----------------
@rnk, what's the right thing to do here?


Repository:
  rC Clang

https://reviews.llvm.org/D47142





More information about the cfe-commits mailing list