diff options
author | Taylor Simpson <tsimpson@quicinc.com> | 2022-11-10 09:49:35 -0800 |
---|---|---|
committer | Taylor Simpson <tsimpson@quicinc.com> | 2022-12-16 10:10:28 -0800 |
commit | 564b2040a683bfc7169f14f75ac7a753378fbd8f (patch) | |
tree | f5f3204eadc26fedb59bfa5571618667b34615b8 /MAINTAINERS | |
parent | 1b9a7f2a1384d14dbb82862a612188797d398fe0 (diff) |
Hexagon (target/hexagon) Use direct block chaining for tight loops
Direct block chaining is documented here
https://qemu.readthedocs.io/en/latest/devel/tcg.html#direct-block-chaining
Hexagon inner loops end with the endloop0 instruction
To go back to the beginning of the loop, this instructions writes to PC
from register SA0 (start address 0). To use direct block chaining, we
have to assign PC with a constant value. So, we specialize the code
generation when the start of the translation block is equal to SA0.
When this is the case, we defer the compare/branch from endloop0 to
gen_end_tb. When this is done, we can assign the start address of the TB
to PC.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <20221108162906.3166-12-tsimpson@quicinc.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions