ARM support

Joakim joakim at airpost.net
Sun Jan 12 08:28:42 PST 2014


On Sunday, 12 January 2014 at 11:31:07 UTC, Johannes Pfau wrote:
> Am Fri, 10 Jan 2014 08:27:37 +0000
> schrieb "Joakim" <joakim at airpost.net>:
>> > - Does druntime support ARM plaforms?
>> Grepping through the code, druntime appears to use a fair 
>> amount of x86 assembly, but I have not yet looked into how 
>> much of that is optimization and therefore not strictly 
>> necessary to reimplement on ARM.
>
> You'll have to look at GDC/LDC druntime and not the DMD 
> druntime to
> see the ARM stuff. GDC/LDC specific stuff is not being 
> upstreamed.
> There's some ARM asm in GDC:druntime, but we try to rewrite all 
> DMD
> asm in terms of cross-platform GCC builtins (__builtin_trap 
> instead of
> asm{int 3;} and so on) so there's really not much ASM left for
> GDC:druntime.

I didn't know that ldc and gdc used their own forks of druntime 
and phobos, so maybe my info is a bit off.


More information about the Digitalmars-d mailing list