blob: 27d447f6898b5c8de0a94a698794d4d31e68e621 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O3 -march=z14 -mzarch" } */
/* { dg-do run { target { s390_z14_hw } } } */
#include <assert.h>
#include <stdint.h>
int
main (void)
{
long double res, x = 0x1.0000000000001p+0L,
exp = 1.00000000000000011102230246251564788e+0L;
asm("sqxbr\t%0,%1" : "=f"(res) : "f"(x));
assert (res == exp);
}