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

Unified Diff: runtime/vm/intrinsifier_ia32.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/intermediate_language_x64.cc ('k') | runtime/vm/intrinsifier_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier_ia32.cc
diff --git a/runtime/vm/intrinsifier_ia32.cc b/runtime/vm/intrinsifier_ia32.cc
index 421b59276dd52deaa379c3cb20d23c0ebe72174a..d635d4b08eb75106bb51990cf698b2c4df189266 100644
--- a/runtime/vm/intrinsifier_ia32.cc
+++ b/runtime/vm/intrinsifier_ia32.cc
@@ -785,6 +785,7 @@ bool Intrinsifier::Integer_shl(Assembler* assembler) {
AssemblerMacros::TryAllocate(assembler,
mint_class,
&fall_through,
+ Assembler::kNearJump,
EAX); // Result register.
// EBX and EDI are not objects but integer values.
__ movl(FieldAddress(EAX, Mint::value_offset()), EBX);
@@ -1040,6 +1041,7 @@ static bool DoubleArithmeticOperations(Assembler* assembler, Token::Kind kind) {
AssemblerMacros::TryAllocate(assembler,
double_class,
&fall_through,
+ Assembler::kNearJump,
EAX); // Result register.
__ movsd(FieldAddress(EAX, Double::value_offset()), XMM0);
__ ret();
@@ -1086,6 +1088,7 @@ bool Intrinsifier::Double_mulFromInteger(Assembler* assembler) {
AssemblerMacros::TryAllocate(assembler,
double_class,
&fall_through,
+ Assembler::kNearJump,
EAX); // Result register.
__ movsd(FieldAddress(EAX, Double::value_offset()), XMM0);
__ ret();
@@ -1107,6 +1110,7 @@ bool Intrinsifier::Double_fromInteger(Assembler* assembler) {
AssemblerMacros::TryAllocate(assembler,
double_class,
&fall_through,
+ Assembler::kNearJump,
EAX); // Result register.
__ movsd(FieldAddress(EAX, Double::value_offset()), XMM0);
__ ret();
@@ -1172,6 +1176,7 @@ bool Intrinsifier::Math_sqrt(Assembler* assembler) {
AssemblerMacros::TryAllocate(assembler,
double_class,
&fall_through,
+ Assembler::kNearJump,
EAX); // Result register.
__ movsd(FieldAddress(EAX, Double::value_offset()), XMM0);
__ ret();
@@ -1209,6 +1214,7 @@ static void EmitTrigonometric(Assembler* assembler,
AssemblerMacros::TryAllocate(assembler,
double_class,
&alloc_failed,
+ Assembler::kNearJump,
EAX); // Result register.
__ fstpl(FieldAddress(EAX, Double::value_offset()));
__ ret();
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/intrinsifier_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698