Skip to content

Commit

Permalink
Merge pull request #3060 from martin-frbg/dyn_arm64
Browse files Browse the repository at this point in the history
Label the assembly part of the ARMV8 dynamic arch detection as volatile
  • Loading branch information
martin-frbg authored Jan 12, 2021
2 parents 5d6209e + 6fe0f1f commit e18a2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/others/dynamic_arm64.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extern void openblas_warning(int verbose, const char * msg);
#endif

#define get_cpu_ftr(id, var) ({ \
__asm__("mrs %0, "#id : "=r" (var)); \
__asm__ __volatile__("mrs %0, "#id : "=r" (var)); \
})

static char *corename[] = {
Expand Down

0 comments on commit e18a2c2

Please sign in to comment.