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:
parent
edb7b9514a
commit
48ecf5dfe4
@ -501,6 +501,12 @@ void Matcher::init_first_stack_mask() {
|
|||||||
idealreg2spillmask[Op_RegP]->OR(*idealreg2regmask[Op_RegD]);
|
idealreg2spillmask[Op_RegP]->OR(*idealreg2regmask[Op_RegD]);
|
||||||
#else
|
#else
|
||||||
idealreg2spillmask[Op_RegP]->OR(*idealreg2regmask[Op_RegF]);
|
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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user