Re: [FFmpeg-devel] [PATCH] Make swscale x86 ASM depend less on registers been preserved across blocks

2014-09-17 Thread Vitor Sessak
On Wed, Sep 17, 2014 at 10:31 PM, Michael Niedermayer wrote: > On Wed, Sep 17, 2014 at 09:21:08PM +0200, Vitor Sessak wrote: >> Hi! >> >> I'm not sure we can count on registers been preserved across ASM >> blocks. Moreover, this causes problems with utils that ins

[FFmpeg-devel] [PATCH] Make swscale x86 ASM depend less on registers been preserved across blocks

2014-09-17 Thread Vitor Sessak
Hi! I'm not sure we can count on registers been preserved across ASM blocks. Moreover, this causes problems with utils that instrument the code by inserting function calls between lines (like ThreadSanitizer). The attached patch fix one instance of this problem in swscale. -Vitor 0001-swscale-