Add support for x86 CMPEQSS and friends. These instructions do a
authorStuart Hastings <stuart@apple.com>
Wed, 1 Jun 2011 17:17:45 +0000 (17:17 +0000)
committerStuart Hastings <stuart@apple.com>
Wed, 1 Jun 2011 17:17:45 +0000 (17:17 +0000)
commit10ff0bbdfbeb6f7485979744d16daea4795d45b2
tree1d37d9920b2173c6502b35b95373217fef2ea2aa
parentf1002828fdaffa4e005a81f269c77fe72951f39f
Add support for x86 CMPEQSS and friends.  These instructions do a
floating-point comparison, generate a mask of 0s or 1s, and generally
DTRT with NaNs.  Only profitable when the user wants a materialized 0
or 1 at runtime.  rdar://problem/5993888

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132404 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86InstrFragmentsSIMD.td
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/isint.ll
test/CodeGen/X86/pr9127.ll
test/CodeGen/X86/setoeq.ll