[x265] ASM crash in r6706

chen chenm003 at 163.com
Fri Apr 18 18:42:38 CEST 2014


At 2014-04-19 00:17:20,"Jason Garrett-Glaser" <jason at x264.com> wrote:
>>>x86inc handles this already when it references values in the stack.
>>>If it didn't, none of x264's asm would function.
>>>
>> yes, for value only
>> it didn't align stack for reserve stack space (4th parameters of cglobal)
>
>If it doesn't, that has nothing to do with registers it's pushed on
>the stack -- that means that x264asm got a misaligned stack passed to
>it in the first place, but wasn't told to assume incoming stacks are
>misaligned.
>
>x264asm tracks its own stack_offset when it performs stack operations,
>including the allocation of scratch space.
>
In this case, they pass a align stack to our code, but cglobal push 3 registers, so broken stack align.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20140419/bb311acd/attachment.html>


More information about the x265-devel mailing list