diff gcc/testsuite/gcc.target/i386/pr94461.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gcc/testsuite/gcc.target/i386/pr94461.c	Mon May 25 07:50:57 2020 +0900
@@ -0,0 +1,12 @@
+/* PR target/94461 */
+/* { dg-do compile } */
+/* { dg-options "-mmmx -mno-sse2" } */
+
+typedef int __v2si __attribute__ ((__vector_size__ (8)));
+
+void
+foo (__v2si *a, __v2si *b)
+{
+  __v2si c = *a;
+  *b = (__v2si) __builtin_ia32_pmuludq (c, c);	/* { dg-error "needs isa option" } */
+}