How do I write __simd(void16*, void16) ?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 10 01:12:58 PDT 2014


On Thu, 09 Oct 2014 17:19:05 -0400
Etienne via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:

> > Unforunately the gcc.buildints module seems to be generated during
> > compilation of gdc, so you might want to get a binary version or
> > compile it yourself to see the module.
> OK, thanks !
why, ketmar to the rescue! gcc.builtins is empty module. ;-)

actually, importing it works like a trigger, and then programmer has
access to GCC builtins defined in GCC source. one can read GCC
documentation to find more information about 'em.

also, importing this module defines some types. here they are:

  __builtin_va_list  The target's va_list type ))
  __builtin_clong    The D equivalent of the target's C "long" type
  __builtin_culong   The D equivalent of the target's C "unsigned long"
  __builtin_machine_int    Signed word-sized integer
  __builtin_machine_uint   Unsigned word-sized integer
  __builtin_pointer_int    Signed pointer-sized integer
  __builtin_pointer_uint   Unsigned pointer-sized integer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20141010/60cd6ef1/attachment.sig>


More information about the Digitalmars-d-learn mailing list