blob: e382e22f3fe7254424141d88bb5e12091262db8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* { dg-do compile } */
/* { dg-options "-mcpu=ultrasparc -mvis" } */
long test_array8 (long a, long b)
{
return __builtin_vis_array8 (a, b);
}
long test_array16 (long a, long b)
{
return __builtin_vis_array16 (a, b);
}
long test_array32 (long a, long b)
{
return __builtin_vis_array32 (a, b);
}
/* { dg-final { scan-assembler "array8\t%" } } */
/* { dg-final { scan-assembler "array16\t%" } } */
/* { dg-final { scan-assembler "array32\t%" } } */
|