Message ID | 1319116568-2663-2-git-send-email-peter.maydell@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/target-arm/helper.c b/target-arm/helper.c index e2428eb..17ef98b 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -3039,8 +3039,7 @@ float32 HELPER(rsqrte_f32)(float32 a, CPUState *env) val64 = float64_val(f64); - val = ((val64 >> 63) & 0x80000000) - | ((result_exp & 0xff) << 23) + val = ((result_exp & 0xff) << 23) | ((val64 >> 29) & 0x7fffff); return make_float32(val); }