mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
tcg/ppc: Add TCG_CT_CONST_CMP
Better constraint for tcg_out_cmp, based on the comparison. We can't yet remove the fallback to load constants into a scratch because of tcg_out_cmp2, but that path should not be as frequent. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
2f2faef6b0
commit
282ef7e8ef
3 changed files with 44 additions and 10 deletions
|
@ -16,6 +16,7 @@ REGS('v', ALL_VECTOR_REGS)
|
|||
* Define constraint letters for constants:
|
||||
* CONST(letter, TCG_CT_CONST_* bit set)
|
||||
*/
|
||||
CONST('C', TCG_CT_CONST_CMP)
|
||||
CONST('I', TCG_CT_CONST_S16)
|
||||
CONST('M', TCG_CT_CONST_MONE)
|
||||
CONST('T', TCG_CT_CONST_S32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue