diff options
Diffstat (limited to 'soft-fp/op-2.h')
-rw-r--r-- | soft-fp/op-2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/soft-fp/op-2.h b/soft-fp/op-2.h index ad3fbc538a..45bae634ba 100644 --- a/soft-fp/op-2.h +++ b/soft-fp/op-2.h @@ -79,7 +79,8 @@ else \ { \ X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) | \ - (((X##_f1 << (sz - (N))) | X##_f0) != 0)); \ + (((X##_f1 << (2*_FP_W_TYPE_SIZE - (N))) | \ + X##_f0) != 0)); \ X##_f1 = 0; \ } \ } while (0) |