Index: src/arm64/cpu-arm64.cc |
diff --git a/src/arm64/cpu-arm64.cc b/src/arm64/cpu-arm64.cc |
index 37bb4a22ba6ef559886fb7eb8bcbf1fde7fe1ffa..712dbbd650b24bc4022c31bb06f190b7afbe385b 100644 |
--- a/src/arm64/cpu-arm64.cc |
+++ b/src/arm64/cpu-arm64.cc |
@@ -19,7 +19,7 @@ class CacheLineSizes { |
cache_type_register_ = 0; |
#else |
// Copy the content of the cache type register to a core register. |
- __asm__ __volatile__("mrs %[ctr], ctr_el0" // NOLINT |
+ __asm__ __volatile__("mrs %x[ctr], ctr_el0" // NOLINT |
: [ctr] "=r"(cache_type_register_)); |
#endif |
} |