deps: backport 4ed5fde4f from v8 upstream
authorFedor Indutny <fedor@indutny.com>
Fri, 21 Dec 2012 17:52:00 +0000 (17:52 +0000)
committerFedor Indutny <fedor@indutny.com>
Fri, 18 Jul 2014 10:57:18 +0000 (14:57 +0400)
commit3530fa9cd09f8db8101c4649cab03bcdf760c434
treeb83a20980da6ba1fef5c66625f86e4df85cc340c
parent1d3d8c0e5545b1f253dbe4c3525eeb2f1312b689
deps: backport 4ed5fde4f from v8 upstream

Original commit message:

    Fix x64 MathMinMax for negative untagged int32 arguments.

    An untagged int32 has zeros in the upper half even if it is negative.
    Using cmpq to compare such numbers will incorrectly ignore the sign.

    BUG=164442
    R=mvstanton@chromium.org

    Review URL: https://chromiumcodereview.appspot.com/11665007

    git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@13273 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

Signed-off-by: Fedor Indutny <fedor@indutny.com>
deps/v8/src/x64/lithium-codegen-x64.cc
deps/v8/test/mjsunit/regress/regress-164442.js [new file with mode: 0644]