FEX-Emu / FEX-Emu/FEX

Track stack accesses through register moves to remove more TSO accesses

Open
#4,484 1 comment 0 reactions 1 assignee Claimed by @lioncash View on GitHub
CPU emulation JIT Performance
Dominant language
C++
Stars
8k
Forks
351
Avg merge
12h 31m
Merged PRs (30d)
102

Description

It's common practice to do a `mov rbp, rsp` and some arithmetic on it and then access stack variables through rbp instead of rsp.
We should track those stack moves and delete TSO accesses when possible.

This will have a disproportionately large improvement on Qualcomm's Orion which has stalls when a cacheline is accessed as LRCPC and then non-LRCPC, In addition to the other improvements that non-TSO memory accesses improve.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.