summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-04-09 21:55:07 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2024-05-23 00:12:11 +0300
commitb9b60b3199b70fe3ce74ff493b1870ccd7554134 (patch)
tree232e0543c7015119bf752331a1642fa4b8f659de /tools/perf/scripts/python/task-analyzer.py
parent7453b9485114f7ffec4a99bccee469a4d4809894 (diff)
downloadlinux-b9b60b3199b70fe3ce74ff493b1870ccd7554134.tar.xz
x86: improve bitop code generation with clang
This uses the new ASM_INPUT_RM macro to avoid the bad code generation issue that clang has with more generic asm inputs. This ends up avoiding generating code like this: mov %r10,(%rsp) tzcnt (%rsp),%rcx which now becomes just tzcnt %r10,%rcx and in the process ends up also removing a few unnecessary stack frames when the only use was that pointless "asm uses memory location off stack". Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions