* sreal.h (sreal::shift): Fix sanity check.

From-SVN: r219075
This commit is contained in:
Jan Hubicka 2014-12-27 15:18:05 +00:00 committed by Jan Hubicka
parent db67dfdad2
commit 75e6bcac2f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2014-12-27 Jan hubicka <hubicka@ucw.cz>
* sreal.h (sreal::shift): Fix sanity check.
2014-12-27 Uros Bizjak <ubizjak@gmail.com>
* config/i386/mmx.md (*vec_extractv2sf_1): Do not emit unpckhps.

View File

@ -87,8 +87,8 @@ public:
/* Zero needs no shifting. */
if (!m_sig)
return *this;
gcc_checking_assert (s <= SREAL_BITS);
gcc_checking_assert (s >= -SREAL_BITS);
gcc_checking_assert (s <= SREAL_MAX_EXP);
gcc_checking_assert (s >= -SREAL_MAX_EXP);
/* Overflows/drop to 0 could be handled gracefully, but hopefully we do not
need to do so. */