diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-02-16 18:21:25 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-02-16 18:21:25 +0000 |
| commit | e983eae273b26de2d6efd98e3926ee2375262776 (patch) | |
| tree | adf3ec2f1d59612f40707c2c6ee15a19160c6575 /clang/lib | |
| parent | db5c16bc9c8b253d0fa39f2b7655fb41335b8004 (diff) | |
| download | bcm5719-llvm-e983eae273b26de2d6efd98e3926ee2375262776.tar.gz bcm5719-llvm-e983eae273b26de2d6efd98e3926ee2375262776.zip | |
add two aliases for SSE functions we already have, fixing PR6316.
llvm-svn: 96363
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Headers/xmmintrin.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/lib/Headers/xmmintrin.h b/clang/lib/Headers/xmmintrin.h index b59c7e824bf..2f3888bebc7 100644 --- a/clang/lib/Headers/xmmintrin.h +++ b/clang/lib/Headers/xmmintrin.h @@ -397,6 +397,12 @@ _mm_cvtss_si32(__m128 a) return __builtin_ia32_cvtss2si(a); } +static inline int __attribute__((__always_inline__, __nodebug__)) +_mm_cvt_ss2si(__m128 a) +{ + return _mm_cvtss_si32(a); +} + #ifdef __x86_64__ static inline long long __attribute__((__always_inline__, __nodebug__)) @@ -419,6 +425,12 @@ _mm_cvttss_si32(__m128 a) return a[0]; } +static inline int __attribute__((__always_inline__, __nodebug__)) +_mm_cvtt_ss2si(__m128 a) +{ + return _mm_cvttss_si32(a); +} + static inline long long __attribute__((__always_inline__, __nodebug__)) _mm_cvttss_si64(__m128 a) { |

