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

Unified Diff: runtime/vm/intrinsifier_x64.cc

Issue 285403004: Adds intrinsics for arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
« no previous file with comments | « runtime/vm/intrinsifier_mips.cc ('k') | runtime/vm/simulator_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier_x64.cc
===================================================================
--- runtime/vm/intrinsifier_x64.cc (revision 36300)
+++ runtime/vm/intrinsifier_x64.cc (working copy)
@@ -35,7 +35,7 @@
void Intrinsifier::ImmutableList_getLength(Assembler* assembler) {
- return Array_getLength(assembler);
+ Array_getLength(assembler);
}
@@ -58,7 +58,7 @@
void Intrinsifier::ImmutableList_getIndexed(Assembler* assembler) {
- return Array_getIndexed(assembler);
+ Array_getIndexed(assembler);
}
@@ -451,7 +451,7 @@
void Intrinsifier::Integer_add(Assembler* assembler) {
- return Integer_addFromInteger(assembler);
+ Integer_addFromInteger(assembler);
}
@@ -497,7 +497,7 @@
void Intrinsifier::Integer_mul(Assembler* assembler) {
- return Integer_mulFromInteger(assembler);
+ Integer_mulFromInteger(assembler);
}
@@ -510,7 +510,7 @@
// RAX: Tagged left (dividend).
// RCX: Tagged right (divisor).
// RAX: Untagged result (remainder).
-void EmitRemainderOperation(Assembler* assembler) {
+static void EmitRemainderOperation(Assembler* assembler) {
Label return_zero, try_modulo, not_32bit, done;
// Check for quick zero results.
__ cmpq(RAX, Immediate(0));
@@ -678,7 +678,7 @@
void Intrinsifier::Integer_bitAnd(Assembler* assembler) {
- return Integer_bitAndFromInteger(assembler);
+ Integer_bitAndFromInteger(assembler);
}
@@ -694,7 +694,7 @@
void Intrinsifier::Integer_bitOr(Assembler* assembler) {
- return Integer_bitOrFromInteger(assembler);
+ Integer_bitOrFromInteger(assembler);
}
@@ -710,7 +710,7 @@
void Intrinsifier::Integer_bitXor(Assembler* assembler) {
- return Integer_bitXorFromInteger(assembler);
+ Integer_bitXorFromInteger(assembler);
}
@@ -761,29 +761,28 @@
}
-
void Intrinsifier::Integer_lessThan(Assembler* assembler) {
- return CompareIntegers(assembler, LESS);
+ CompareIntegers(assembler, LESS);
}
void Intrinsifier::Integer_greaterThanFromInt(Assembler* assembler) {
- return CompareIntegers(assembler, LESS);
+ CompareIntegers(assembler, LESS);
}
void Intrinsifier::Integer_greaterThan(Assembler* assembler) {
- return CompareIntegers(assembler, GREATER);
+ CompareIntegers(assembler, GREATER);
}
void Intrinsifier::Integer_lessEqualThan(Assembler* assembler) {
- return CompareIntegers(assembler, LESS_EQUAL);
+ CompareIntegers(assembler, LESS_EQUAL);
}
void Intrinsifier::Integer_greaterEqualThan(Assembler* assembler) {
- return CompareIntegers(assembler, GREATER_EQUAL);
+ CompareIntegers(assembler, GREATER_EQUAL);
}
@@ -843,7 +842,7 @@
void Intrinsifier::Integer_equal(Assembler* assembler) {
- return Integer_equalToInteger(assembler);
+ Integer_equalToInteger(assembler);
}
@@ -932,27 +931,27 @@
void Intrinsifier::Double_greaterThan(Assembler* assembler) {
- return CompareDoubles(assembler, ABOVE);
+ CompareDoubles(assembler, ABOVE);
}
void Intrinsifier::Double_greaterEqualThan(Assembler* assembler) {
- return CompareDoubles(assembler, ABOVE_EQUAL);
+ CompareDoubles(assembler, ABOVE_EQUAL);
}
void Intrinsifier::Double_lessThan(Assembler* assembler) {
- return CompareDoubles(assembler, BELOW);
+ CompareDoubles(assembler, BELOW);
}
void Intrinsifier::Double_equal(Assembler* assembler) {
- return CompareDoubles(assembler, EQUAL);
+ CompareDoubles(assembler, EQUAL);
}
void Intrinsifier::Double_lessEqualThan(Assembler* assembler) {
- return CompareDoubles(assembler, BELOW_EQUAL);
+ CompareDoubles(assembler, BELOW_EQUAL);
}
@@ -986,22 +985,22 @@
void Intrinsifier::Double_add(Assembler* assembler) {
- return DoubleArithmeticOperations(assembler, Token::kADD);
+ DoubleArithmeticOperations(assembler, Token::kADD);
}
void Intrinsifier::Double_mul(Assembler* assembler) {
- return DoubleArithmeticOperations(assembler, Token::kMUL);
+ DoubleArithmeticOperations(assembler, Token::kMUL);
}
void Intrinsifier::Double_sub(Assembler* assembler) {
- return DoubleArithmeticOperations(assembler, Token::kSUB);
+ DoubleArithmeticOperations(assembler, Token::kSUB);
}
void Intrinsifier::Double_div(Assembler* assembler) {
- return DoubleArithmeticOperations(assembler, Token::kDIV);
+ DoubleArithmeticOperations(assembler, Token::kDIV);
}
« no previous file with comments | « runtime/vm/intrinsifier_mips.cc ('k') | runtime/vm/simulator_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698