target_clones: molehill or everest?

Iain Buclaw ibuclaw at gdcproject.org
Tue Jun 7 15:04:13 UTC 2022


On Tuesday, 7 June 2022 at 14:18:11 UTC, Bruce Carneal wrote:
> Would adding clang's *target_clones* attribute be difficult?
>
> Apart from the, potentially serious, amount of developer time 
> are there good reasons why it should not be added?  Why it 
> could not be generalized to dcompute targets?
>
> I have a clunky workaround for CPUs but it seems like 
> target_clones could be beneficial.
>
> Thanks again for providing an excellent compiler (that I use 
> every day).

[For 
reference](https://github.com/gcc-mirror/gcc/blob/2005b9b888eeac078f2524b1521885f4b5453894/libphobos/libdruntime/gcc/attributes.d#L383-L410).


More information about the digitalmars-d-ldc mailing list