| 1 |
// REQUIRES: hexagon-registered-target |
| 2 |
// RUN: %clang_cc1 %s -triple hexagon -fsyntax-only -verify -target-cpu hexagonv65 |
| 3 |
|
| 4 |
// expected-no-diagnostics |
| 5 |
unsigned builtin_needs_v60(unsigned Rs) { |
| 6 |
return __builtin_HEXAGON_S6_rol_i_r(Rs, 3); |
| 7 |
} |
| 8 |
|
| 9 |
unsigned long long builtin_needs_v62(unsigned Rs) { |
| 10 |
return __builtin_HEXAGON_S6_vsplatrbp(Rs); |
| 11 |
} |
| 12 |
|
| 13 |
unsigned builtin_needs_v65(unsigned long long Rss, unsigned long long Rtt) { |
| 14 |
return __builtin_HEXAGON_A6_vcmpbeq_notany(Rss, Rtt); |
| 15 |
} |