From ee88ae68b6ba5bf1f3a6299e4d8f6d14c5b0a70d Mon Sep 17 00:00:00 2001 From: roland Date: Wed, 7 Sep 2011 09:35:52 +0200 Subject: [PATCH] 7086394: c2/arm: enable UseFPUForSpilling Summary: ARM has instructions to move data directly between the fpu and integer registers. Reviewed-by: kvn, never --- src/share/vm/opto/matcher.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/share/vm/opto/matcher.cpp b/src/share/vm/opto/matcher.cpp index 4b16bbad2..3244a944b 100644 --- a/src/share/vm/opto/matcher.cpp +++ b/src/share/vm/opto/matcher.cpp @@ -501,6 +501,12 @@ void Matcher::init_first_stack_mask() { 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 } -- GitLab