OSDN Git Service

* gcc.dg/cpp/spacing1.c: Update.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / i386-mmx-3.c
1 /* PR target/8870 */
2 /* Originator: otaylor@redhat.com */
3 /* { dg-do compile { target i?86-*-* x86_64-*-*} } */
4 /* { dg-options "-O1 -mmmx -march=k8" } */
5
6 typedef int v4hi __attribute__ ((mode (V4HI)));
7
8 static inline v4hi cvtsi_v4hi (int i)
9 {
10   long long tmp = i;
11   return (v4hi) tmp;
12 }
13
14 v4hi bar (unsigned short a)
15 {
16   return cvtsi_v4hi (a);
17 }