http://llvm.org/bugs/show_bug.cgi?id=15946
Bug ID: 15946
Summary: Poor code generated for double conditional
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
gcc gives:
xor %eax,%eax
ucomisd %xmm0,%xmm1
seta %al
retq
clang gives:
ucomisd %xmm0,%xmm1
seta %al
movzbl %al,%eax
ret
https://bugzilla.mozilla.org/show_bug.cgi?id=869525#c6 gives some more
justification for this optimization.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs