commit | 5078d978f21620824d9c2fdcd73063260592398c | [log] [tgz] |
---|---|---|
author | Serguei Katkov <serguei.i.katkov@intel.com> | Fri Jun 20 16:45:52 2014 +0700 |
committer | Serguei Katkov <serguei.i.katkov@intel.com> | Sat Jun 21 01:25:49 2014 +0700 |
tree | 324f322054b7b3620888b42b9ba36fd6cd17415e | |
parent | 2d2d6bb1ff8692efdddf104dabfb4a2d39877ff6 [diff] |
x86_64: Fix fp-to-core conversion Long max value cannot be represented with double precision and check fp against max_long does not guard invocation of conversion instruction. As a result conversion ends up with min long instead of max long. The patch changes the guard check to not allow conversion instruction for max long. Change-Id: Ied761051ec27cf6c833040c25a2c61ab9fcea414 Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>