Patchwork [11/11] sparc: use new qemu_ld and qemu_st functions

login
register
mail settings
Submitter Blue Swirl
Date May 14, 2011, 7:42 p.m.
Message ID <BANLkTimkp=HChEiR3Y9yMbPFHjiTfCi+KQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/95584/
State New
Headers show

Comments

Blue Swirl - May 14, 2011, 7:42 p.m.
Strawman version, WIP.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
 target-sparc/translate.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

From a1b8e2dae4c89a789aa5c88a3c0ffd4e0056d6db Mon Sep 17 00:00:00 2001
Message-Id: <a1b8e2dae4c89a789aa5c88a3c0ffd4e0056d6db.1305401750.git.blauwirbel@gmail.com>
In-Reply-To: <6e21df8e369388a3152dcc7da30431c672e1ee37.1305401750.git.blauwirbel@gmail.com>
References: <6e21df8e369388a3152dcc7da30431c672e1ee37.1305401750.git.blauwirbel@gmail.com>
From: Blue Swirl <blauwirbel@gmail.com>
Date: Sat, 14 May 2011 17:59:01 +0000
Subject: [PATCH 11/11] sparc: use new qemu_ld and qemu_st functions

Strawman version, WIP.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
 target-sparc/translate.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 0cc47e9..52f88a0 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -4305,7 +4305,8 @@  static void disas_sparc_insn(DisasContext * dc)
                     break;
                 case 0x1:       /* ldub, load unsigned byte */
                     gen_address_mask(dc, cpu_addr);
-                    tcg_gen_qemu_ld8u(cpu_val, cpu_addr, dc->mem_idx);
+                    tcg_gen_qemu_ld8u_new(cpu_val, cpu_addr, cpu_env,
+                                          dc->mem_idx);
                     break;
                 case 0x2:       /* lduh, load unsigned halfword */
                     gen_address_mask(dc, cpu_addr);
-- 
1.7.2.5