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

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

/* { dg-do compile } */
/* { dg-require-effective-target arm_v8_vfp_ok } */
/* { dg-options "-O2" } */
/* { dg-add-options arm_v8_vfp } */

float
foo (float x)
{
  return __builtin_truncf (x);
}

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