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/] [sse2-check.h] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
#include <stdio.h>
2
#include <stdlib.h>
3
 
4
#include "../../gcc.dg/i386-cpuid.h"
5
 
6
static void sse2_test (void);
7
 
8
int
9
main ()
10
{
11
  unsigned long cpu_facilities;
12
 
13
  cpu_facilities = i386_cpuid_edx ();
14
 
15
  /* Run SSE2 test only if host has SSE2 support.  */
16
  if ((cpu_facilities & bit_SSE2))
17
    sse2_test ();
18
 
19
  exit (0);
20
}

powered by: WebSVN 2.1.0

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