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

Issue 10947012: Turn off SSE2 when building for ARM or MIPS. (Closed)

Created:
8 years, 3 months ago by petarj
Modified:
8 years, 3 months ago
Reviewers:
Lei Zhang, tony
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Turn off SSE2 when building for ARM or MIPS. Disable SSE2 when building the code for ARM or MIPS. BUG= https://code.google.com/p/chromium/issues/detail?id=130022 TEST=make chrome

Patch Set 1 #

Patch Set 2 : Force disable_sse2 for ARM or MIPS. #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M build/common.gypi View 1 1 chunk +7 lines, -0 lines 5 comments Download
M third_party/qcms/qcms.gyp View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
petarj
Small change to qcms.gyp to set qcms_use_sse to zero for MIPS.
8 years, 3 months ago (2012-09-18 20:22:33 UTC) #1
tony
I think it would be better if in build/common.gypi, we added a condition that forces ...
8 years, 3 months ago (2012-09-18 20:35:42 UTC) #2
Lei Zhang
On 2012/09/18 20:35:42, tony wrote: > I think it would be better if in build/common.gypi, ...
8 years, 3 months ago (2012-09-18 20:37:00 UTC) #3
petarj
On 2012/09/18 20:37:00, Lei Zhang wrote: > On 2012/09/18 20:35:42, tony wrote: > > I ...
8 years, 3 months ago (2012-09-21 17:53:38 UTC) #4
Lei Zhang
lgtm
8 years, 3 months ago (2012-09-21 18:21:16 UTC) #5
tony
LGTM http://codereview.chromium.org/10947012/diff/3001/build/common.gypi File build/common.gypi (right): http://codereview.chromium.org/10947012/diff/3001/build/common.gypi#newcode1179 build/common.gypi:1179: 'disable_sse2%': 0, Nit: I think you can delete ...
8 years, 3 months ago (2012-09-21 19:29:19 UTC) #6
tony
Also, let us know if you want someone to commit this change for you.
8 years, 3 months ago (2012-09-21 19:30:05 UTC) #7
petarj
@tony > Also, let us know if you want someone to commit this change for ...
8 years, 3 months ago (2012-09-21 21:19:42 UTC) #8
tony
https://chromiumcodereview.appspot.com/10947012/diff/3001/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/10947012/diff/3001/build/common.gypi#newcode1179 build/common.gypi:1179: 'disable_sse2%': 0, On 2012/09/21 21:19:42, petarj wrote: > On ...
8 years, 3 months ago (2012-09-21 21:27:55 UTC) #9
petarj
https://chromiumcodereview.appspot.com/10947012/diff/3001/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/10947012/diff/3001/build/common.gypi#newcode1179 build/common.gypi:1179: 'disable_sse2%': 0, On 2012/09/21 21:27:55, tony wrote: > On ...
8 years, 3 months ago (2012-09-21 22:02:21 UTC) #10
tony
https://chromiumcodereview.appspot.com/10947012/diff/3001/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/10947012/diff/3001/build/common.gypi#newcode1179 build/common.gypi:1179: 'disable_sse2%': 0, On 2012/09/21 22:02:21, petarj wrote: > I ...
8 years, 3 months ago (2012-09-21 22:40:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/petarj@mips.com/10947012/3001
8 years, 3 months ago (2012-09-21 22:41:04 UTC) #12
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-21 22:54:27 UTC) #13
tony
On 2012/09/21 22:54:27, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
8 years, 3 months ago (2012-09-21 23:11:13 UTC) #14
petarj
On 2012/09/21 23:11:13, tony wrote: > On 2012/09/21 22:54:27, I haz the power (commit-bot) wrote: ...
8 years, 3 months ago (2012-09-21 23:42:29 UTC) #15
petarj
On 2012/09/21 23:11:13, tony wrote: > On 2012/09/21 22:54:27, I haz the power (commit-bot) wrote: ...
8 years, 3 months ago (2012-09-22 01:55:41 UTC) #16
Lei Zhang
On 2012/09/22 01:55:41, petarj wrote: > On 2012/09/21 23:11:13, tony wrote: > > On 2012/09/21 ...
8 years, 3 months ago (2012-09-22 01:59:09 UTC) #17
petarj
8 years, 3 months ago (2012-09-25 01:40:58 UTC) #18
On 2012/09/22 01:59:09, Lei Zhang wrote:
> On 2012/09/22 01:55:41, petarj wrote:
> > On 2012/09/21 23:11:13, tony wrote:
> > > On 2012/09/21 22:54:27, I haz the power (commit-bot) wrote:
> > > > Sorry for I got bad news for ya.
> > > > Compile failed with a clobber build.
> > > > Your code is likely broken or HEAD is junk. Please ensure your
> > > > code is not broken then alert the build sheriffs.
> > > > Look at the try server FAQ for more details.
> > > 
> > > Hmm, this failed on the android build.  Maybe disable_sse2 isn't getting
set
> > > properly?
> > 
> > Setting disable_sss2 to 1 on line 202 would resolve the Android issue.
> > Would that be fine or that could impact something else?
> 
> The way we use that is to enable it by default, and disable it where needed.
If
> you disable sse2 by default, I think layout tests are going to fail on 32-bit
> Linux due to x87 math.

Tony, Lei, thanks for the help and for the fix at:
https://chromiumcodereview.appspot.com/10972012/

Petar

Powered by Google App Engine
This is Rietveld 408576698