[mythtv-commits] Ticket #6535: Soundtouch crashes in sse_gcc.cpp due to unaligned variable
MythTV
mythtv at cvs.mythtv.org
Mon May 11 01:25:21 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: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
----------------------------------------+-----------------------------------
Changes (by danielk):
* status: new => infoneeded_new
Comment:
Jeff, a global is no good. Please create a larger variable on the stack
yourself and align a pointer into it and call it out. Something like "int
x[16+4]; int *out=((&x+15)&~0xf);" but of course tested. Also a comment
should reference the gcc bug report # for the fix, or at least the version
it was fixed in.
PS I believe all versions of gcc actually do successfully give you 8 byte
alignment; you could use that to make x smaller...
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6535#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list