Skip to content
Snippets Groups Projects
Commit bcb81061 authored by Richard Henderson's avatar Richard Henderson
Browse files

tcg/tci: Move call-return regs to end of tcg_target_reg_alloc_order


As the only call-clobbered regs for TCI, these should
receive the least priority.

Tested-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent b6139eb0
No related branches found
No related tags found
No related merge requests found
......@@ -170,8 +170,6 @@ static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op)
}
static const int tcg_target_reg_alloc_order[] = {
TCG_REG_R0,
TCG_REG_R1,
TCG_REG_R2,
TCG_REG_R3,
TCG_REG_R4,
......@@ -186,6 +184,8 @@ static const int tcg_target_reg_alloc_order[] = {
TCG_REG_R13,
TCG_REG_R14,
TCG_REG_R15,
TCG_REG_R1,
TCG_REG_R0,
};
#if MAX_OPC_PARAM_IARGS != 6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment