[vlc-devel] [PATCH] yadif : Add SSSE3 and SSE2 support. porting from FFmpeg.

Naohiro KORIYAMA nkoriyama at gmail.com
Sat Dec 10 06:55:16 CET 2011

2011/12/10 Rémi Denis-Courmont <remi at remlab.net>:
> Le mardi 6 décembre 2011 16:50:48 Naohiro KORIYAMA, vous avez écrit :
>> GCC never allows the registers of unsupported instructions in the clobber
>> list. GCC with -mmmx (or -march=pentium-mmx or above), "unknown register
>> mm" errors disappear.
>> GCC with -msse (or -march=pentium3 or above), "unknown register xmm"
>> errors disappear.
>> GCC with -mtune doesn't help.
> Yeah sure. This was already discussed a few weeks ago here.

Oops, I missed the discussion.

> That's why we have VLC_MMX and VLC_SSE nowadays.

It's smart, easy, and better solution for the compilation issue.

> That's a brittle hack. Please don't do this.

OK. I reverted that part. and used VLC_MMX and VLC_SSE.
I confirmed the compilation issue is fixed!

Thanks for your advice.

Best regards,

nkoriyama at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-yadif-Add-SSSE3-and-SSE2-support.-porting-from-FFmpe.patch
Type: application/octet-stream
Size: 30720 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111210/7bc39d7d/attachment.obj>

More information about the vlc-devel mailing list