summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers/xopintrin.h
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-06-15 13:37:44 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-06-15 13:37:44 +0000
commitf500be025afd6eb1d2ca98937d710b2d5105c9fa (patch)
treebb6de9f0c50b7525ceeee55cddf371306a6baa90 /clang/lib/Headers/xopintrin.h
parent156958dd0c62c2f3e39bca6fc14470087a8d234f (diff)
downloadbcm5719-llvm-f500be025afd6eb1d2ca98937d710b2d5105c9fa.tar.gz
bcm5719-llvm-f500be025afd6eb1d2ca98937d710b2d5105c9fa.zip
Headers/xopintrin.h: Try to fix r158492. Did you mean, mm256?
llvm-svn: 158521
Diffstat (limited to 'clang/lib/Headers/xopintrin.h')
-rw-r--r--clang/lib/Headers/xopintrin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Headers/xopintrin.h b/clang/lib/Headers/xopintrin.h
index e5b8d92b65f..d107be4a426 100644
--- a/clang/lib/Headers/xopintrin.h
+++ b/clang/lib/Headers/xopintrin.h
@@ -395,15 +395,15 @@ _mm_frcz_pd(__m128d __A)
}
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__ */
OpenPOWER on IntegriCloud