1 // REQUIRES: aarch64-registered-target
2 // RUN: %clang_cc1 -triple aarch64-linux -S -disable-O0-optnone -Werror -Wall -o /dev/null %s
3 // RUN: %clang_cc1 -triple aarch64-windows -S -disable-O0-optnone -Werror -Wall -o /dev/null %s
4 // RUN: %clang_cc1 -triple aarch64-darwin -S -disable-O0-optnone -Werror -Wall -o /dev/null %s
8 // Ensure that the builtin is defined to take a uint64_t * rather than relying
9 // on the size of 'unsigned long' which may have different meanings on different
10 // targets depending on LP64/LLP64.
11 void test_sme_state_builtin(uint64_t *a
,
12 uint64_t *b
) __arm_streaming_compatible
{
13 __builtin_arm_get_sme_state(a
, b
);