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-vmovntdq-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 (__m256i *p, __m256i s)
{
  return _mm256_stream_si256 (p, s); 
}
 
static void
avx_test (void)
{
  union256i_d u;
  int e[8] __attribute__ ((aligned(32))) = {1,1,1,1,1,1,1,1};
 
  u.x = _mm256_set_epi32 (2434, 6845, 3789, 4683,
			  4623, 2236, 8295, 1084);
 
  test ((__m256i *)e, u.x);
 
  if (check_union256i_d (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.