Displaying 1 result from an estimated 1 matches for "d33963".
Did you mean:
33963
2017 Jun 07
2
[RFC] Optimizing Comparisons Chains
Hi all,
I'm working on a new pass to optimize comparison chains.
Motivation
Clang currently generates inefficient code when dealing with contiguous
member-by-member structural equality. Consider:
struct A {
bool operator==(const A& o) const { return i == o.i && j == o.j; }
uint32 i;
uint32 j;
};
This generates:
mov eax, dword ptr [rdi]
cmp eax,