~chromium-team/chromium-browser/horizon

« back to all changes in this revision

Viewing changes to debian/patches/disable-sse2

  • Committer: Chad MILLER
  • Date: 2017-02-06 16:22:08 UTC
  • Revision ID: chad.miller@canonical.com-20170206162208-v26o2zdwxy2t1hoh
Upstream beta: 57.0.2987.21.

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
 
200
200
--- a/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp
201
201
+++ b/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp
202
 
@@ -31,7 +31,7 @@
203
 
 #include "wtf/MathExtras.h"
 
202
@@ -32,7 +32,7 @@
 
203
 #include "wtf/PtrUtil.h"
204
204
 #include <algorithm>
205
205
 
206
206
-#if CPU(X86) || CPU(X86_64)
208
208
 #include <emmintrin.h>
209
209
 #endif
210
210
 
211
 
@@ -662,7 +662,7 @@ float AudioParamTimeline::valuesForFrame
 
211
@@ -1112,7 +1112,7 @@ float AudioParamTimeline::valuesForFrame
212
212
     // the next event.
213
213
     if (nextEventType == ParamEvent::LinearRampToValue) {
214
214
       const float valueDelta = value2 - value1;
217
217
       if (fillToFrame > writeIndex) {
218
218
         // Minimize in-loop operations. Calculate starting value and increment.
219
219
         // Next step: value += inc.
220
 
@@ -841,7 +841,7 @@ float AudioParamTimeline::valuesForFrame
 
220
@@ -1322,7 +1322,7 @@ float AudioParamTimeline::valuesForFrame
221
221
             for (; writeIndex < fillToFrame; ++writeIndex)
222
222
               values[writeIndex] = target;
223
223
           } else {
226
226
             if (fillToFrame > writeIndex) {
227
227
               // Resolve recursion by expanding constants to achieve a 4-step
228
228
               // loop unrolling.
229
 
@@ -959,7 +959,7 @@ float AudioParamTimeline::valuesForFrame
 
229
@@ -1442,7 +1442,7 @@ float AudioParamTimeline::valuesForFrame
230
230
           // Oversampled curve data can be provided if sharp discontinuities are
231
231
           // desired.
232
232
           unsigned k = 0;