[FFmpeg-devel] Anybody has a Core 2? [PATCH] Small SSSE3 optimization
Mike Melanson
mike
Tue May 8 17:52:12 CEST 2007
Zuxy Meng wrote:
> Hi,
>
> Attached patch makes use of SSSE3 instruction pabsw to calculate the
> absolute value of packed words. Just for fun. And I don't have a SSSE3
> capable CPU so hopefully someone with a Core 2 can help test it to
> ensure it doesn't break anything (better with benchmarks of course:-)
> ).
I have a Core 2 machine. However, what toolchain do I need in order to
support this instruction set? The assembler does not recognize pabsw. E.g:
/tmp/ccNd2neI.s: Assembler messages:
/tmp/ccNd2neI.s:6323: Error: no such instruction: `pabsw %mm0,%mm0'
/tmp/ccNd2neI.s:6324: Error: no such instruction: `pabsw %mm1,%mm1'
$ cat /proc/cpuinfo
[...]
model name : Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
[...]
$ gcc --version
gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3)
[...]
$ as --version
GNU assembler 2.16.1
[...]
--
-Mike Melanson
More information about the ffmpeg-devel
mailing list