diff options
| author | Tengda Wu <wutengda@huaweicloud.com> | 2026-10-20 13:45:02 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-10-22 17:17:01 -0300 |
| commit | f9b51a42ddb6ab47163777ada8b88c68228b6d72 (patch) | |
| tree | 053b75b8300ede5cba26015a659c015080962a61 /scripts/Makefile.thinlto | |
| parent | 3edfbb8bc079701a8607cc1a5902193e28aae411 (diff) | |
| download | linux-f9b51a42ddb6ab47163777ada8b88c68228b6d72.tar.gz linux-f9b51a42ddb6ab47163777ada8b88c68228b6d72.zip | |
perf annotate-arm64: Support store instruction tracking
Extend update_insn_state_arm64() to handle standard store instructions
(str, stur, stlr, stp). Exclusive stores (e.g., stxr, stxp) are excluded
from this path since their operand semantics differ.
Unlike load instructions, a store instruction writes a value into the
memory location addressed by the destination register, without changing
that register's type. As a result, no type transfer is needed here.
The only thing to keep in mind is that store instructions support
pre-index and post-index addressing modes, so adjust_reg_index_state()
still needs to be called to handle their addressing.
In addition, exclusive stores (stxr, stxp, stlxr, stlxp, etc.) write
their execution status (0 or 1) into the status register, which is
parsed into src->reg1. Invalidate this status register in
invalidate_unhandled_insn_regs() so that stale types are not propagated.
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Tengda Wu <wutengda@huaweicloud.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
