Description[x64] Match -0 - x with sign bit flip.
We can use xorps/xorpd on Intel CPUs to flip the sign bit. Ideally we'd
use a RIP-relative 128-bit constant in the code object, as OCaml/GCC
does, however that requires 128-bit alignment for code objects, which is
not yet implemented. So for now we materialize the mask inline.
R=dcarney@chromium.org
Committed: https://crrev.com/a1b2c275b7c821d7569d247463f74968695903b4
Cr-Commit-Position: refs/heads/master@{#27611}
Patch Set 1 #Patch Set 2 : Unittest #
Messages
Total messages: 8 (2 generated)
|