Asmjit - JIT asm compiler (for C++)
Don
nospam at nospam.com
Tue Feb 3 00:56:11 PST 2009
Bill Baxter wrote:
> Don't know if this is of interest to anyone here, but I've seen this
> on another mailing list recently:
> http://code.google.com/p/asmjit/
>
> C++ library to jit-compile assembly functions.
> It uses function syntax to do it's think like "a.push(ebp);"
> That's pretty cool already, but I was thinking with D you could just
> write the assembly function directly as a string mixin.
Yes. I've been tempted to do that on a small scale to get around some of
DMD's asm bugs. In fact, if we had a standard 'db' asm instruction, it
would be possible to write a CTFE assembler for compilers which don't
support it.
Mostly OT: Is there any way to use 64-bit asm instructions on 32-bit XP?
In the Win3.1 days, it was possible to use 32-bit asm, if you fiddled
around enough. I imagine that it was possible only because Win3.1 was a
joke of an OS. I've never seen anything similar for 64-bit; am I correct
in thinking that it's impossible?
More information about the Digitalmars-d
mailing list