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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [all_one_m128i.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 "-O2 -msse2" } */
3
 
4
typedef long long __m128i __attribute__ ((__vector_size__ (16)));
5
typedef int __v4si __attribute__ ((__vector_size__ (16)));
6
 
7
__m128i foo ()
8
{
9
  __m128i minus_1 = (__m128i) (__v4si) { -1, -1, -1, -1 };
10
 
11
  return minus_1;
12
}
13
 
14
/* { dg-final { scan-assembler "pcmpeqd" } } */

powered by: WebSVN 2.1.0

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