OSDN Git Service

"The original bug was a complaint that _mm_srli_si128 mis-compiled when passed
authorBill Wendling <isanbard@gmail.com>
Thu, 2 Oct 2008 05:56:52 +0000 (05:56 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 2 Oct 2008 05:56:52 +0000 (05:56 +0000)
commit5e249b4a14a1553039de338e5e50a1656605a7ea
tree9d53a584f020af60d3089873d7508158c3596b74
parentbb146720973e23a21015a86176bfb1cbf552fb10
"The original bug was a complaint that _mm_srli_si128 mis-compiled when passed
a constant vector ("{0x123, 0x456}" syntax).  The fix is to simplify the
_mm_srli_si128 macro, and  move the "* 8" from the macro into the compiler
back-end.  I can't change the existing __builtins because so many people are
using them :-(."
Patch by Stuart Hastings!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56944 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IntrinsicsX86.td
lib/Target/X86/X86InstrSSE.td