OSDN Git Service

Second pass at addressing PR15351 by explicitly checking for AVX support
authorAaron Ballman <aaron@aaronballman.com>
Wed, 3 Apr 2013 12:25:06 +0000 (12:25 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 3 Apr 2013 12:25:06 +0000 (12:25 +0000)
commite1ecc5b0dbb85157ba70c4366deca3418fa0890a
tree3bbafda47dcd68a554a42db9800c1d0fedee01c8
parente79c17856e7c5cfb44f26df2eb6146c7455fd463
Second pass at addressing PR15351 by explicitly checking for AVX support
when getting the host processor information.  It emits a .byte sequence on GNUC compilers to work around lack of xgetbv support with older assemblers, and resolves a comment typo found in the previous patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178636 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Host.cpp