Re: [libav-devel] [PATCH 4/8] x86inc: Preserve arguments when allocating stack space

2016-01-18 Thread Ronald S. Bultje
Hi, On Mon, Jan 18, 2016 at 9:37 AM, Henrik Gramner wrote: > On Mon, Jan 18, 2016 at 2:35 PM, Ronald S. Bultje > wrote: > > On Sun, Jan 17, 2016 at 6:21 PM, Henrik Gramner > wrote: > >> @@ -386,8 +386,10 @@ DECLARE_REG_TMP_SIZE > >>

Re: [libav-devel] [PATCH 4/8] x86inc: Preserve arguments when allocating stack space

2016-01-18 Thread Henrik Gramner
On Mon, Jan 18, 2016 at 2:35 PM, Ronald S. Bultje wrote: > On Sun, Jan 17, 2016 at 6:21 PM, Henrik Gramner wrote: >> @@ -386,8 +386,10 @@ DECLARE_REG_TMP_SIZE >> 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14 >> %if %1 != 0 && required_stack_alignment >

Re: [libav-devel] [PATCH 4/8] x86inc: Preserve arguments when allocating stack space

2016-01-18 Thread Ronald S. Bultje
Hi, On Sun, Jan 17, 2016 at 6:21 PM, Henrik Gramner wrote: > When allocating stack space with a larger alignment than the known stack > alignment a temporary register is used for storing the stack pointer. > Ensure that this isn't one of the registers used for passing

[libav-devel] [PATCH 4/8] x86inc: Preserve arguments when allocating stack space

2016-01-17 Thread Henrik Gramner
When allocating stack space with a larger alignment than the known stack alignment a temporary register is used for storing the stack pointer. Ensure that this isn't one of the registers used for passing arguments. --- libavutil/x86/x86inc.asm | 6 -- 1 file changed, 4 insertions(+), 2