blob: a432ee1fec1d2e0e8abd9eb07ed782606d4302a8 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-mvis3" } */
typedef long long int64_t;
int64_t test_umulxhi (int64_t x, int64_t y)
{
return __builtin_vis_umulxhi (x, y);
}
int64_t test_xmulx (int64_t x, int64_t y)
{
return __builtin_vis_xmulx (x, y);
}
int64_t test_xmulxhi (int64_t x, int64_t y)
{
return __builtin_vis_xmulxhi (x, y);
}
/* { dg-final { scan-assembler "umulxhi\t%" } } */
/* { dg-final { scan-assembler "xmulx\t%" } } */
/* { dg-final { scan-assembler "xmulxhi\t%" } } */