X64: replace explicit zero-extend with runtime assert
authorbmeurer@chromium.org <bmeurer@chromium.org>
Fri, 31 Oct 2014 09:19:55 +0000 (09:19 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Fri, 31 Oct 2014 09:20:13 +0000 (09:20 +0000)
commitdd1cb5281f9b8d8d9acc941a5c283c32ead4a818
tree5385a80847a92d32cca0ec38538f70cc9dac5e01
parent4a679c828899ac37630b1748caface5b816da87c
X64: replace explicit zero-extend with runtime assert

Since the input float64 is in the range of [0, 2^32-1], the upper 32 bits of output register
should be zero.

BUG=
R=bmeurer@chromium.org, titzer@chromium.org

Review URL: https://codereview.chromium.org/644993002

Patch from Weiliang Lin <weiliang.lin@intel.com>.

Cr-Commit-Position: refs/heads/master@{#25027}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25027 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler/x64/code-generator-x64.cc