OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR rtl-optimization/323
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx-set1-ps-256-1.c
1
/* { dg-do run } */
2
/* { dg-require-effective-target avx } */
3
/* { dg-options "-O2 -mavx" } */
4
5
#include "avx-check.h"
6
7
void static
8
avx_test (void)
9
{
10
int i;
11
union256 u;
12
float e [8];
13
float source[1] = {1234.234f};
14
15
u.x = _mm256_set1_ps (source[0]);
16
17
for (i = 0; i < 8; i++)
18
e[i] = source[0];
19
20
if (check_union256 (u, e))
21
abort ();
22
}