Add implementation of MMX __m64 functions for MSVC x64.
authorGeorge Yohng <georgefd@oss3d.com>
Tue, 21 Jul 2009 07:43:42 +0000 (03:43 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Tue, 21 Jul 2009 07:43:42 +0000 (03:43 -0400)
commit0ff5733c16804d5b10782556eeeade7061924846
tree6d58c48f889d1f29804307395fea0aec60940c0f
parent0b95afd259bb839a026955e7fda15b44fa22a805
Add implementation of MMX __m64 functions for MSVC x64.

Microsoft C++ does not define __m64 and all related MMX functions in
x64.  However, it succeeds in generating object files for SSE2 code
inside pixman.

The real problem happens during linking, when it cannot find MMX functions
(which are not defined as intrinsics for AMD64 platform).

I have implemented those missing functions using general programming.

MMX __m64 is used relatively scarcely within SSE2 implementation, and the
performance impact probably is negligible.

Bug 22390.
pixman/Makefile.am
pixman/pixman-sse2.c
pixman/pixman-x64-mmx-emulation.h [new file with mode: 0644]