Skip to content

Commit

Permalink
- Run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
kmclaughlin-arm committed May 21, 2024
1 parent 1038d54 commit 2baec75
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions compiler-rt/lib/builtins/aarch64/sme-abi-init.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,14 @@ static void init_aarch64_has_sme(void) {
#if __GNUC__ >= 9
#pragma GCC diagnostic ignored "-Wprio-ctor-dtor"
#endif
__attribute__((constructor(90)))
void get_aarch64_cpu_features(void) {
__attribute__((constructor(90))) void get_aarch64_cpu_features(void) {
if (!__aarch64_cpu_features.features)
__init_cpu_features();
}

__attribute__((target("sve")))
long emit_cntd(void) {
__attribute__((target("sve"))) long emit_cntd(void) {
long vl;
__asm__ __volatile__("cntd %0" : "=r" (vl));
__asm__ __volatile__("cntd %0" : "=r"(vl));
return vl;
}

Expand Down

0 comments on commit 2baec75

Please sign in to comment.