summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr35714.c
blob: 13ca47c23a38dc3c03610a38187ca6c2131bf183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-options "-O2 -msse2" } */

#include <emmintrin.h>

extern __m128i a;

__m128i madd (__m128i b)
{
  return _mm_madd_epi16(a, b);
}

__m128i madd_swapped (__m128i b)
{
    return _mm_madd_epi16(b, a);
}

/* { dg-final { scan-assembler-not "movaps" } } */