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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr49002-2.c] - Rev 704

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

/* PR target/49002 */
/* { dg-do compile } */
/* { dg-options "-O -mavx" } */
 
#include <immintrin.h>
 
void foo(const __m128d from, __m256d *to)
{
  *to = _mm256_castpd128_pd256(from);
}
 
/* Ensure we store ymm, not xmm.  */
/* { dg-final { scan-assembler-not "vmovapd\[\t \]*%xmm\[0-9\]\+,\[^,\]*" } } */
/* { dg-final { scan-assembler "vmovapd\[\t \]*%ymm\[0-9\]\+,\[^,\]*" } } */
 

Go to most recent revision | 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.