blob: 5a10bd1e2bcce9163d69cea6b87008223e773e3e [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O3 -march=z14 -mzarch --save-temps" } */
/* { dg-do run { target { s390_z14_hw } } } */
#include <assert.h>
__attribute__ ((noipa)) static long double
wfaxb (long double x, long double y, long double z)
{
return x + y + z;
}
/* { dg-final { scan-assembler-times {\n\twfaxb\t} 2 } } */
int
main (void)
{
assert (wfaxb (1.11L, 2.22L, 3.33L) == 6.66L);
}