blob: c8b8c3d1c6e9f6d94523eb1099c5882ead9bf6fb [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 = 40., y = 2.;
asm("axbr\t%0,%2" : "=f"(res) : "0"(x), "f"(y));
assert (res == 42.);
}