[MPlayer-cvslog] r19402 - in trunk/libswscale: rgb2rgb_template.c swscale_template.c

Jason Tackaberry tack at urandom.ca
Tue Aug 15 16:33:53 CEST 2006


On Tue, 2006-08-15 at 16:00 +0200, Diego Biurrun wrote:
> CCing Jason, let's see what he can do...

(I've subscribed to mplayer-cvslog.)

> > swscale_template.c: In function 'hcscale_MMX2':
> > swscale_template.c:2835: error: bp cannot be used in asm here
> > make: *** [swscale.o] Error 1

Yes, I see the problem.  On line 2755 it reads:

   : "%"REG_a, "%"REG_BP, "%"REG_c, "%"REG_d, "%"REG_S, "%"REG_D

REG_BP is listed on the clobber list, which is left over from a previous
attempt, before Michael pointed out that this won't work when
-fomit-frame-pointer isn't specified (and in Evgeniy's case it wasn't).
Just remove REG_BP from the list and it's ok.

Attach is a patch to fix trunk.

Thanks,
Jason.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libswscale-bp-fix.patch
Type: text/x-patch
Size: 391 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20060815/ea0f2d97/attachment.bin>


More information about the MPlayer-cvslog mailing list