diff options
| author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-02-06 11:47:28 +0000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-09 01:10:15 +1100 |
| commit | b842d131c7983f8f0b9c9572c073130b5f2bcf11 (patch) | |
| tree | 3b5cc31cc433681125fcc4d5be9b1acd59d79fee /tools/perf/scripts/python | |
| parent | powerpc/32s: mfsrin()/mtsrin() become mfsr()/mtsr() (diff) | |
| download | linux-b842d131c7983f8f0b9c9572c073130b5f2bcf11.tar.gz linux-b842d131c7983f8f0b9c9572c073130b5f2bcf11.zip | |
powerpc/32s: Allow constant folding in mtsr()/mfsr()
On the same way as we did in wrtee(), add an alternative
using mtsr/mfsr instructions instead of mtsrin/mfsrin
when the segment register can be determined at compile time.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/9baed0ff9d76723ec90f1b567ddd4ac1ecc7a190.1612612022.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
