Changes in directory llvm/lib/Target/X86:
README.txt updated: 1.86 -> 1.87 --- Log message: Update --- Diffs of the changes: (+12 -0) README.txt | 12 ++++++++++++ 1 files changed, 12 insertions(+) Index: llvm/lib/Target/X86/README.txt diff -u llvm/lib/Target/X86/README.txt:1.86 llvm/lib/Target/X86/README.txt:1.87 --- llvm/lib/Target/X86/README.txt:1.86 Wed Apr 12 16:21:57 2006 +++ llvm/lib/Target/X86/README.txt Thu Apr 13 00:09:45 2006 @@ -191,6 +191,18 @@ should be made smart enough to cannonicalize the load into the RHS of a compare when it can invert the result of the compare for free. +How about intrinsics? An example is: + *res = _mm_mulhi_epu16(*A, _mm_mul_epu32(*B, *C)); + +compiles to + pmuludq (%eax), %xmm0 + movl 8(%esp), %eax + movdqa (%eax), %xmm1 + pmulhuw %xmm0, %xmm1 + +The transformation probably requires a X86 specific pass or a DAG combiner +target specific hook. + //===---------------------------------------------------------------------===// LSR should be turned on for the X86 backend and tuned to take advantage of its _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits