llvm.org GIT mirror llvm / 95a16c4
Attempting to fix the build on older GCC versions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178604 91177308-0d34-0410-b5e6-96231b3b80d8 Aaron Ballman 7 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
112112 }
113113
114114 static bool OSHasAVXSupport() {
115 #if defined(__GNUC__)
115 #if defined( __GNUC__ ) && \
116 (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 4)
116117 int rEAX, rEDX;
117118 __asm__ ("xgetbv" : "=a" (rEAX), "=d" (rEDX) : "c" (0));
118119 #elif defined(_MSC_VER)