changeset 2674:c2d3caa64b3e

7086394: c2/arm: enable UseFPUForSpilling Summary: ARM has instructions to move data directly between the fpu and integer registers. Reviewed-by: kvn, never
author roland
date Wed, 07 Sep 2011 09:35:52 +0200
parents 7588156f5cf9
children d968f546734e da6a29fb0da5
files src/share/vm/opto/matcher.cpp
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/matcher.cpp	Mon Sep 05 17:09:05 2011 -0700
+++ b/src/share/vm/opto/matcher.cpp	Wed Sep 07 09:35:52 2011 +0200
@@ -501,6 +501,12 @@
      idealreg2spillmask[Op_RegP]->OR(*idealreg2regmask[Op_RegD]);
 #else
      idealreg2spillmask[Op_RegP]->OR(*idealreg2regmask[Op_RegF]);
+#ifdef ARM
+     // ARM has support for moving 64bit values between a pair of
+     // integer registers and a double register
+     idealreg2spillmask[Op_RegL]->OR(*idealreg2regmask[Op_RegD]);
+     idealreg2spillmask[Op_RegD]->OR(*idealreg2regmask[Op_RegL]);
+#endif
 #endif
    }