Ticket #6535: sse_gcc.patch

File sse_gcc.patch, 861 bytes (added by Jeff Lu <jll544@…>, 15 years ago)
  • sse_gcc.cpp

     
    99
    1010static uint64_t ones = 0x0001ffff0001ffffULL;
    1111static uint64_t sadd = 0x000001ff000001ffULL;
     12static int out[4] __attribute__((aligned(16)));
    1213
    1314long TDStretchSSE2::calcCrossCorrMulti(const short *mPos, const short *cPos) const
    1415{
    1516    long corr = 0;
    16     int i, out[4];
     17    int i;
    1718    int count = (overlapLength * channels) - channels;
    1819    long loops = count >> 5;
    1920    long remainder = count - (loops<<5);
     
    6768long TDStretchSSE2::calcCrossCorrStereo(const short *mPos, const short *cPos) const
    6869{
    6970    long corr = 0;
    70     int i, out[4];
     71    int i;
    7172    int count = (overlapLength<<1) - 2;
    7273    long loops = count >> 5;
    7374    long remainder = count - (loops<<5);