diff options
author | Benjamin Barenblat <bbaren@google.com> | 2020-07-22 08:15:04 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2020-07-23 17:21:45 -0400 |
commit | 5462cf0a89d2990c074cdd64033c9ba149f6541d (patch) | |
tree | ffe009ce79d84a2cd2cc02d354fc7428b9916235 /absl/algorithm/container_test.cc | |
parent | b6e356b70dc8494c11f980c7b9c0f738f839463c (diff) | |
download | abseil-5462cf0a89d2990c074cdd64033c9ba149f6541d.tar.gz abseil-5462cf0a89d2990c074cdd64033c9ba149f6541d.tar.bz2 abseil-5462cf0a89d2990c074cdd64033c9ba149f6541d.zip |
Configure SwissTable to target older processors
On Intel and compatibles, SwissTable can benefit from SSE2 and SSSE3 if
available. Currently, though, it determines availability through a
compile-time check, which pins binary packages to the CPU of the
builder. Correct this:
- Disable SSE2 and SSSE3 on i386. SSSE3 has never been available on
i386 CPUs, and Debian supports some i386 CPUs that lack the
extension (e.g., the Athlon XP).
- Disable SSSE3 on amd64. SSSE3 did not appear until the mid-'00s,
and Debian supports all amd64 CPUs, even going back to the original
Opteron. Keep SSE2 enabled, since all amd64 CPUs support SSE2.
Diffstat (limited to 'absl/algorithm/container_test.cc')
0 files changed, 0 insertions, 0 deletions