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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr49002-1.c] - Blame information for rev 762

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* PR target/49002 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -mavx" } */
4
 
5
#include <immintrin.h>
6
 
7
void foo(const __m128d *from, __m256d *to, int s)
8
{
9
  __m256d var = _mm256_castpd128_pd256(from[0]);
10
  var = _mm256_insertf128_pd(var, from[s], 1);
11
  to[0] = var;
12
}
13
 
14
/* Ensure we load into xmm, not ymm.  */
15
/* { dg-final { scan-assembler-not "vmovapd\[\t \]*\[^,\]*,\[\t \]*%ymm" } } */
16
/* { dg-final { scan-assembler "vmovapd\[\t \]*\[^,\]*,\[\t \]*%xmm" } } */

powered by: WebSVN 2.1.0

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