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] - Rev 867

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

#include <stdio.h>
#include <stdlib.h>
 
#include "../../gcc.dg/i386-cpuid.h"
 
static void sse2_test (void);
 
int
main ()
{
  unsigned long cpu_facilities;
 
  cpu_facilities = i386_cpuid_edx ();
 
  /* Run SSE2 test only if host has SSE2 support.  */
  if ((cpu_facilities & bit_SSE2))
    sse2_test ();
 
  exit (0);
}
 

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

powered by: WebSVN 2.1.0

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