Merge pull request #3060 from martin-frbg/dyn_arm64

Label the assembly part of the ARMV8 dynamic arch detection as volatile
This commit is contained in:
Martin Kroeker 2021-01-12 23:02:05 +01:00 committed by GitHub
commit e18a2c22db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ extern void openblas_warning(int verbose, const char * msg);
#endif #endif
#define get_cpu_ftr(id, var) ({ \ #define get_cpu_ftr(id, var) ({ \
__asm__("mrs %0, "#id : "=r" (var)); \ __asm__ __volatile__("mrs %0, "#id : "=r" (var)); \
}) })
static char *corename[] = { static char *corename[] = {