OpenCores
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/] [avx-vmovntps-256-1.c] - Rev 318

Compare with Previous | Blame | View Log

/* { dg-do run } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2 -mavx" } */
 
#include "avx-check.h"
 
static void 
__attribute__((noinline))
test (float *p, __m256 s)
{
  return _mm256_stream_ps (p, s); 
}
 
static void
avx_test (void)
{
  union256 u;
  float e[8] __attribute__ ((aligned(32)));
 
  u.x = _mm256_set_ps (24.43, 68.346, -43.35, 546.46,
		       46.9, -2.78, 82.9, -0.4);
  test (e, u.x); 
 
  if (check_union256 (u, e))
    abort ();
}
 

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.