]> granicus.if.org Git - clang/commitdiff
Add some missing functions to builtins.py.
authorEric Christopher <echristo@apple.com>
Fri, 3 Aug 2012 00:13:44 +0000 (00:13 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 3 Aug 2012 00:13:44 +0000 (00:13 +0000)
rdar://10112601

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161227 91177308-0d34-0410-b5e6-96231b3b80d8

www/builtins.py

index 5e8577054f0c27f545103befad1fcbd56bb43c64..18f86ab9e28c7a7c64b840cf4e1c00fe75ee9a16 100755 (executable)
@@ -45,6 +45,7 @@ repl_map = {
 '__builtin_ia32_xorpd': '_mm_xor_pd',
 '__builtin_ia32_xorps': '_mm_xor_ps',
 '__builtin_ia32_pxor128': '_mm_xor_si128',
+'__builtin_ia32_cvtps2dq': '_mm_cvtps_epi32',
 '__builtin_ia32_cvtsd2ss': '_mm_cvtsd_ss',
 '__builtin_ia32_cvtsi2sd': '_mm_cvtsi32_sd',
 '__builtin_ia32_cvtss2sd': '_mm_cvtss_sd',
@@ -120,6 +121,8 @@ repl_map = {
 '__builtin_ia32_pshufd': '_mm_shuffle_epi32',
 '__builtin_ia32_movshdup': '_mm_movehdup_ps',
 '__builtin_ia32_movsldup': '_mm_moveldup_ps',
+'__builtin_ia32_maxps': '_mm_max_ps',
+'__builtin_ia32_pslldi128': '_mm_slli_epi32',
 '__builtin_ia32_vec_set_v16qi': '_mm_insert_epi8',
 '__builtin_ia32_vec_set_v8hi': '_mm_insert_epi16',
 '__builtin_ia32_vec_set_v4si': '_mm_insert_epi32',
@@ -157,4 +160,4 @@ for line in fileinput.input(inplace=1):
         report_cant(unh)
   sys.stdout.write(line)
 
-sys.exit(err)
\ No newline at end of file
+sys.exit(err)