On Tue, Dec 24, 2019 at 08:15:11PM +0800, Andy Lutomirski wrote: > Does power have PC-relative data access? If so, I wonder if the code can be > arranged so that even the array accesses don’t require computing an absolute > address at any point.
Not before ISA 3.0 (that is Power9). The bcl/mflr dance isn't *that* expensive, if you use it sparingly. Segher