aboutsummaryrefslogtreecommitdiffstats
path: root/core/cpu_caps.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-13 23:53:00 -0800
committerChris Robinson <[email protected]>2022-02-13 23:53:00 -0800
commitf915b86dbb8a3d75e37a2813df093694aae0dcbb (patch)
treebd7054eb3bcbb1532a1888620f350fe3d5febe34 /core/cpu_caps.h
parent98de566bc81427d0a37b574aa931cec33852a28f (diff)
Use memcmp to compare GUIDs
Clang at least optimizes the old version horribly, doing each individual check (with short-circuiting) as written. In comparison, this memcmp gets inlined using only a few SIMD instructions (on capable targets).
Diffstat (limited to 'core/cpu_caps.h')
0 files changed, 0 insertions, 0 deletions