Skip to content

InlineNativeAssemblyInMacscheme

Felix S. Klock II edited this page Jul 28, 2013 · 1 revision

PnkFelix was musing that it would be cool to play with some of the operations provided by processor extensions such as MMX or SSE.

Sassy already provides the opcodes, so it would just be a matter of providing an easy way to get inline assembly sequences into our code vectors. For that, we need a way to write down native assembly; it would be nice if it integrated nicely with a sequence of MacScheme instructions, so that I could just dump a sequence of native instructions and the assembler would just plug them in (where the developer would have to know which MacScheme registers are actual hardware registers).

See InlineAssembly

Clone this wiki locally