Patchwork tcg/arm: Replace qemu_ld32u (left over from previous commit)

login
register
mail settings
Submitter Stefan Weil
Date March 28, 2010, 9:44 a.m.
Message ID <1269769469-7386-1-git-send-email-weil@mail.berlios.de>
Download mbox | patch
Permalink /patch/48775/
State New
Headers show

Comments

Stefan Weil - March 28, 2010, 9:44 a.m.
Commit 86feb1c860dc38e9c89e787c5210e8191800385e
did not change all occurrences of INDEX_op_qemu_ld32u
for tcg/arm.

Please note that I could not test this patch
(I have currently no arm system available).

Cc: Richard Henderson <rth@twiddle.net>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 tcg/arm/tcg-target.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Aurelien Jarno - March 28, 2010, 2:58 p.m.
On Sun, Mar 28, 2010 at 11:44:29AM +0200, Stefan Weil wrote:
> Commit 86feb1c860dc38e9c89e787c5210e8191800385e
> did not change all occurrences of INDEX_op_qemu_ld32u
> for tcg/arm.
> 
> Please note that I could not test this patch
> (I have currently no arm system available).
> 
> Cc: Richard Henderson <rth@twiddle.net>
> Cc: Aurelien Jarno <aurelien@aurel32.net>
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>

Good catch, applied.

> ---
>  tcg/arm/tcg-target.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c
> index abd2187..f0f669d 100644
> --- a/tcg/arm/tcg-target.c
> +++ b/tcg/arm/tcg-target.c
> @@ -1585,7 +1585,7 @@ static const TCGTargetOpDef arm_op_defs[] = {
>      { INDEX_op_qemu_ld8s, { "r", "x" } },
>      { INDEX_op_qemu_ld16u, { "r", "x" } },
>      { INDEX_op_qemu_ld16s, { "r", "x" } },
> -    { INDEX_op_qemu_ld32u, { "r", "x" } },
> +    { INDEX_op_qemu_ld32, { "r", "x" } },
>      { INDEX_op_qemu_ld64, { "d", "r", "x" } },
>  
>      { INDEX_op_qemu_st8, { "x", "x" } },
> -- 
> 1.7.0
> 
>

Patch

diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c
index abd2187..f0f669d 100644
--- a/tcg/arm/tcg-target.c
+++ b/tcg/arm/tcg-target.c
@@ -1585,7 +1585,7 @@  static const TCGTargetOpDef arm_op_defs[] = {
     { INDEX_op_qemu_ld8s, { "r", "x" } },
     { INDEX_op_qemu_ld16u, { "r", "x" } },
     { INDEX_op_qemu_ld16s, { "r", "x" } },
-    { INDEX_op_qemu_ld32u, { "r", "x" } },
+    { INDEX_op_qemu_ld32, { "r", "x" } },
     { INDEX_op_qemu_ld64, { "d", "r", "x" } },
 
     { INDEX_op_qemu_st8, { "x", "x" } },