view gcc/testsuite/gcc.target/i386/pr94461.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 2b5abeee2509
children
line wrap: on
line source

/* 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" } */
}