diff options
| author | Christophe Leroy <[email protected]> | 2021-08-18 08:47:28 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-08-18 23:49:55 +1000 |
| commit | 51ed00e71f0130e0f3534b8e7d78facd16829426 (patch) | |
| tree | 524fc178b50d0eb9d20f013b426728d693e8cf35 /tools/perf/scripts/python/futex-contention.py | |
| parent | 6af0b5570b59ce8dd1608a8e48f59eff3f4bdd04 (diff) | |
powerpc/32: Remove unneccessary calculations in load_up_{fpu/altivec}
No need to re-read SPRN_THREAD, we can calculate thread address
from current (r2).
And remove a reload of value 1 into r4 as r4 is already 1.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/c04cce578b97a76a9e69a096698b1d89f721768a.1629276437.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions