Inline Sqrt bug fix; add support for fp/gen register copies
diff --git a/vm/compiler/codegen/arm/Thumb2Util.c b/vm/compiler/codegen/arm/Thumb2Util.c
index 559cf0d..806bd02 100644
--- a/vm/compiler/codegen/arm/Thumb2Util.c
+++ b/vm/compiler/codegen/arm/Thumb2Util.c
@@ -1232,7 +1232,11 @@
int vDest = inlinedTarget(mir);
// TUNING: handle case of src already in FP reg
if (vDest >= 0) {
- if (vDest == vSrc) {
+ /*
+ * FIXME: disable this case to to work around bug until after
+ * new schedule/ralloc mechanisms are done.
+ */
+ if (0 && (vDest == vSrc)) {
loadValue(cUnit, vSrc+1, ophi);
opRegRegImm(cUnit, OP_AND, ophi, ophi, 0x7fffffff, signMask);
storeValue(cUnit, ophi, vDest + 1, signMask);