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 | X86CC - unsigned | |
16447 | Please add comments here. | |
16450 | Align the line | |
../commit/llvm_clean/lib/Target/X86/X86IntrinsicsInfo.h | ||
1811 | It may fail on platforms, where these constants are defined. |
../commit/llvm_clean/lib/Target/X86/X86IntrinsicsInfo.h | ||
---|---|---|
1811 | I've tested it on Ubuntu OS and Win |
../commit/llvm_clean/lib/Target/X86/X86IntrinsicsInfo.h | ||
---|---|---|
1811 | sorry, It is raise warning on Win. |
X86CC - unsigned
X86CC - a tuple, please use another name in the next case