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

Unified Diff: runtime/vm/constants_arm.h

Issue 12390039: Adds vstm, vldm to ARM simulator, assembler, disassembler (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 19322)
+++ runtime/vm/constants_arm.h (working copy)
@@ -486,6 +486,14 @@
return ((Bits(20, 5) & 0x12) == 0x10) && (Bits(9, 3) == 5);
}
+ // Test for VFP multiple load and store instructions of type 6.
+ inline bool IsVFPMultipleLoadStore() const {
+ ASSERT(ConditionField() != kSpecialCondition);
+ ASSERT(TypeField() == 6);
+ int32_t puw = (PUField() << 1) | Bit(21); // don't care about D bit
+ return (Bits(9, 3) == 5) && ((puw == 2) || (puw == 3) || (puw == 5));
+ }
+
// Special accessors that test for existence of a value.
inline bool HasS() const { return SField() == 1; }
inline bool HasB() const { return BField() == 1; }

Powered by Google App Engine
This is Rietveld 408576698