2 ms·
> In general this is a "thing" on pipelined processors It's actually not? Or, indeed, it's a hard problem. And modern designs certainly don't expose the inst
by ajross 3y ago
> In general this is a "thing" on pipelined processors
It's actually not? Or, indeed, it's a hard problem. And modern designs certainly don't expose the instruction counter as a general register anymore (ARM32 PC is the last of its kind).
But having an IP-relative data addressing mode is a critical feature for any reasonable modern device, for exactly the reasons detailed here: you want constants stored with your compiled code without having to incur overhead (c.f. the linked article, or the GOT/PLT indirection in shared libraries, etc...) to get it.