Fix imul overflow detection logic.
Summary:
When checking the results of the upper 64-bit multiply, the
previous solution only tested for all 0's, accidently missing the
all 1's case. This changes addresses that and arranges the branches
to favor fall throughs for the most likely paths.
Fixes:
test/zend/good/tests/lang/operators/multiply_basiclong_64bit.php
Closes https://github.com/facebook/hhvm/pull/7380
Differential Revision:
D3915270
Pulled By: aorenste
fbshipit-source-id:
2ce73f54845e67c4eed8f81319caddad8796a4f5