[llvm-commits] [dragonegg] r103592 - /dragonegg/trunk/x86/llvm-target.cpp
Duncan Sands
baldrick at free.fr
Wed May 12 06:06:12 PDT 2010
Author: baldrick
Date: Wed May 12 08:06:12 2010
New Revision: 103592
URL: http://llvm.org/viewvc/llvm-project?rev=103592&view=rev
Log:
Port commit 99592 (echristo) from llvm-gcc:
Lower IX86_BUILTIN_PMULLD128 in the x86 backend to the simple multiplication
it is.
Modified:
dragonegg/trunk/x86/llvm-target.cpp
Modified: dragonegg/trunk/x86/llvm-target.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/x86/llvm-target.cpp?rev=103592&r1=103591&r2=103592&view=diff
==============================================================================
--- dragonegg/trunk/x86/llvm-target.cpp (original)
+++ dragonegg/trunk/x86/llvm-target.cpp Wed May 12 08:06:12 2010
@@ -467,7 +467,7 @@
//{"__builtin_ia32_pmulhuw128", &&IX86_BUILTIN_PMULHUW128},
//{"__builtin_ia32_pmulhw", &&IX86_BUILTIN_PMULHW},
//{"__builtin_ia32_pmulhw128", &&IX86_BUILTIN_PMULHW128},
- //{"__builtin_ia32_pmulld128", &&IX86_BUILTIN_PMULLD128},
+ {"__builtin_ia32_pmulld128", &&IX86_BUILTIN_PMULLD128},
{"__builtin_ia32_pmullw", &&IX86_BUILTIN_PMULLW},
{"__builtin_ia32_pmullw128", &&IX86_BUILTIN_PMULLW128},
//{"__builtin_ia32_pmuludq", &&IX86_BUILTIN_PMULUDQ},
@@ -793,6 +793,7 @@
return true;
IX86_BUILTIN_PMULLW:
IX86_BUILTIN_PMULLW128:
+ IX86_BUILTIN_PMULLD128:
Result = Builder.CreateMul(Ops[0], Ops[1]);
return true;
IX86_BUILTIN_DIVPS:
More information about the llvm-commits
mailing list