qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 11/11] sparc: use new qemu_ld and qemu_st functions
@ 2011-05-14 19:42 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2011-05-14 19:42 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 898 bytes --]

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.6.2.4

[-- Attachment #2: 0011-sparc-use-new-qemu_ld-and-qemu_st-functions.patch --]
[-- Type: text/x-diff, Size: 1391 bytes --]

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-14 19:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-14 19:42 [Qemu-devel] [PATCH 11/11] sparc: use new qemu_ld and qemu_st functions Blue Swirl

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).