summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_state_fs.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-10-18 06:24:30 -0700
committerJosé Fonseca <jfonseca@vmware.com>2010-10-28 20:42:02 +0100
commit85a08f8fc761d8501fc315d16df6ce0fba9f091e (patch)
tree0bee137b14f3993a2cb3a9b20b2e8ce00a13ec9f /src/gallium/drivers/llvmpipe/lp_state_fs.c
parent8d364221e98cde38b9a9ee21f47787fc60187e4a (diff)
gallivm: Remove the EMMS opcodes.
Unnecessary now that lp_set_target_options() successful disables MMX code emission.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_fs.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_fs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 9fbedac165..e4495e33d0 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -761,11 +761,6 @@ generate_fragment(struct llvmpipe_screen *screen,
}
}
-#ifdef PIPE_ARCH_X86
- /* Avoid corrupting the FPU stack on 32bit OSes. */
- lp_build_intrinsic(builder, "llvm.x86.mmx.emms", LLVMVoidType(), NULL, 0);
-#endif
-
LLVMBuildRetVoid(builder);
LLVMDisposeBuilder(builder);