URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [mmx-5.c] - Rev 318
Compare with Previous | Blame | View Log
/* PR rtl-optimization/17853 */ /* Contributed by Stuart Hastings <stuart@apple.com> */ /* { dg-do compile } */ /* { dg-options "-O2 -mmmx" } */ #include <mmintrin.h> #include <stdlib.h> __m64 global_mask; int main() { __m64 zero = _mm_setzero_si64(); __m64 mask = _mm_cmpeq_pi8( zero, zero ); mask = _mm_unpacklo_pi8( mask, zero ); global_mask = mask; return 0; }