[llvm-commits] [test-suite] r47942 - /test-suite/trunk/SingleSource/UnitTests/Vector/SSE/sse.shift.c
Chris Lattner
clattner at apple.com
Wed Mar 5 09:36:54 PST 2008
On Mar 5, 2008, at 12:26 AM, Evan Cheng wrote:
> Author: evancheng
>
> +int main() {
> + __m128i allones, zeroones, onezeros;
> + allones = _mm_cmpeq_epi32(allones, allones);
FYI, the two operands to _mm_cmpeq_epi32 are not guaranteed to have
the same value. Please initialize allones.
-Chris
>
> + zeroones = _mm_srli_epi16(allones, 8);
> + printIV((IV*)&zeroones);
> + onezeros = _mm_slli_epi16(allones, 8);
> + printIV((IV*)&onezeros);
> + return 0;
> +}
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list