OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [avx-vzeroupper-9.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O0 -mavx -mvzeroupper -dp" } */
3
 
4
#include <immintrin.h>
5
 
6
extern __m256 x, y;
7
 
8
void
9
foo ()
10
{
11
  _mm256_zeroupper ();
12
  x = y;
13
  _mm256_zeroupper ();
14
  _mm256_zeroupper ();
15
  _mm256_zeroupper ();
16
}
17
 
18
/* { dg-final { scan-assembler-times "avx_vzeroupper" 1 } } */

powered by: WebSVN 2.1.0

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