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

Unified Diff: src/arm64/code-stubs-arm64.cc

Issue 1884193002: [arm64] Turn off the default NaN mode on arm64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | src/arm64/macro-assembler-arm64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm64/code-stubs-arm64.cc
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc
index 13438cfadeb37aa37ff9ecb7d987726a2cdd92fc..c9a9f5ffa3e4156385c4697f9ff99c480eaeea0f 100644
--- a/src/arm64/code-stubs-arm64.cc
+++ b/src/arm64/code-stubs-arm64.cc
@@ -1323,11 +1323,6 @@ void JSEntryStub::Generate(MacroAssembler* masm) {
__ Mov(jssp, csp);
__ SetStackPointer(jssp);
- // Configure the FPCR. We don't restore it, so this is technically not allowed
- // according to AAPCS64. However, we only set default-NaN mode and this will
- // be harmless for most C code. Also, it works for ARM.
- __ ConfigureFPCR();
-
ProfileEntryHookStub::MaybeCallEntryHook(masm);
// Set up the reserved register for 0.0.
« no previous file with comments | « no previous file | src/arm64/macro-assembler-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698