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

Unified Diff: runtime/vm/intermediate_language_x64.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_x64.cc
diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc
index 2a1a546653f8f7ae2e9cfc73869f1c30032bee20..6c0f9cff59ac852bece619a8b65a733c454fffba 100644
--- a/runtime/vm/intermediate_language_x64.cc
+++ b/runtime/vm/intermediate_language_x64.cc
@@ -3728,6 +3728,12 @@ void BinaryUint32x4OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
__ xorps(left, right);
break;
}
+ case Token::kADD:
+ __ addpl(left, right);
+ break;
+ case Token::kSUB:
srdjan 2013/08/19 21:45:23 ditto
Cutch 2013/08/19 21:58:25 Done.
+ __ subpl(left, right);
+ break;
default: UNREACHABLE();
}
}

Powered by Google App Engine
This is Rietveld 408576698