]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
alpha: fix compile
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 20 Dec 2009 10:27:44 +0000 (10:27 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 20 Dec 2009 10:27:44 +0000 (10:27 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-alpha/op_helper.c

index fe222dccd9570ba51a42c98b57a6432e23c162f6..7a3bf9c0f4cfaff461ba8be1146e2d23af3dd240 100644 (file)
@@ -46,10 +46,10 @@ uint64_t helper_load_fpcr (void)
 {
     uint64_t ret = 0;
 #ifdef CONFIG_SOFTFLOAT
-    ret |= env->fp_status.float_exception_flags << 52;
+    ret |= (uint64_t)env->fp_status.float_exception_flags << 52;
     if (env->fp_status.float_exception_flags)
         ret |= 1ULL << 63;
-    env->ipr[IPR_EXC_SUM] &= ~0x3E:
+    env->ipr[IPR_EXC_SUM] &= ~0x3E;
     env->ipr[IPR_EXC_SUM] |= env->fp_status.float_exception_flags << 1;
 #endif
     switch (env->fp_status.float_rounding_mode) {