primitive vector types
Michel Fortin
michel.fortin at michelf.com
Sat Feb 21 05:24:14 PST 2009
On 2009-02-21 04:34:07 -0500, Christian Kamm
<kamm-incasoftware at remove-garbage.de> said:
> Denis Koroskin wrote:
>> Convince Walter to add float4 type and some intrinsics to DMD (I'll post a
>> list of those we use later), LDC will follow, I believe. There should be
>> some type that would be treated specially. After all, intrinsics have
>> function signatures and those should specify some concrete types.
>
> Yes, LDC would follow. The main reason people can't use these
> intrinsics in LDC at the moment is that there's no type in D that maps
> to an LLVM vector type.
Instead of introducing new a new type, couldn't float[4] be the one
mapped to a vector type? Why do we need a new type?
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Digitalmars-d
mailing list