OpenCores
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] - Blame information for rev 149

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-O2 -msse3" } */
3
 
4
/* Verify that they work in both 32bit and 64bit.  */
5
 
6
#include <pmmintrin.h>
7
 
8
void
9
foo (char *p, int x, int y, int z)
10
{
11
   _mm_monitor (p, y, x);
12
   _mm_mwait (z, y);
13
}
14
 
15
void
16
bar (char *p, long x, long y, long z)
17
{
18
   _mm_monitor (p, y, x);
19
   _mm_mwait (z, y);
20
}
21
 
22
void
23
foo1 (char *p)
24
{
25
   _mm_monitor (p, 0, 0);
26
   _mm_mwait (0, 0);
27
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.