diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-05 21:16:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-05 21:16:22 +0000 |
commit | bc64bb1e55a109487ff31852deea240c555529c5 (patch) | |
tree | 0f9c43400ecdd19ee61a0e53355ce7a1c02561f7 | |
parent | 445e23e9b909ec8e21303c7dd82c90b72fc09ac4 (diff) |
remove this test, grepping for define isn't really testing anything.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83325 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/mmintrin-test.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test/CodeGen/mmintrin-test.c b/test/CodeGen/mmintrin-test.c deleted file mode 100644 index 2a9ab56723..0000000000 --- a/test/CodeGen/mmintrin-test.c +++ /dev/null @@ -1,26 +0,0 @@ -// RUN: clang-cc -triple i386-apple-darwin9 -mcpu=pentium4 -emit-llvm -o %t %s && -// RUN: grep define %t | count 1 && -// RUN: clang-cc -triple i386-apple-darwin9 -mcpu=pentium4 -g -emit-llvm -o %t %s && -// RUN: grep define %t | count 1 - -#include <mmintrin.h> -#include <stdio.h> - -int main(int argc, char *argv[]) { - int array[16] = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 }; - __m64 *p = (__m64 *)array; - - __m64 accum = _mm_setzero_si64(); - - for (int i=0; i<8; ++i) - accum = _mm_add_pi32(p[i], accum); - - __m64 accum2 = _mm_unpackhi_pi32(accum, accum); - accum = _mm_add_pi32(accum, accum2); - - int result = _mm_cvtsi64_si32(accum); - _mm_empty(); - printf("%d\n", result ); - - return 0; -} |