As discussed in PR36127: AFAIK the throughput of the integer operations is always better or equal to the throughput of the floating-point operations in all x86/x86_64 CPU architectures to date. That is, if the default were to be changed from vxorps to vpxor things would always work out optimally (at least for now).
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Target/X86/X86InstrInfo.cpp | ||
---|---|---|
7456 | I don't understand how this code works. The first thing SetBlendDomain does is check if the last operand is an immediate which should be false for XOR. And what does the 14 mean? |
I don't understand how this code works. The first thing SetBlendDomain does is check if the last operand is an immediate which should be false for XOR. And what does the 14 mean?