提交 ee88ae68 编写于 作者: R roland

7086394: c2/arm: enable UseFPUForSpilling

Summary: ARM has instructions to move data directly between the fpu and integer registers.
Reviewed-by: kvn, never
上级 779f33aa
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册