qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] target-mips: Fix compilation
@ 2010-06-09 20:09 Stefan Weil
  2010-06-09 21:47 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2010-06-09 20:09 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Aurelien Jarno, Nathan Froyd

TCGv t1 needs tcg_temp_free instead of tcg_temp_free_i32.

Cc: Nathan Froyd <froydnj@codesourcery.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 target-mips/translate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/target-mips/translate.c b/target-mips/translate.c
index 3473281..940f57c 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -9478,7 +9478,7 @@ static void gen_ldst_multiple (DisasContext *ctx, uint32_t opc, int reglist,
     }
     MIPS_DEBUG("%s, %x, %d(%s)", opn, reglist, offset, regnames[base]);
     tcg_temp_free(t0);
-    tcg_temp_free_i32(t1);
+    tcg_temp_free(t1);
     tcg_temp_free_i32(t2);
 }
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] target-mips: Fix compilation
  2010-06-09 20:09 [Qemu-devel] [PATCH] target-mips: Fix compilation Stefan Weil
@ 2010-06-09 21:47 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2010-06-09 21:47 UTC (permalink / raw)
  To: Stefan Weil; +Cc: QEMU Developers, Nathan Froyd

On Wed, Jun 09, 2010 at 10:09:40PM +0200, Stefan Weil wrote:
> TCGv t1 needs tcg_temp_free instead of tcg_temp_free_i32.
> 
> Cc: Nathan Froyd <froydnj@codesourcery.com>
> Cc: Aurelien Jarno <aurelien@aurel32.net>
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
> ---
>  target-mips/translate.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Thanks for spotting this, I have just applied the patch.

> diff --git a/target-mips/translate.c b/target-mips/translate.c
> index 3473281..940f57c 100644
> --- a/target-mips/translate.c
> +++ b/target-mips/translate.c
> @@ -9478,7 +9478,7 @@ static void gen_ldst_multiple (DisasContext *ctx, uint32_t opc, int reglist,
>      }
>      MIPS_DEBUG("%s, %x, %d(%s)", opn, reglist, offset, regnames[base]);
>      tcg_temp_free(t0);
> -    tcg_temp_free_i32(t1);
> +    tcg_temp_free(t1);
>      tcg_temp_free_i32(t2);
>  }
>  
> -- 
> 1.7.1
> 
> 
> 

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-09 21:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-09 20:09 [Qemu-devel] [PATCH] target-mips: Fix compilation Stefan Weil
2010-06-09 21:47 ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).