⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 106871 in webkit


Ignore:
Timestamp:
Feb 6, 2012, 4:30:52 PM (15 years ago)
Author:
crogers@google.com
Message:

Merge 106864 - zvmul incorrectly multiplies complex arrays on Windows.
https://bugs.webkit.org/show_bug.cgi?id=77900

TBR=crogers@google.com
Review URL: https://chromiumcodereview.appspot.com/9350003

Location:
branches/chromium/1025
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/chromium/1025/LayoutTests/platform/chromium/test_expectations.txt

    r106841 r106871  
    37993799BUGWK75932 : fast/js/mozilla/strict/15.4.4.6.html = TEXT
    38003800
    3801 BUGWK75933 WIN : webaudio/convolution-mono-mono.html = TEXT
    3802 
    38033801BUGWK76280 : media/W3C/video/networkState/networkState_during_progress.html = PASS TEXT
    38043802BUGV81900 SLOW LINUX DEBUG : inspector/debugger/watch-expressions-panel-switch.html = PASS CRASH
  • branches/chromium/1025/Source/WebCore/platform/audio/VectorMath.cpp

    r105079 r106871  
    419419#endif
    420420    for (; i < framesToProcess; ++i) {
    421         realDestP[i] = real1P[i] * real2P[i] - imag1P[i] * imag2P[i];
    422         imagDestP[i] = real1P[i] * imag2P[i] + imag1P[i] * real2P[i];
     421        // Read and compute result before storing them, in case the
     422        // destination is the same as one of the sources.
     423        float realResult = real1P[i] * real2P[i] - imag1P[i] * imag2P[i];
     424        float imagResult = real1P[i] * imag2P[i] + imag1P[i] * real2P[i];
     425
     426        realDestP[i] = realResult;
     427        imagDestP[i] = imagResult;
    423428    }
    424429}
Note: See TracChangeset for help on using the changeset viewer.