Revert "Revert "Better support for x86 XMM registers""
This reverts commit 8ff67e3338952c70ccf3b609559bf8cc0f379cfd.
Fix applied to loc.fp usage.
Change-Id: I1eb3005392544fcf30c595923ed25bcee2dc4859
diff --git a/compiler/dex/compiler_enums.h b/compiler/dex/compiler_enums.h
index 4650f25..18122b3 100644
--- a/compiler/dex/compiler_enums.h
+++ b/compiler/dex/compiler_enums.h
@@ -56,6 +56,17 @@
kLocInvalid
};
+/**
+ * Support for vector registers. Initially used for x86 floats. This will be used
+ * to replace the assumption that a double takes up 2 single FP registers
+ */
+enum VectorLengthType {
+ kVectorNotUsed = 0, // This value is NOT in a vector register.
+ kVectorLength4, // The value occupies 4 bytes in a vector register.
+ kVectorLength8, // The value occupies 8 bytes in a vector register.
+ kVectorLength16 // The value occupies 16 bytes in a vector register (unused now).
+};
+
enum BBType {
kNullBlock,
kEntryBlock,