[PATCH] D22010: Add more gcc compatibility names to clang's cpuid.h

Dimitry Andric via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 21 12:05:12 PDT 2016


dim added inline comments.

================
Comment at: lib/Headers/cpuid.h:114
@@ -109,2 +113,3 @@
 #define bit_AVX         0x10000000
+#define bit_F16C        0x20000000
 #define bit_RDRND       0x40000000
----------------
bruno wrote:
> Isn't this one also meant for gcc compat?
Well, we didn't have any clang-specific define, so might as well choose the same name that gcc has used?


https://reviews.llvm.org/D22010





More information about the cfe-commits mailing list