Reviewers: Sven Panne,
Description:
[ia32] Match -0 - x with sign bit flip.
We can use xorps/xorpd on Intel CPUs to flip the sign bit. Ideally we'd
use an absolute 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.
As drive-by-fix, don't hardcode xmm0 as scratch double register.
[email protected]
Please review this at https://codereview.chromium.org/1064833002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+92, -27 lines):
M src/compiler/ia32/code-generator-ia32.cc
M src/compiler/ia32/instruction-codes-ia32.h
M src/compiler/ia32/instruction-selector-ia32.cc
M test/unittests/compiler/ia32/instruction-selector-ia32-unittest.cc
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.