mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-31 01:43:03 +08:00
3d6f7bcf90
These were intended to be enabled previously, but GYP uses “ia32” and “x64” for x86 and x86_64, and zlib.gyp erroneously used “x86” and “amd64” instead. In order to make this work, gcc and clang need -mpclmul to enable the pclmul extension used by crc_folding.c. The optimized code will only be used if, at runtime, SSE2, SSE4.2, and PCLMULQDQ support is detected. Change-Id: Ic709cd2a6c38892083c44c4004573a64b3581eb5 Reviewed-on: https://chromium-review.googlesource.com/553337 Reviewed-by: Robert Sesek <rsesek@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>