I'm looking for the D inline assembler equivalent of the .p2align 4,,15 directive to optimize a loop.

Here's more information:
http://stackoverflow.com/questions/21546946/what-p2align-does-in-asm-code

I tried searching through a turbo assembler tutorial (because D's is based on it) and found nothing except a few hints here: http://www.csn.ul.ie/~darkstar/assembler/manual/a10.txt

There might be a way through segments, directives, but I'm not sure at all if D supports it.

Does anyone have any idea if/how I can align my code this way or if the compiler handles it?

Reply via email to