diff options
author | Erik Schnetter <schnetter@gmail.com> | 2015-01-21 20:55:01 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2015-01-21 20:55:01 -0500 |
commit | caec0f7d3ca8c50cfb914f14f79b249d1f626633 (patch) | |
tree | 9f689bab042bc14e5f0dad6dd4db1b0d2d913959 | |
parent | 90ccc0c129eb4455150e2a1203904121a2a585a1 (diff) | |
download | vecmathlib-caec0f7d3ca8c50cfb914f14f79b249d1f626633.zip vecmathlib-caec0f7d3ca8c50cfb914f14f79b249d1f626633.tar.gz |
Correct SSE2 min/max
-rw-r--r-- | vec_sse_float4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vec_sse_float4.h b/vec_sse_float4.h index 34ac64f..940de67 100644 --- a/vec_sse_float4.h +++ b/vec_sse_float4.h @@ -743,7 +743,7 @@ namespace vecmathlib { #ifdef __SSE4_1__ return _mm_max_epi32(v, x.v); #else - return MF::vml_max(*this, v); + return MF::vml_max(*this, x); #endif } @@ -752,7 +752,7 @@ namespace vecmathlib { #ifdef __SSE4_1__ return _mm_min_epi32(v, x.v); #else - return MF::vml_min(*this, v); + return MF::vml_min(*this, x); #endif } |