G
Gabest
I'm asking this because I'd like to include a few (but often used) inline
assembly code via marcos to make the whole thing a bit more readable, and
more resistant to typos (by keeping the repeating code at one place only).
But I cannot because a macro cannot span to more lines and the assembler
just ignores the second, third, ... instructions in a row, even if I put
__asm before ever of them and separate with the ; character. A naked
function is not an option either, I need to set the register numbers with
the macro arguments, like xmm##src or xmm##dst.
assembly code via marcos to make the whole thing a bit more readable, and
more resistant to typos (by keeping the repeating code at one place only).
But I cannot because a macro cannot span to more lines and the assembler
just ignores the second, third, ... instructions in a row, even if I put
__asm before ever of them and separate with the ; character. A naked
function is not an option either, I need to set the register numbers with
the macro arguments, like xmm##src or xmm##dst.