diff options
-rw-r--r-- | arch/powerpc/math-emu/op-2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/math-emu/op-2.h b/arch/powerpc/math-emu/op-2.h index b9b06b4c6ea1..7d6f17cc2929 100644 --- a/arch/powerpc/math-emu/op-2.h +++ b/arch/powerpc/math-emu/op-2.h | |||
@@ -59,7 +59,8 @@ | |||
59 | else \ | 59 | else \ |
60 | { \ | 60 | { \ |
61 | X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) | \ | 61 | X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) | \ |
62 | (((X##_f1 << (sz - (N))) | X##_f0) != 0)); \ | 62 | (((X##_f1 << (2 * _FP_W_TYPE_SIZE - (N))) | \ |
63 | X##_f0) != 0)); \ | ||
63 | X##_f1 = 0; \ | 64 | X##_f1 = 0; \ |
64 | } \ | 65 | } \ |
65 | } while (0) | 66 | } while (0) |