Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Unified Diff: third_party/WebKit/Source/platform/audio/DenormalDisabler.h

Issue 1888763002: Build 64bit browser for Android with clang for ARMv8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch Set 5: Keep -fno-integrated-as as ARMv7 needs it Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/audio/DenormalDisabler.h
diff --git a/third_party/WebKit/Source/platform/audio/DenormalDisabler.h b/third_party/WebKit/Source/platform/audio/DenormalDisabler.h
index c0d5cc842c5172b2c9d92290f90ba1c6657d0bf7..355b53ceb81a390885955cd71405e738d7ec879a 100644
--- a/third_party/WebKit/Source/platform/audio/DenormalDisabler.h
+++ b/third_party/WebKit/Source/platform/audio/DenormalDisabler.h
@@ -131,7 +131,7 @@ private:
{
int result;
#if CPU(ARM64)
- asm volatile("mrs %[result], FPCR" : [result] "=r" (result));
+ asm volatile("mrs %x[result], FPCR" : [result] "=r" (result));
#else
asm volatile("vmrs %[result], FPSCR" : [result] "=r" (result));
#endif
@@ -141,7 +141,7 @@ private:
inline void setStatusWord(int a)
{
#if CPU(ARM64)
- asm volatile("msr FPCR, %[src]" : : [src] "r" (a));
+ asm volatile("msr FPCR, %x[src]" : : [src] "r" (a));
#else
asm volatile("vmsr FPSCR, %[src]" : : [src] "r" (a));
#endif

Powered by Google App Engine
This is Rietveld 408576698