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

Unified Diff: runtime/vm/assembler_arm64.h

Issue 735543003: Range feedback for binary integer operations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years 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/assembler_arm.cc ('k') | runtime/vm/assembler_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm64.h
diff --git a/runtime/vm/assembler_arm64.h b/runtime/vm/assembler_arm64.h
index f08096118d03c8088ca1a1bf085a9615223eb2e1..172851c1758a8f0975bed87a7ea7b544005a4c1d 100644
--- a/runtime/vm/assembler_arm64.h
+++ b/runtime/vm/assembler_arm64.h
@@ -633,6 +633,9 @@ class Assembler : public ValueObject {
void orr(Register rd, Register rn, Operand o) {
EmitLogicalShiftOp(ORR, rd, rn, o, kDoubleWord);
}
+ void orrw(Register rd, Register rn, Operand o) {
+ EmitLogicalShiftOp(ORR, rd, rn, o, kWord);
+ }
void orn(Register rd, Register rn, Operand o) {
EmitLogicalShiftOp(ORN, rd, rn, o, kDoubleWord);
}
@@ -1338,6 +1341,18 @@ class Assembler : public ValueObject {
void CompareClassId(Register object, intptr_t class_id, Register pp);
void LoadTaggedClassIdMayBeSmi(Register result, Register object);
+ void ComputeRange(Register result,
+ Register value,
+ Register scratch,
+ Label* miss);
+
+ void UpdateRangeFeedback(Register value,
+ intptr_t idx,
+ Register ic_data,
+ Register scratch1,
+ Register scratch2,
+ Label* miss);
+
void EnterFrame(intptr_t frame_size);
void LeaveFrame();
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/assembler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698