summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-05-17 17:14:03 +0200
committerHelge Deller <deller@gmx.de>2022-05-23 13:44:25 +0200
commitc1770918492414e8dc103d996f3f3860ee0bfd6c (patch)
treec1992c08a378a1d859dce06aa56b070a6595a7ef /include
parentcdd00fe6aa52870b54797e1386aac6202d916763 (diff)
parisc: Optimize tmpalias function calls
Instead of converting the physical address of the tmpalias mapping to the tlb insert format inside all the various tmpalias functions, move this conversion over to the DTLB miss handler. The physical address is already in %r26 (or will be calculated into %r23), so there are no additional steps needed in the functions themselves. Additionally use the dep_safe() and depi_safe() macros to avoid differentiating between 32- and 64-bit builds and as such make the code much more readable. The check if "ldil L%(TMPALIAS_MAP_START)" will sign extend into the upper 32 bits can be dropped, because we added a compile time check in an earlier patch. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions