]> granicus.if.org Git - llvm/commitdiff
[X86] HADDPS/HADDPD scalar lowering was added at rL350421
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 22 Jan 2019 10:49:41 +0000 (10:49 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 22 Jan 2019 10:49:41 +0000 (10:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351797 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/README-SSE.txt

index 190ca861967a8737617d7ba9298a77d89a3f554c..d52840e5c489677f0868823951b2dc66beaf8172 100644 (file)
@@ -827,15 +827,3 @@ and inversion with an rsqrtss instruction, which computes 1/sqrt faster at the
 cost of reduced accuracy.
 
 //===---------------------------------------------------------------------===//
-
-This function should be matched to haddpd when the appropriate CPU is enabled:
-
-#include <x86intrin.h>
-double f (__m128d p) {
-  return p[0] + p[1];
-}
-
-similarly, v[0]-v[1] should match to hsubpd, and {v[0]-v[1], w[0]-w[1]} should
-turn into hsubpd also.
-
-//===---------------------------------------------------------------------===//