← Back to context

Comment by brigade

1 year ago

Asm is only good on one architecture; inline asm further restricts that to at most two compilers. Plus most of the "documentation" for inline asm constraints is scattered across various comments in the source code of those compilers, and you generally can't safely use gas macros or directives.

> at most two compilers.

As far as C, C++ go - that's two out of three. So it's not as bad as it sounds to be "at most two".