URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [i386/] [monitor.c] - Rev 825
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -msse3" } */ /* Verify that they work in both 32bit and 64bit. */ #include <pmmintrin.h> void foo (char *p, int x, int y, int z) { _mm_monitor (p, y, x); _mm_mwait (z, y); } void bar (char *p, long x, long y, long z) { _mm_monitor (p, y, x); _mm_mwait (z, y); } void foo1 (char *p) { _mm_monitor (p, 0, 0); _mm_mwait (0, 0); }
Go to most recent revision | Compare with Previous | Blame | View Log