diff options
author | Uros Bizjak <[email protected]> | 2024-03-19 18:16:46 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-03-20 12:04:38 +0100 |
commit | 648337147d3550c1ca3d1b500e66dbda12e2d836 (patch) | |
tree | 3122e80d008ebea46dbe1db2c9dafd2ab58e5f07 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d689863c1a60b9936b47a34fa5c3330de374f4fc (diff) |
x86/asm: Use "m" operand constraint in WRUSSQ asm template
The WRUSSQ instruction uses a memory operand, so use "m"
operand constraint instead of forcing usage of pointer
register using "r" constraint. The generated assembly
code improves from:
6ece3: 48 8d 43 f8 lea -0x8(%rbx),%rax
...
6eceb: 66 48 0f 38 f5 18 wrussq %rbx,(%rax)
to:
6ecea: 66 48 0f 38 f5 43 f8 wrussq %rax,-0x8(%rbx)
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions