Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Issue 187423002: Require SSE2 for all 32-bit Linux builds and remove disable_sse2 option. (Closed)

Created:
6 years, 9 months ago by scherkus (not reviewing)
Modified:
6 years, 9 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Require SSE2 for all 32-bit Linux builds and remove disable_sse2 option. Previously, only 32-bit Google Chrome Linux was being built with x87 floating point math, which led to bugs caused by 80-to-{32,64}-bit rounding errors that weren't caught on the main Chromium builders. UMA data tells us there are ~0 Google Chrome Linux users without SSE2, making a strong case to require SSE2 across the board and align the Google Chrome build closer to the Chromium build. As for disable_sse2 option, it was added in r45777 but it's unclear if anyone is using it outside of some other GYP code that flips it to 1 for ARM and MIPS architectures. Instead replace the few instances that don't support SSE2 with specific checks for the target architecture and remove the option entirely. BUG=348761 R=jamesr@chromium.org TBR=cpu Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256366

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 3

Patch Set 3 : remove -march=pentium4 #

Total comments: 2

Patch Set 4 : sse2 all the things #

Patch Set 5 : fix qcms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -53 lines) Patch
M build/common.gypi View 1 2 4 chunks +14 lines, -36 lines 0 comments Download
M third_party/qcms/qcms.gyp View 1 2 3 4 2 chunks +4 lines, -17 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Paweł Hajdan Jr.
Drive-by. https://codereview.chromium.org/187423002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/187423002/diff/20001/build/common.gypi#newcode3207 build/common.gypi:3207: '-march=pentium4', Do we need to force -march=pentium4 here?
6 years, 9 months ago (2014-03-10 23:49:54 UTC) #1
scherkus (not reviewing)
https://codereview.chromium.org/187423002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/187423002/diff/20001/build/common.gypi#newcode3207 build/common.gypi:3207: '-march=pentium4', On 2014/03/10 23:49:54, Paweł Hajdan Jr. wrote: > ...
6 years, 9 months ago (2014-03-11 00:08:52 UTC) #2
scherkus (not reviewing)
6 years, 9 months ago (2014-03-11 00:14:41 UTC) #3
Paweł Hajdan Jr.
https://codereview.chromium.org/187423002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/187423002/diff/20001/build/common.gypi#newcode3207 build/common.gypi:3207: '-march=pentium4', On 2014/03/11 00:08:52, scherkus wrote: > On 2014/03/10 ...
6 years, 9 months ago (2014-03-11 00:28:15 UTC) #4
scherkus (not reviewing)
jamesr: feel comfortable reviewing this? if not -- know who should?
6 years, 9 months ago (2014-03-11 00:34:59 UTC) #5
jamesr
lgtm https://codereview.chromium.org/187423002/diff/40001/third_party/qcms/qcms.gyp File third_party/qcms/qcms.gyp (right): https://codereview.chromium.org/187423002/diff/40001/third_party/qcms/qcms.gyp#newcode43 third_party/qcms/qcms.gyp:43: # MSVC x64 doesn't support the MMX intrinsics ...
6 years, 9 months ago (2014-03-11 00:45:57 UTC) #6
scherkus (not reviewing)
PTAL -- I tweaked qcms.gyp https://codereview.chromium.org/187423002/diff/40001/third_party/qcms/qcms.gyp File third_party/qcms/qcms.gyp (right): https://codereview.chromium.org/187423002/diff/40001/third_party/qcms/qcms.gyp#newcode43 third_party/qcms/qcms.gyp:43: # MSVC x64 doesn't ...
6 years, 9 months ago (2014-03-11 18:31:01 UTC) #7
jamesr
lgtm
6 years, 9 months ago (2014-03-11 18:43:48 UTC) #8
scherkus (not reviewing)
looks like QCMS requires SSE1 to be compiled in as we're getting linker errors I'll ...
6 years, 9 months ago (2014-03-11 20:05:00 UTC) #9
scherkus (not reviewing)
TBR=cpu for third_party/* OWNERS
6 years, 9 months ago (2014-03-11 20:13:10 UTC) #10
scherkus (not reviewing)
The CQ bit was checked by scherkus@chromium.org
6 years, 9 months ago (2014-03-11 20:13:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/187423002/110001
6 years, 9 months ago (2014-03-11 21:34:01 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-11 23:41:58 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg, mac_chromium_rel
6 years, 9 months ago (2014-03-11 23:41:58 UTC) #14
scherkus (not reviewing)
6 years, 9 months ago (2014-03-12 00:32:14 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 manually as r256366 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698