diff options
| author | Richard Henderson | 2013-07-31 19:18:49 +0200 |
|---|---|---|
| committer | Richard Henderson | 2013-09-25 16:46:32 +0200 |
| commit | 5e1702b0742b7cc88e85dfe76c3ba5d1432312aa (patch) | |
| tree | 752924c62457ed8c720d33836dde43ce5dd3314d /scripts/switch-timer-api | |
| parent | tcg-ppc64: Look through a constant function descriptor (diff) | |
| download | qemu-5e1702b0742b7cc88e85dfe76c3ba5d1432312aa.tar.gz qemu-5e1702b0742b7cc88e85dfe76c3ba5d1432312aa.tar.xz qemu-5e1702b0742b7cc88e85dfe76c3ba5d1432312aa.zip | |
tcg-ppc64: Tidy register allocation order
Remove conditionalization from tcg_target_reg_alloc_order, relying on
reserved_regs to prevent register allocation that shouldn't happen.
So R11 is now present in reg_alloc_order for __APPLE__, but also now
reserved.
Sort reg_alloc_order into call-saved, call-clobbered, and parameters.
This reduces the effect of values getting spilled and reloaded before
function calls.
Whether or not it is reserved, R2 (TOC) is always call-clobbered.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
