[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/3] target-sparc: Fix compilation with --enable-deb
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 1/3] target-sparc: Fix compilation with --enable-debug. |
Date: |
Mon, 10 May 2010 15:23:31 -0700 |
Return a target_ulong from compute_C_icc to match the width of the users.
Signed-off-by: Richard Henderson <address@hidden>
---
target-sparc/helper.h | 2 +-
target-sparc/op_helper.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/target-sparc/helper.h b/target-sparc/helper.h
index 6f103e7..04c1306 100644
--- a/target-sparc/helper.h
+++ b/target-sparc/helper.h
@@ -158,6 +158,6 @@ VIS_CMPHELPER(cmpne);
#undef VIS_HELPER
#undef VIS_CMPHELPER
DEF_HELPER_0(compute_psr, void);
-DEF_HELPER_0(compute_C_icc, i32);
+DEF_HELPER_0(compute_C_icc, tl);
#include "def-helper.h"
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index fcfd3f3..09449c5 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -1282,7 +1282,7 @@ void helper_compute_psr(void)
CC_OP = CC_OP_FLAGS;
}
-uint32_t helper_compute_C_icc(void)
+target_ulong helper_compute_C_icc(void)
{
uint32_t ret;
--
1.7.0.1
[Qemu-devel] [PATCH 1/3] target-sparc: Fix compilation with --enable-debug.,
Richard Henderson <=
[Qemu-devel] [PATCH 3/3] target-sparc: Inline some generation of carry for ADDX/SUBX., Richard Henderson, 2010/05/10
[Qemu-devel] [PATCH 0/3] Fix ADDX compilation plus improvements, v2, Richard Henderson, 2010/05/12