diff options
author | José Fonseca <[email protected]> | 2012-10-17 15:04:20 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-10-17 15:04:20 +0100 |
commit | 2ab6e67d9093db7d44eefd3c6fa599e4b9cdd73c (patch) | |
tree | ffe14f5215be7e873e0f14141782018b354cceee | |
parent | 53e36d333c9b619c1a5fe9a8d2d08665654b0234 (diff) |
Revert "gallivm: Don't use llvm.x86.avx.max/min.ps.256 inadvertently."
This reverts commit bf2edc776b02a2a63862bf69a23adf666ecfcc57.
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_arit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit.c b/src/gallium/auxiliary/gallivm/lp_bld_arit.c index f6310a8ef30..d23ff0bf996 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_arit.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_arit.c @@ -92,7 +92,7 @@ lp_build_min_simple(struct lp_build_context *bld, intrinsic = "llvm.x86.sse.min.ss"; intr_size = 128; } - else if (type.length <= 4 || !util_cpu_caps.has_avx || lp_native_vector_width < 256) { + else if (type.length <= 4 || !util_cpu_caps.has_avx) { intrinsic = "llvm.x86.sse.min.ps"; intr_size = 128; } @@ -106,7 +106,7 @@ lp_build_min_simple(struct lp_build_context *bld, intrinsic = "llvm.x86.sse2.min.sd"; intr_size = 128; } - else if (type.length == 2 || !util_cpu_caps.has_avx || lp_native_vector_width < 256) { + else if (type.length == 2 || !util_cpu_caps.has_avx) { intrinsic = "llvm.x86.sse2.min.pd"; intr_size = 128; } @@ -182,7 +182,7 @@ lp_build_max_simple(struct lp_build_context *bld, intrinsic = "llvm.x86.sse.max.ss"; intr_size = 128; } - else if (type.length <= 4 || !util_cpu_caps.has_avx || lp_native_vector_width < 256) { + else if (type.length <= 4 || !util_cpu_caps.has_avx) { intrinsic = "llvm.x86.sse.max.ps"; intr_size = 128; } @@ -196,7 +196,7 @@ lp_build_max_simple(struct lp_build_context *bld, intrinsic = "llvm.x86.sse2.max.sd"; intr_size = 128; } - else if (type.length == 2 || !util_cpu_caps.has_avx || lp_native_vector_width < 256) { + else if (type.length == 2 || !util_cpu_caps.has_avx) { intrinsic = "llvm.x86.sse2.max.pd"; intr_size = 128; } |