Am Tue, 09 Apr 2013 08:14:44 +0200 schrieb Jacob Carlborg <d...@me.com>:
> On 2013-04-08 22:17, Iain Buclaw wrote: > > On 8 April 2013 17:55, John Colvin <john.loughran.col...@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.