FYI, comparing member-by-member gave the exact same code as the SIMD'd `memcmp` on clang, and the same code as the old `Equals` on ARM: https://godbolt.org/z/QTmG90 That's what you wanted to achieve, right? (But without the #ifdefs, and no C casts.) I'll let you decide if it's worth changing again. 😉
Bug 1577263 Comment 3 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
FYI, comparing member-by-member gave the exact same code as the SIMD'd `memcmp` on x86-64 clang, and the same code as the old `Equals` on ARM: https://godbolt.org/z/QTmG90 That's what you wanted to achieve, right? (But without the #ifdefs, and no C casts.) I'll let you decide if it's worth changing again. 😉