On 17/05/2018 8:34 AM, Walter Bright wrote:
On 5/16/2018 10:28 AM, Ethan wrote:
(Related: one feature I'd really really really love for linkers to implement is the ability to mark up certain functions to only ever be linked at a certain byte boundary. And that's purely because Jaguar branch prediction often made my profiling tests non-deterministic between compiles. A NOP is a legit optimisation on those processors.)

Linkers already do that. Alignment is specified on all symbols emitted by the compiler, and the linker uses that info.

Would allowing align attribute on functions, make sense here for Ethan?

Reply via email to