view gcc/testsuite/gcc.target/arm/vseleqsf.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 1830386684a0
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-require-effective-target arm_arch_v8a_ok } */
/* { dg-require-effective-target arm_v8_vfp_ok } */
/* { dg-options "-O2 -mcpu=cortex-a57" } */
/* { dg-add-options arm_v8_vfp } */

float
foo (float x, float y)
{
  volatile int i = 0;
  return i == 0 ? x : y;
}

/* { dg-final { scan-assembler-times "vseleq.f32\ts\[0-9\]+" 1 } } */