On Thu, Dec 12, 2013 at 08:57:42PM +0100, Max Samukha wrote: > On Thursday, 12 December 2013 at 17:56:12 UTC, Walter Bright wrote: > > >11. inline assembler being a part of the language rather than an > >extension that is in a markedly different format for every > >compiler > > Ahem. If we admit that x86 is not the only ISA in exsistence, then > what is (under)specified here http://dlang.org/iasm.html is a > platform-specific extension.
I've always wondered about that. What is D supposed to do with asm blocks when compiling for a CPU that *isn't* x86?? What *should* a conforming compiler do? Translate x86 asm into the target CPU's instructions? Abort compilation? None of those options sound particularly appealing to me. T -- Let's not fight disease by killing the patient. -- Sean 'Shaleh' Perry