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

Unified Diff: runtime/vm/intermediate_language_ia32.cc

Issue 23018009: Add add and subtract operations to Uint32x4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: runtime/vm/intermediate_language_ia32.cc
diff --git a/runtime/vm/intermediate_language_ia32.cc b/runtime/vm/intermediate_language_ia32.cc
index 412248c039441bf424b4c67815aa8f6dcb034c6d..d4d5d8cd2c20fbd698bd36e597463f477f3e27af 100644
--- a/runtime/vm/intermediate_language_ia32.cc
+++ b/runtime/vm/intermediate_language_ia32.cc
@@ -3687,6 +3687,12 @@ void BinaryUint32x4OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
__ xorps(left, right);
break;
}
+ case Token::kADD:
+ __ addpl(left, right);
+ break;
srdjan 2013/08/19 21:45:23 ditto
Cutch 2013/08/19 21:58:25 Done.
+ case Token::kSUB:
+ __ subpl(left, right);
+ break;
default: UNREACHABLE();
}
}

Powered by Google App Engine
This is Rietveld 408576698