[cfe-commits] r158521 - /cfe/trunk/lib/Headers/xopintrin.h
NAKAMURA Takumi
geek4civic at gmail.com
Fri Jun 15 06:37:44 PDT 2012
Author: chapuni
Date: Fri Jun 15 08:37:44 2012
New Revision: 158521
URL: http://llvm.org/viewvc/llvm-project?rev=158521&view=rev
Log:
Headers/xopintrin.h: Try to fix r158492. Did you mean, mm256?
Modified:
cfe/trunk/lib/Headers/xopintrin.h
Modified: cfe/trunk/lib/Headers/xopintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/xopintrin.h?rev=158521&r1=158520&r2=158521&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/xopintrin.h (original)
+++ cfe/trunk/lib/Headers/xopintrin.h Fri Jun 15 08:37:44 2012
@@ -395,15 +395,15 @@
}
static __inline__ __m256 __attribute__((__always_inline__, __nodebug__))
-_mm_frcz_ps(__m256 __A)
+_mm256_frcz_ps(__m256 __A)
{
- return (__m256)__builtin_ia32_vfrczps((__v4sf)__A);
+ return (__m256)__builtin_ia32_vfrczps256((__v8sf)__A);
}
static __inline__ __m256d __attribute__((__always_inline__, __nodebug__))
-_mm_frcz_pd(__m256d __A)
+_mm256_frcz_pd(__m256d __A)
{
- return (__m256d)__builtin_ia32_vfrczpd((__v2df)__A);
+ return (__m256d)__builtin_ia32_vfrczpd256((__v4df)__A);
}
#endif /* __XOP__ */
More information about the cfe-commits
mailing list