summaryrefslogtreecommitdiffstats
path: root/include/exec/spinlock.h
diff options
context:
space:
mode:
authorRichard Henderson2013-07-31 20:36:42 +0200
committerRichard Henderson2013-09-25 16:46:32 +0200
commitb18d5d2b80ba0fd33edabae72fd7e7ad6f20316a (patch)
tree8feb22484a3213d44efb71af1d19e9526a9254f2 /include/exec/spinlock.h
parenttcg-ppc64: Tidy register allocation order (diff)
downloadqemu-b18d5d2b80ba0fd33edabae72fd7e7ad6f20316a.tar.gz
qemu-b18d5d2b80ba0fd33edabae72fd7e7ad6f20316a.tar.xz
qemu-b18d5d2b80ba0fd33edabae72fd7e7ad6f20316a.zip
tcg-ppc64: Handle long offsets better
Previously we'd only handle 16-bit offsets from memory operand without falling back to indexed, but it's easy to use ADDIS to handle full 32-bit offsets. This also lets us unify code that existed inline in tcg_out_op for handling addition of large constants. The new R2 temporary was marked reserved for the AIX calling convention, but the register really is call-clobbered and since tcg generated code has no use for a TOC, it's available for use. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/exec/spinlock.h')
0 files changed, 0 insertions, 0 deletions