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

Unified Diff: runtime/vm/method_recognizer.h

Issue 1832343003: Intrinsify some double operations, helps in AOT (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 | « runtime/vm/intrinsifier.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/method_recognizer.h
diff --git a/runtime/vm/method_recognizer.h b/runtime/vm/method_recognizer.h
index 8bec7b5a45de8eb0fc5cac1ea19399d5cbb19114..7efa6e779490e95e60188bc99902094d9a0b5239 100644
--- a/runtime/vm/method_recognizer.h
+++ b/runtime/vm/method_recognizer.h
@@ -43,11 +43,6 @@ namespace dart {
V(_IntegerImplementation, toDouble, IntegerToDouble, 150718448) \
V(_IntegerImplementation, _leftShiftWithMask32, \
IntegerLeftShiftWithMask32, 1634465017) \
- V(_Double, truncateToDouble, DoubleTruncate, 791143891) \
- V(_Double, roundToDouble, DoubleRound, 797558034) \
- V(_Double, floorToDouble, DoubleFloor, 1789426271) \
- V(_Double, ceilToDouble, DoubleCeil, 453271198) \
- V(_Double, _modulo, DoubleMod, 1093862165) \
V(_Double, _add, DoubleAdd, 1190606283) \
V(_Double, _sub, DoubleSub, 1086286468) \
V(_Double, _mul, DoubleMul, 166332351) \
@@ -291,7 +286,13 @@ namespace dart {
V(_GrowableList, [], GrowableArrayGetIndexed, 1957529650) \
V(_GrowableList, []=, GrowableArraySetIndexed, 225246870) \
V(_StringBase, get:length, StringBaseLength, 707533587) \
- V(_Double, unary-, DoubleFlipSignBit, 1783281169)
+ V(_Double, unary-, DoubleFlipSignBit, 1783281169) \
+ V(_Double, truncateToDouble, DoubleTruncate, 791143891) \
+ V(_Double, roundToDouble, DoubleRound, 797558034) \
+ V(_Double, floorToDouble, DoubleFloor, 1789426271) \
+ V(_Double, ceilToDouble, DoubleCeil, 453271198) \
+ V(_Double, _modulo, DoubleMod, 1093862165)
+
#define GRAPH_INTRINSICS_LIST(V) \
GRAPH_CORE_INTRINSICS_LIST(V) \
« no previous file with comments | « runtime/vm/intrinsifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698