[llvm-commits] [llvm] r84246 - /llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp
Evan Cheng
evan.cheng at apple.com
Thu Oct 15 22:33:59 PDT 2009
Author: evancheng
Date: Fri Oct 16 00:33:58 2009
New Revision: 84246
URL: http://llvm.org/viewvc/llvm-project?rev=84246&view=rev
Log:
Add comment.
Modified:
llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp?rev=84246&r1=84245&r2=84246&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp Fri Oct 16 00:33:58 2009
@@ -101,6 +101,8 @@
// Set CPU specific features.
if (CPUString == "cortex-a8") {
PostRAScheduler = true;
+ // On Cortext-a8, it's faster to perform some single-precision FP
+ // operations with NEON instructions.
if (UseNEONFP.getPosition() == 0)
UseNEONForSinglePrecisionFP = true;
}
More information about the llvm-commits
mailing list