summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-02-11 00:07:41 +0300
committerEric Biggers <ebiggers@google.com>2025-02-12 23:08:56 +0300
commitcf1ea3a7c1f63cba7d1dd313ee3accde0c0c8988 (patch)
treeb2e673e8e0f67ece26cf5d2078dfaff3869f32ed /scripts/generate_rust_analyzer.py
parent4ffd50862d41e5aaf2e749efa354afaa1317c309 (diff)
downloadlinux-cf1ea3a7c1f63cba7d1dd313ee3accde0c0c8988.tar.xz
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions