diff options
| author | Christophe Leroy <[email protected]> | 2020-01-31 11:34:55 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-02-19 22:46:08 +1100 |
| commit | c06f0aff035ed5a7eaff5daa8e11e7ad28ab0d54 (patch) | |
| tree | 0ab2645cbb2baeadc137e957adcacfc10c521e75 /tools/perf/scripts/python | |
| parent | 9e27086292aa880921a0f2b8501e5189d5efcf03 (diff) | |
powerpc: Don't use thread struct for saving SRR0/1 on syscall.
CR0 can be saved later, and CTR can also be used for saving.
Keep SRR1 in r9 and stash SRR0 in CTR, this avoids using thread_struct
in memory for that.
Saves 3 cycles (ie 1%) in null_syscall selftest on 8xx.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/b94c3bc03bac9431fec2dadb686384c481889422.1580470483.git.christophe.leroy@c-s.fr
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions