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

Unified Diff: runtime/vm/intrinsifier_x64.cc

Issue 10875030: Add support for XMM registers in SSA code generation pipeline. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix a bug pointed out by Florian Created 8 years, 4 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_ia32.cc ('k') | runtime/vm/locations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier_x64.cc
diff --git a/runtime/vm/intrinsifier_x64.cc b/runtime/vm/intrinsifier_x64.cc
index 1c22ae4a512392ad1fde83a56486130c3ae9eaa2..3681c33536a0de6a501e3881d67cba934500f412 100644
--- a/runtime/vm/intrinsifier_x64.cc
+++ b/runtime/vm/intrinsifier_x64.cc
@@ -985,6 +985,7 @@ static bool DoubleArithmeticOperations(Assembler* assembler, Token::Kind kind) {
AssemblerMacros::TryAllocate(assembler,
double_class,
&fall_through,
+ Assembler::kNearJump,
RAX); // Result register.
__ movsd(FieldAddress(RAX, Double::value_offset()), XMM0);
__ ret();
@@ -1030,6 +1031,7 @@ bool Intrinsifier::Double_mulFromInteger(Assembler* assembler) {
AssemblerMacros::TryAllocate(assembler,
double_class,
&fall_through,
+ Assembler::kNearJump,
RAX); // Result register.
__ movsd(FieldAddress(RAX, Double::value_offset()), XMM0);
__ ret();
@@ -1052,6 +1054,7 @@ bool Intrinsifier::Double_fromInteger(Assembler* assembler) {
AssemblerMacros::TryAllocate(assembler,
double_class,
&fall_through,
+ Assembler::kNearJump,
RAX); // Result register.
__ movsd(FieldAddress(RAX, Double::value_offset()), XMM0);
__ ret();
@@ -1129,6 +1132,7 @@ static void EmitTrigonometric(Assembler* assembler,
AssemblerMacros::TryAllocate(assembler,
double_class,
&alloc_failed,
+ Assembler::kNearJump,
RAX); // Result register.
__ fstpl(FieldAddress(RAX, Double::value_offset()));
__ ret();
@@ -1160,6 +1164,7 @@ bool Intrinsifier::Math_sqrt(Assembler* assembler) {
AssemblerMacros::TryAllocate(assembler,
double_class,
&fall_through,
+ Assembler::kNearJump,
RAX); // Result register.
__ movsd(FieldAddress(RAX, Double::value_offset()), XMM0);
__ ret();
« no previous file with comments | « runtime/vm/intrinsifier_ia32.cc ('k') | runtime/vm/locations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698