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

Unified Diff: src/runtime/runtime-maths.cc

Issue 2114613002: [intrinsics] Drop the now obsolete %_DoubleHi and %_DoubleLo intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | « src/runtime/runtime.h ('k') | test/mjsunit/asm/double-hi.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime-maths.cc
diff --git a/src/runtime/runtime-maths.cc b/src/runtime/runtime-maths.cc
index 88ee6e9694effb3248660906d02f40ff4b46cff6..47e560d022a4189275604c710bfd5bc5a87ad2bc 100644
--- a/src/runtime/runtime-maths.cc
+++ b/src/runtime/runtime-maths.cc
@@ -13,28 +13,6 @@
namespace v8 {
namespace internal {
-RUNTIME_FUNCTION(Runtime_DoubleHi) {
- HandleScope scope(isolate);
- DCHECK(args.length() == 1);
- CONVERT_DOUBLE_ARG_CHECKED(x, 0);
- uint64_t unsigned64 = double_to_uint64(x);
- uint32_t unsigned32 = static_cast<uint32_t>(unsigned64 >> 32);
- int32_t signed32 = bit_cast<int32_t, uint32_t>(unsigned32);
- return *isolate->factory()->NewNumber(signed32);
-}
-
-
-RUNTIME_FUNCTION(Runtime_DoubleLo) {
- HandleScope scope(isolate);
- DCHECK(args.length() == 1);
- CONVERT_DOUBLE_ARG_CHECKED(x, 0);
- uint64_t unsigned64 = double_to_uint64(x);
- uint32_t unsigned32 = static_cast<uint32_t>(unsigned64);
- int32_t signed32 = bit_cast<int32_t, uint32_t>(unsigned32);
- return *isolate->factory()->NewNumber(signed32);
-}
-
-
RUNTIME_FUNCTION(Runtime_GenerateRandomNumbers) {
HandleScope scope(isolate);
DCHECK(args.length() == 1);
« no previous file with comments | « src/runtime/runtime.h ('k') | test/mjsunit/asm/double-hi.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698