version statement problem in gdc

Johannes Pfau nospam at example.com
Tue Apr 9 00:39:10 PDT 2013


Am Tue, 09 Apr 2013 08:14:44 +0200
schrieb Jacob Carlborg <doob at me.com>:

> On 2013-04-08 22:17, Iain Buclaw wrote:
> > On 8 April 2013 17:55, John Colvin <john.loughran.colvin at gmail.com
> 
> >     So, overall, it's not gonna happen unless dmd changes its
> >     implementation of inline asm?
> >
> >
> >
> > Pretty much.  Though given that what you have changed is in rt
> > folders, I think the intent is that each compiler maintains its
> > own, so it wouldn't be difficult just to re-implement using
> > extended assembler.
> 
> How does GCC implement its inline assembler. What's the difference 
> compared to how DMD implements its own?
> 

GCC compilers always generate target-specific asm first, then the
target specific assembler (as) is called to assemble that to an object
file. The difference is that gcc inline asm is identical to the native
assembly so it's just passed through to the assembler.


More information about the D.gnu mailing list