[cfe-commits] r72994 - /cfe/trunk/lib/Headers/tmmintrin.h
Eli Friedman
eli.friedman at gmail.com
Sat Jun 6 00:42:18 PDT 2009
Author: efriedma
Date: Sat Jun 6 02:42:17 2009
New Revision: 72994
URL: http://llvm.org/viewvc/llvm-project?rev=72994&view=rev
Log:
Fix obvious typo.
Modified:
cfe/trunk/lib/Headers/tmmintrin.h
Modified: cfe/trunk/lib/Headers/tmmintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/tmmintrin.h?rev=72994&r1=72993&r2=72994&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/tmmintrin.h (original)
+++ cfe/trunk/lib/Headers/tmmintrin.h Sat Jun 6 02:42:17 2009
@@ -114,19 +114,19 @@
static inline __m128i __attribute__((__always_inline__, __nodebug__))
_mm_hsub_epi32(__m128i a, __m128i b)
{
- return (__m128i)__builtin_ia32_psubd128((__v4si)a, (__v4si)b);
+ return (__m128i)__builtin_ia32_phsubd128((__v4si)a, (__v4si)b);
}
static inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_hsub_pi16(__m64 a, __m64 b)
{
- return (__m64)__builtin_ia32_psubw((__v4hi)a, (__v4hi)b);
+ return (__m64)__builtin_ia32_phsubw((__v4hi)a, (__v4hi)b);
}
static inline __m64 __attribute__((__always_inline__, __nodebug__))
_mm_hsub_pi32(__m64 a, __m64 b)
{
- return (__m64)__builtin_ia32_psubd((__v2si)a, (__v2si)b);
+ return (__m64)__builtin_ia32_phsubd((__v2si)a, (__v2si)b);
}
static inline __m128i __attribute__((__always_inline__, __nodebug__))
More information about the cfe-commits
mailing list