Add x86_64 code generation support
Utilizes r0..r7 in register allocator, implements spill/unsill
core regs as well as operations with stack pointer.
Change-Id: I973d5a1acb9aa735f6832df3d440185d9e896c67
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
diff --git a/compiler/dex/reg_storage.h b/compiler/dex/reg_storage.h
index 979f516..3387c50 100644
--- a/compiler/dex/reg_storage.h
+++ b/compiler/dex/reg_storage.h
@@ -137,6 +137,10 @@
return ((reg_ & k64BitMask) == k64Bits);
}
+ bool Is64BitSolo() const {
+ return ((reg_ & kShapeMask) == k64BitSolo);
+ }
+
bool IsPair() const {
return ((reg_ & kShapeMask) == k64BitPair);
}