__restrict, architecture intrinsics vs asm, consoles, and other stuff

Trass3r un at known.com
Wed Sep 21 16:45:47 PDT 2011


> I haven't seen any non-x86 examples of the D assembler, and I think it's  
> fair to
> say that x86 is the single most unnecessary architecture to write
> inline assembly that exists. Are there PowerPC or ARM examples
> anywhere?

Well DMD only supports x86 including inline asm so that's the only thing  
that's tested.

You need to try LDC or GDC for most of the things you request.
http://dsource.org/projects/ldc/wiki/InlineAsmExpressions
https://bitbucket.org/goshawk/gdc/wiki/UserDocumentation#!extended-assembler


Some guys already managed to compile cross-compilers for ARM and ran some  
basic code on e.g. Nintendo DS.
For anything serious you would need to make druntime work though.

It's just nobody has done the dirty work yet.


More information about the Digitalmars-d mailing list