[mythtv-commits] Ticket #5997: soundtouch SSE ASM exposes GCC bug

MythTV mythtv at cvs.mythtv.org
Wed Dec 10 01:23:16 UTC 2008

#5997: soundtouch SSE ASM exposes GCC bug
 Reporter:  nigel   |       Owner:  ijr    
     Type:  defect  |      Status:  new    
 Priority:  minor   |   Milestone:  unknown
Component:  mythtv  |     Version:  head   
 Severity:  medium  |     Mlocked:  0      
 Mac gcc4.0.1 r19283 build does:
 g++ -c -pipe -march=pentium4 -g -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
 -D__STDC_CONSTANT_MACROS -Wno-long-double -fPIC -DPIC -w -fPIC -DMMX
 -DALLOW_SSE2 -I/Volumes/MythBuild/.osx-packager/build/mkspecs/macx-g++ -I.
 -I/Volumes/MythBuild/.osx-packager/build/include -I/Volumes/MythBuild
 /.osx-packager/build/include -I../../libs/libavcodec -I../.. -I. -o
 sse_gcc.o sse_gcc.cpp
 sse_gcc.cpp: In member function 'virtual void
 soundtouch::TDStretchSSE2::overlapMulti(short int*, const short int*)
 sse_gcc.cpp:164: error: can't find a register in class 'GENERAL_REGS'
 while reloading 'asm'
 We work around the bug in libavcodec by tweaking the compile flags, but
 since this ASM was recently developed for #5890, I'm wondering if we can
 rework it for less registers?

Ticket URL: <http://svn.mythtv.org/trac/ticket/5997>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list