7086394: c2/arm: enable UseFPUForSpilling

ARM has instructions to move data directly between the fpu and integer registers.

Reviewed-by: kvn, never
This commit is contained in:
Roland Westrelin 2011-09-07 09:35:52 +02:00
parent edb7b9514a
commit 48ecf5dfe4

View File

@ -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
}