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

Issue 345443003: v8 atomicops: Drop SSE2 detection if __SSE2__ is defined. (Closed)

Created:
6 years, 6 months ago by Nico
Modified:
6 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

v8 atomicops: Drop SSE2 detection if __SSE2__ is defined. Chromium always builds with -msse2 these days. Apparently v8's x87 backend doesn't have SSE2, so make this dependend on a preprocessor define. This is similar to Chromium's https://codereview.chromium.org/291993003/ BUG=chromium:348761, chromium:94925 LOG=N

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M src/base/atomicops_internals_tsan.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/base/atomicops_internals_x86_gcc.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M src/base/atomicops_internals_x86_gcc.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Nico
6 years, 6 months ago (2014-06-17 19:27:02 UTC) #1
Nico
I changed this to work with the x87 backend.
6 years, 6 months ago (2014-06-17 19:54:10 UTC) #2
jochen (gone - plz use gerrit)
lgtm
6 years, 6 months ago (2014-06-17 23:34:32 UTC) #3
jochen (gone - plz use gerrit)
+jkummerow fyi
6 years, 6 months ago (2014-06-23 08:18:23 UTC) #4
Jakob Kummerow
lgtm
6 years, 6 months ago (2014-06-23 08:25:50 UTC) #5
Jakob Kummerow
6 years, 6 months ago (2014-06-23 08:28:59 UTC) #6
Wait a second. In the _tsan header, that struct isn't used at all, so it can
just be dropped entirely (see [1]). In the _x86_gcc header, the #ifdef is fine,
but we'll have to manually revert the corresponding half of [1] first.

[1] https://codereview.chromium.org/342323002

Powered by Google App Engine
This is Rietveld 408576698