On 5 January 2012 23:50, Iain Buclaw <[email protected]> wrote: > > * inline asm supporting pseudo regs - As an extension of using the > vector > > hardware, I'll need inline asm, and inline assembly without pseudo regs > is > > pretty useless... it's mandatory that the compiler shedule the register > > allocation otherwise inline asm will most likely be an un-optimisation. > If D > > had pseudo regs in its inline assembler, it would make it REALLY > attractive > > for embedded systems programmers. > > In lieu of that, I need to use opcode intrinsics instead, which I > > believe GDC exposes, but again, I'm done with C and versioning > (#ifdef-ing) > > every compiler I intend to use. Why not standardise these things? At > least > > put the intrinsics in the standard lib... > > > > This is only possible using GDC extended asm - which is really GCC asm > but encapsulated in {} instead of (); >
... shit. I fear this is a VERY serious problem that needs discussion and resolution. Now we have 2 competing standards of asm syntax in D... We're exactly in the same place as VisualC and GCC now. Epic fail.
