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

Unified Diff: runtime/vm/constants_arm.h

Issue 19290006: Implements ARM SIMD multiplication and subtraction instructions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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/constants_arm.h
===================================================================
--- runtime/vm/constants_arm.h (revision 25008)
+++ runtime/vm/constants_arm.h (working copy)
@@ -164,6 +164,15 @@
}
+static inline SRegister EvenSRegisterOf(DRegister d) {
+ return static_cast<SRegister>(d * 2);
+}
+
+static inline SRegister OddSRegisterOf(DRegister d) {
+ return static_cast<SRegister>((d * 2) + 1);
+}
+
+
// Register aliases for floating point scratch registers.
const QRegister QTMP = Q7; // Overlaps with DTMP, STMP.
const DRegister DTMP = D14; // Overlaps with STMP.
regis 2013/07/16 00:23:30 ... = EvenDRegisterOf(QTMP);
zra 2013/07/16 16:11:01 Done.

Powered by Google App Engine
This is Rietveld 408576698