Asmjit - JIT asm compiler (for C++)

dennis luehring dl.soluz at gmx.net
Mon Feb 2 23:27:12 PST 2009


Bill Baxter schrieb:

> That's pretty cool already, but I was thinking with D you could just
> write the assembly function directly as a string mixin.  Or really
> (even in C++ ) you could just parse the darn assembly function at
> runtime.
other JIT assemblers:

http://homepage1.nifty.com/herumi/soft/xbyak_e.html
http://www.transgaming.com/products/swiftshader/

> With compile time parsing you get to keep the compile time
> check to make sure the asm instructions are at least typo-free.
> Also kind of relevant to the other thread here about compiling
> different versions of the same function for different target
> processors.

that makes no sense for an "JIT" assembler
to find code errors in assembly or produce different version at 
compiletime ---> use version-flag and the inline assembler :-)




More information about the Digitalmars-d mailing list