aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/i386-sse-11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/i386-sse-11.c')
-rw-r--r--gcc/testsuite/gcc.dg/i386-sse-11.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/i386-sse-11.c b/gcc/testsuite/gcc.dg/i386-sse-11.c
new file mode 100644
index 00000000000..0a41fb9d327
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/i386-sse-11.c
@@ -0,0 +1,17 @@
+/* APPLE LOCAL begin radar 4120689 */
+/* { dg-do compile { target i?86-*-* } } */
+/* { dg-options "-O1 -msse2" } */
+void idct_sse2as(void)
+{
+ int i;
+ short dst[64] __attribute__((aligned(16))) ;
+
+ __asm__ __volatile__ ("movdqa" " %%" "xmm1" ", %0" : "=m" (*(dst + 0*8)) : );
+}
+
+int main()
+{
+ idct_sse2as();
+ return 0;
+}
+/* APPLE LOCAL end radar 4120689 */