Druntime DMD/LDC/GDC architecture

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 23 11:09:44 PDT 2014


Hello all!

very simple code:

------------------
double[] a, c;
...
c[] += a[];
------------------

The DMD version I can find in _arraySliceSliceAddass_d, 
https://github.com/D-Programming-Language/druntime/blob/master/src/rt/arraydouble.d 
.

What about LDC and GDC?
The _arraySliceSliceAddass_d is the same, no any version(LDC).

When I compile code into assembler I found other code then in asm 
scope.

So I suppose LDC has it's own architecture.
Is it right?

Where I can find it for understanding what optimization can be 
done by LLVM optimizer?

Have GDC it's own architecture too?

Best Regards,
Ilya


More information about the Digitalmars-d mailing list