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-12.c] - Blame information for rev 848

Go to most recent revision | 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_zeroall ();
12
  _mm256_zeroupper ();
13
  x = y;
14
  _mm256_zeroupper ();
15
  _mm256_zeroupper ();
16
  _mm256_zeroupper ();
17
}
18
 
19
/* { dg-final { scan-assembler-times "avx_vzeroupper" 1 } } */
20
/* { dg-final { scan-assembler-times "\\*avx_vzeroall" 1 } } */

powered by: WebSVN 2.1.0

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