OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr22152.c] - Blame information for rev 378

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

Line No. Rev Author Line
1 318 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -msse2" } */
3
/* { dg-require-effective-target sse2 } */
4
 
5
#include <mmintrin.h>
6
 
7
__m64
8
unsigned_add3 (const __m64 * a, const __m64 * b, unsigned long count)
9
{
10
  __m64 sum;
11
  unsigned int i;
12
 
13
  for (i = 1; i < count; i++)
14
    sum = _mm_add_si64 (a[i], b[i]);
15
 
16
  return sum;
17
}
18
 
19
/* { dg-final { scan-assembler-times "movq\[ \\t\]+.*%mm" 1 } } */

powered by: WebSVN 2.1.0

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