OSDN Git Service

libitm: Don't add -mavx if the assembler doesn't support avx.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Nov 2011 17:09:04 +0000 (17:09 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Nov 2011 17:09:04 +0000 (17:09 +0000)
commitb8190fde2cd04078f8448576fb021060526b51d5
tree07e6f7b8e7f2e100f0948704bfb12de29858cde2
parent15aefa66eea98ad9cfdf9860acb004c18055d46f
libitm: Don't add -mavx if the assembler doesn't support avx.

        * config/x86/x86_avx.cc: Remove #undef __AVX__ hack.  Tidy comments.
        * Makefile.am (x86_avx.lo): Only add -mavx if ARCH_X86_AVX.
        * configure.ac (ARCH_X86_AVX): New conditional.
        * Makefile.in, configure: Rebuild.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181261 138bc75d-0d04-0410-961f-82ee72b054a4
libitm/ChangeLog
libitm/Makefile.am
libitm/Makefile.in
libitm/config/x86/x86_avx.cc
libitm/configure
libitm/configure.ac