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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* PR target/48678 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -msse2" } */
4
 
5
#include <emmintrin.h>
6
 
7
typedef short T __attribute__((may_alias));
8
struct S { __m128i d; };
9
 
10
__m128i
11
foo (short *x, struct S *y, __m128i *z)
12
{
13
  struct S s = *y;
14
  ((T *) &s.d)[0] = *x;
15
  return _mm_cmpeq_epi16 (s.d, *z);
16
}

powered by: WebSVN 2.1.0

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