Can tp / x4 be used as an ordinary temporary?
It should not. The psABI marks it unallocatable, and standard ABI procedures should not modify it.
tp is the thread pointer in the psABI and is marked unallocatable. Standard ABI procedures should not modify tp because signal handlers may rely on its value.
tp is marked unallocatable by the psABI. Procedures should not modify it because signal handlers may rely on its value.
tp / x4 is marked unallocatable by the psABI. Standard ABI procedures should not modify it; it is not a normal caller-saved or callee-saved choice.
The psABI marks tp as unallocatable.
The psABI says standard ABI procedures should not modify tp because signal handlers may rely on it.
It is not a normal caller-saved/callee-saved choice; it should not be allocated to ordinary code.
# Do not borrow tp in a standard ABI function
# This page does not define a concrete thread model or access form
# Use t0-t6 for temporaries, or save other registers according to the calling conventionIt should not. The psABI marks it unallocatable, and standard ABI procedures should not modify it.
Neither in the usual sense; it is unallocatable, so ordinary code should not borrow it.