PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / mmx-3.c
blob6022d5294e868ddcd32474541a8dad7fd354c283
1 /* PR target/8870 */
2 /* Originator: otaylor@redhat.com */
3 /* { dg-do compile } */
4 /* { dg-options "-O1 -mmmx -march=k8" } */
6 typedef short v4hi __attribute__ ((vector_size (8)));
8 static inline v4hi cvtsi_v4hi (int i)
10 long long tmp = i;
11 return (v4hi) tmp;
14 v4hi bar (unsigned short a)
16 return cvtsi_v4hi (a);