fix thinko

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27935 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-04-21 21:05:22 +00:00
parent 3e663a6c16
commit 6e68a7752b

View File

@ -1068,8 +1068,8 @@ xorps %xmm0, %xmm0
movss %xmm1, %xmm0
ret
Because mulss multiplies 0*0 = 0.0, the top elements of xmm1 are already zerod.
We could compile this to:
Because mulss doesn't modify the top 3 elements, the top elements of
xmm1 are already zero'd. We could compile this to:
movss 4(%esp), %xmm0
mulss %xmm0, %xmm0