1 //===-- HasAVX.s ---------------------------------------*- x86 Assembly -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #if defined (__i386__) || defined (__x86_64__)
15 #if defined (__x86_64__)
26 and $0x018000000, %ecx
27 cmp $0x018000000, %ecx
30 .byte 0x0f, 0x01, 0xd0 // xgetbv, for those assemblers that don't know it
39 #if defined (__x86_64__)