Of possible interest: fast UTF8 validation
rikki cattermole
rikki at cattermole.co.nz
Wed May 16 20:37:09 UTC 2018
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?
More information about the Digitalmars-d
mailing list