diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-11-27 07:16:21 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-12-26 06:57:06 +1100 |
commit | b016486e7baddb43cfc1e51909b05cde9cf82e0c (patch) | |
tree | ad3d1ce59e64817f5456dfd2fa60dd5aa74c44a2 /qemu-ga.texi | |
parent | b4fc67c7afd2c338d6e7c73a7f428dfe05ae0603 (diff) |
tcg: Add preferred_reg argument to tcg_reg_alloc
This new argument will aid register allocation by indicating how
the temporary will be used in future. If the preference cannot
be satisfied, fall back to the constraints of the current insn.
Short circuit the preference when it cannot be satisfied or if
it does not further constrain the operation.
With an eye toward optimizing function call sequences, optimize
for the preferred_reg set containing a single register.
For the moment, all users pass 0 for preference.
Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'qemu-ga.texi')
0 files changed, 0 insertions, 0 deletions