Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/chromium/files: chromium-drop_sse2-r1.patch
Date: Mon, 19 Apr 2010 09:09:49
Message-Id: 20100419090945.6C0D42C04B@corvid.gentoo.org
1 voyageur 10/04/19 09:09:45
2
3 Added: chromium-drop_sse2-r1.patch
4 Log:
5 Update drop_sse2 patch, bug #315247
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 www-client/chromium/files/chromium-drop_sse2-r1.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/files/chromium-drop_sse2-r1.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/files/chromium-drop_sse2-r1.patch?rev=1.1&content-type=text/plain
13
14 Index: chromium-drop_sse2-r1.patch
15 ===================================================================
16 --- build/common.gypi.orig 2010-04-19 10:21:47.000000000 +0200
17 +++ build/common.gypi 2010-04-19 10:23:40.000000000 +0200
18 @@ -890,13 +890,14 @@
19 # compiler optimized the code, since the value is always kept
20 # in its specified precision.
21 'conditions': [
22 - ['branding=="Chromium"', {
23 - 'cflags': [
24 - '-march=pentium4',
25 - '-msse2',
26 - '-mfpmath=sse',
27 - ],
28 - }],
29 + # Disabled: see http://code.google.com/p/chromium/issues/detail?id=9007
30 + # ['branding=="Chromium"', {
31 + # 'cflags': [
32 + # '-march=pentium4',
33 + # '-msse2',
34 + # '-mfpmath=sse',
35 + # ],
36 + # }],
37 # ChromeOS targets Pinetrail, which is ssse3, but most of the
38 # benefit comes from sse2 so this setting allows ChromeOS
39 # to build on other CPUs. In the future -march=atom would help
40 @@ -909,13 +910,13 @@
41 ],
42 # -mmmx allows mmintrin.h to be used for mmx intrinsics.
43 # video playback is mmx and sse2 optimized.
44 - 'cflags': [
45 - '-m32',
46 - '-mmmx',
47 - ],
48 - 'ldflags': [
49 - '-m32',
50 - ],
51 + #'cflags': [
52 + # '-m32',
53 + # '-mmmx',
54 + #],
55 + #'ldflags': [
56 + # '-m32',
57 + #],
58 }],
59 ['target_arch=="arm"', {
60 'target_conditions': [