blob: a432ee1fec1d2e0e8abd9eb07ed782606d4302a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* { 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%" } } */
|