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

Subversion Repositories openrisc_me

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

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 <emmintrin.h>
6
 
7
extern __m128i a;
8
 
9
__m128i madd (__m128i b)
10
{
11
  return _mm_madd_epi16(a, b);
12
}
13
 
14
__m128i madd_swapped (__m128i b)
15
{
16
    return _mm_madd_epi16(b, a);
17
}
18
 
19
/* { dg-final { scan-assembler-not "movaps" } } */

powered by: WebSVN 2.1.0

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