summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko.stuebner@vrull.eu>2022-12-24 01:13:23 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2022-12-29 17:59:43 +0300
commit33e41480b233eb3ae8e3b523062a1916693ac267 (patch)
tree60a0a12334f241551f8eb01b8fd3c341d4d63825 /tools/perf/scripts/python/export-to-sqlite.py
parentbf0cc402d7cd4277ece55dd0ace6be43916f713b (diff)
downloadlinux-33e41480b233eb3ae8e3b523062a1916693ac267.tar.xz
RISC-V: detach funct-values from their offset
Rather than defining funct3, funct4, etc values pre-shifted to their target-position in an instruction, define the values themselves and only shift them where needed. This allows using these funct-values in other places as well, for example when decoding functions. At the same time also reduces the use of magic numbers, one would need a spec manual to understand. Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu> Link: https://lore.kernel.org/r/20221223221332.4127602-4-heiko@sntech.de Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions