]> git.proxmox.com Git - qemu.git/commit
tcg-ia64: Move AREG0 to R32
authorRichard Henderson <rth@twiddle.net>
Thu, 5 Sep 2013 18:45:54 +0000 (14:45 -0400)
committerRichard Henderson <rth@twiddle.net>
Mon, 18 Nov 2013 05:57:08 +0000 (15:57 +1000)
commitd15de15ca01fa990544b015fb972f2d04ab4d2d0
treeabaa5d16999f184dae6fa7c53f72e53a7c7c670b
parent6d264b38fcc267b68df2890b22d27bc404878c8c
tcg-ia64: Move AREG0 to R32

Since the move away from the global areg0, we're no longer globally
reserving areg0.  Which means our use of R7 clobbers a call-saved
register.  Shift areg0 into the windowed registers.  Indeed, choose
the incoming parameter register that it comes to us by.

This requires moving the register holding the return address elsewhere.
Choose R33 for tidiness.

Acked-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/ia64/tcg-target.c
tcg/ia64/tcg-target.h