diff options
author | Serguei Katkov <serguei.i.katkov@intel.com> | 2014-06-20 16:45:52 +0700 |
---|---|---|
committer | Serguei Katkov <serguei.i.katkov@intel.com> | 2014-06-21 01:25:49 +0700 |
commit | 5078d978f21620824d9c2fdcd73063260592398c (patch) | |
tree | 324f322054b7b3620888b42b9ba36fd6cd17415e /compiler/optimizing/graph_visualizer.cc | |
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>
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions