[cfe-commits] r129026 - /cfe/trunk/test/CodeGen/avx-cmp-builtins.c

Eli Friedman eli.friedman at gmail.com
Wed Apr 6 13:53:36 PDT 2011


On Wed, Apr 6, 2011 at 1:46 PM, John McCall <rjmccall at apple.com> wrote:
> Author: rjmccall
> Date: Wed Apr  6 15:46:42 2011
> New Revision: 129026
>
> URL: http://llvm.org/viewvc/llvm-project?rev=129026&view=rev
> Log:
> I can't figure out any reasonable way to make this test non-host-dependent,
> so I'm killing it.

test/CodeGen/mmx_builtins.c seems to manage it.

-Eli

> Removed:
>    cfe/trunk/test/CodeGen/avx-cmp-builtins.c
>
> Removed: cfe/trunk/test/CodeGen/avx-cmp-builtins.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/avx-cmp-builtins.c?rev=129025&view=auto
> ==============================================================================
> --- cfe/trunk/test/CodeGen/avx-cmp-builtins.c (original)
> +++ cfe/trunk/test/CodeGen/avx-cmp-builtins.c (removed)
> @@ -1,47 +0,0 @@
> -// RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-feature +avx -emit-llvm %s -o - | FileCheck %s
> -#include <immintrin.h>
> -
> -//
> -// Test if third argument of cmp_XY function in LLVM IR form has immediate value.
> -//
> -void test_cmp_ps256() {
> -    __m256 a, b, c;
> -    a = _mm256_cmp_ps(b, c, _CMP_GE_OS);
> -    // CHECK: @test_cmp_ps256
> -    // CHECK: call <8 x float> @llvm.x86.avx.cmp.ps.256(<8 x float> {{%.*}}, <8 x float> {{%.*}}, i8 13)
> -}
> -
> -void test_cmp_pd256() {
> -    __m256d a, b, c;
> -    a = _mm256_cmp_pd(b, c, _CMP_GE_OS);
> -    // CHECK: @test_cmp_pd256
> -    // CHECK: call <4 x double> @llvm.x86.avx.cmp.pd.256(<4 x double> {{%.*}}, <4 x double> {{%.*}}, i8 13)
> -}
> -
> -void test_cmp_ps() {
> -    __m128 a, b, c;
> -    a = _mm_cmp_ps(b, c, _CMP_GE_OS);
> -    // CHECK: @test_cmp_ps
> -    // CHECK: call <4 x float> @llvm.x86.sse.cmp.ps(<4 x float> {{%.*}}, <4 x float> {{%.*}}, i8 13)
> -}
> -
> -void test_cmp_pd() {
> -    __m128d a, b, c;
> -    a = _mm_cmp_pd(b, c, _CMP_GE_OS);
> -    // CHECK: @test_cmp_pd
> -    // CHECK: call <2 x double> @llvm.x86.sse2.cmp.pd(<2 x double> {{%.*}}, <2 x double> {{%.*}}, i8 13)
> -}
> -
> -void test_cmp_sd() {
> -    __m128d a, b, c;
> -    a = _mm_cmp_sd(b, c, _CMP_GE_OS);
> -    // CHECK: @test_cmp_sd
> -    // CHECK: call <2 x double> @llvm.x86.sse2.cmp.sd(<2 x double> {{%.*}}, <2 x double> {{%.*}}, i8 13)
> -}
> -
> -void test_cmp_ss() {
> -    __m128 a, b, c;
> -    a = _mm_cmp_ss(b, c, _CMP_GE_OS);
> -    // CHECK: @test_cmp_ss
> -    // CHECK: call <4 x float> @llvm.x86.sse.cmp.ss(<4 x float> {{%.*}}, <4 x float> {{%.*}}, i8 13)
> -}
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>




More information about the cfe-commits mailing list