On Sun, Mar 31, 2013 at 03:34:58PM -0700, Richard Henderson wrote:
> R12 is call clobbered, while R8 is call saved.  This change
> gives tcg one more call saved register for real data.
> 
> Signed-off-by: Richard Henderson <r...@twiddle.net>
> ---
>  tcg/arm/tcg-target.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c
> index b62d9f6..6e1a4b5 100644
> --- a/tcg/arm/tcg-target.c
> +++ b/tcg/arm/tcg-target.c
> @@ -113,7 +113,7 @@ static const int tcg_target_call_oarg_regs[2] = {
>      TCG_REG_R0, TCG_REG_R1
>  };
>  
> -#define TCG_REG_TMP  TCG_REG_R8
> +#define TCG_REG_TMP  TCG_REG_R12
>  
>  static inline void reloc_abs32(void *code_ptr, tcg_target_long target)
>  {

Reviewed-by: Aurelien Jarno <aurel...@aurel32.net>


-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurel...@aurel32.net                 http://www.aurel32.net

Reply via email to