llvmpipe: Avoid corrupting the FPU stack with MMX instructions on 32bit OSes.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 22 Jul 2010 17:37:46 +0000 (18:37 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 29 Jul 2010 18:10:59 +0000 (19:10 +0100)
commite3d2ebac115f7b7899664fefc2652fb829acfa27
tree135cfc368ae426c6c6a485cb4a544098d636fedb
parent38f5b1bc38fde041162e90e0ba3955ac661e1abf
llvmpipe: Avoid corrupting the FPU stack with MMX instructions on 32bit OSes.

Unfortunately LLVM doesn't emit EMMS itself, and there is no
easy/effective way to disable MMX.

http://llvm.org/bugs/show_bug.cgi?id=3287
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
src/gallium/drivers/llvmpipe/lp_state_fs.c