qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] some compile fixes for powerpc hosts


From: Magnus Damm
Subject: [Qemu-devel] [PATCH] some compile fixes for powerpc hosts
Date: Sat, 8 Jan 2005 17:24:32 +0100 (CET)

Hello,

Here are two pretty basic compile fixes. With them it is almost
possible to build i386-softmmu on a ppc host running Linux.

/ magnus

Index: target-i386/exec.h
===================================================================
RCS file: /cvsroot/qemu/qemu/target-i386/exec.h,v
retrieving revision 1.19
diff -u -r1.19 exec.h
--- target-i386/exec.h  6 Jan 2005 20:46:58 -0000       1.19
+++ target-i386/exec.h  8 Jan 2005 16:14:54 -0000
@@ -459,7 +459,7 @@
     return temp.d;
 }
 
-static inline void helper_fstt(CPU86_LDouble f, uint8_t *ptr)
+static inline void helper_fstt(CPU86_LDouble f, target_ulong ptr)
 {
     CPU86_LDoubleU temp;
     int e;
Index: target-i386/op.c
===================================================================
RCS file: /cvsroot/qemu/qemu/target-i386/op.c,v
retrieving revision 1.26
diff -u -r1.26 op.c
--- target-i386/op.c    6 Jan 2005 20:46:58 -0000       1.26
+++ target-i386/op.c    8 Jan 2005 16:14:55 -0000
@@ -752,10 +752,12 @@
     T0 = (int16_t)T0;
 }
 
+#ifdef TARGET_X86_64
 void OPPROTO op_movslq_T0_T0(void)
 {
     T0 = (int32_t)T0;
 }
+#endif
 
 void OPPROTO op_movzwl_T0_T0(void)
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]