diff options
author | Eric Biggers <ebiggers@google.com> | 2025-02-10 13:07:41 -0800 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2025-02-12 12:08:56 -0800 |
commit | cf1ea3a7c1f63cba7d1dd313ee3accde0c0c8988 (patch) | |
tree | b2e673e8e0f67ece26cf5d2078dfaff3869f32ed /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4ffd50862d41e5aaf2e749efa354afaa1317c309 (diff) |
x86/crc32: improve crc32c_arch() code generation with clang
crc32c_arch() is affected by
https://github.com/llvm/llvm-project/issues/20571 where clang
unnecessarily spills the inputs to "rm"-constrained operands to the
stack. Replace "rm" with ASM_INPUT_RM which partially works around this
by expanding to "r" when the compiler is clang. This results in better
code generation with clang, though still not optimal.
Link: https://lore.kernel.org/r/20250210210741.471725-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions