Implementing C23 _Float16 in ImportC
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Tue Jan 14 15:19:49 UTC 2025
On 15/01/2025 4:06 AM, Bruce Carneal wrote:
> On Tuesday, 14 January 2025 at 14:34:13 UTC, Richard (Rikki) Andrew
> Cattermole wrote:
>> ...
>>
>> A new policy, that anyone could implement a C numeric type as long as
>> it bound to a druntime module, and not exposed to D. D would need a
>> DIP due to the identifier needing confirmation.
>>
>>
>
> Is this a good path to full integration with the back ends? I'd love to
> see auto vectorization and other optimizations when using the new types.
Yes.
The functions involved can be recognized as intrinsics, and swapped out
for the IR version of it.
More information about the Digitalmars-d
mailing list