]> xenbits.xensource.com Git - qemu-xen-unstable.git/commitdiff
target-ppc: fix compilation on BigEndian
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 5 Jan 2009 21:40:27 +0000 (21:40 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 5 Jan 2009 21:40:27 +0000 (21:40 +0000)
This fixes BigEndian compilation for target-ppc.

(Michael Buesch)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6193 c046a42c-6fe2-441c-8c8c-71466251a162

target-ppc/op_helper.c

index 80bf8015f2a2e037ea1e56847b3ba013f640c3f2..5e40e42ea166b4d9d92beb8cd37e5e74148be52c 100644 (file)
@@ -2185,7 +2185,7 @@ void helper_vmladduhm (ppc_avr_t *r, ppc_avr_t *a, ppc_avr_t *b, ppc_avr_t *c)
     }
 #if defined(WORDS_BIGENDIAN)
 #define MRGHI 0
-#define MRGL0 1
+#define MRGLO 1
 #else
 #define MRGHI 1
 #define MRGLO 0