Add comment.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 16 Oct 2009 05:33:58 +0000 (05:33 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 16 Oct 2009 05:33:58 +0000 (05:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84246 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMSubtarget.cpp

index cf1ee3f029532c1b7dc7a7d5d60d5e6a533ad984..698e5e2115e58c3648d9bde16104d3beac764fbd 100644 (file)
@@ -101,6 +101,8 @@ ARMSubtarget::ARMSubtarget(const std::string &TT, const std::string &FS,
   // 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;
   }