[mythtv-commits] Ticket #6535: Soundtouch crashes in sse_gcc.cpp due to unaligned variable
MythTV
mythtv at cvs.mythtv.org
Sun May 10 21:04:34 UTC 2009
#6535: Soundtouch crashes in sse_gcc.cpp due to unaligned variable
----------------------------------------+-----------------------------------
Reporter: Jeff Lu <jll544 at yahoo.com> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
----------------------------------------+-----------------------------------
calcCrossCorrMulti and calcCrossCorrStereo use movdqa, which requires
16-byte alignment, but variable "out" is declared as dynamic unaligned.
This patch redefines "out" as global static aligned(16). Global because
gcc versions <4.4 reportedly fail to align dynamic variables properly.
Tested on x86_32 with gcc 4.2.4
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6535>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list