add builtin_ia32_vcomisd and builtin_ia32_vcomisd.
both have comparison modifier to handle.
isX86CondUnordered - check if the modifier is for ordered (comi) or unordered (ucomi).
TranslateX86ConstCondToX86CC - translate from intel const to X86 condcode.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
refactor and combine the two functions into one that returns tuple<isOrdered, x86::codeCond>
../commit/llvm_clean/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
16434 ↗ | (On Diff #39649) | X86CC - unsigned |
16447 ↗ | (On Diff #39649) | Please add comments here. |
16450 ↗ | (On Diff #39649) | Align the line |
../commit/llvm_clean/lib/Target/X86/X86IntrinsicsInfo.h | ||
1811 ↗ | (On Diff #39649) | It may fail on platforms, where these constants are defined. |
../commit/llvm_clean/lib/Target/X86/X86IntrinsicsInfo.h | ||
---|---|---|
1811 ↗ | (On Diff #39649) | I've tested it on Ubuntu OS and Win |
../commit/llvm_clean/lib/Target/X86/X86IntrinsicsInfo.h | ||
---|---|---|
1811 ↗ | (On Diff #39649) | sorry, It is raise warning on Win. |
(imm & 0x8) >> 3