]> granicus.if.org Git - clang/commit
Use -mno-implicit-float by default for kernel/kext code. <rdar://13177960>
authorBob Wilson <bob.wilson@apple.com>
Sun, 10 Feb 2013 16:01:41 +0000 (16:01 +0000)
committerBob Wilson <bob.wilson@apple.com>
Sun, 10 Feb 2013 16:01:41 +0000 (16:01 +0000)
commitf0c5456d7d6a9f74281011297d86cb3b1fa53cc1
treef6e85b70a369b7303fae5ebf2e8f6a9b9e69de1c
parent48559ba03a1bc47c8d7e6ad77615c48361132178
Use -mno-implicit-float by default for kernel/kext code. <rdar://13177960>

Apple's kernel engineers have been expecting this behavior even though
we've never implemented it before, as far as I can tell. In recent months,
clang has gotten better at using vector instructions to optimize memcpy-like
operations, and that has exposed problems when vector/floating-point
instructions are used in kexts that don't support that. This behavior also
matches what Apple's GCC did for PowerPC targets.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174838 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/flags.c