It may have a minor effect on optimisation.  Variables may now be in
storage when they were optimized into registers.   But this is likely to be
less than 1% difference.
You might want to use Jump instructions rather than Branch, so you do not
have to worry about addressability
Colin

On Mon, 1 May 2023 at 22:02, Phil Smith III <li...@akphs.com> wrote:

> (Cross-posted to IBM-MAIN and the assembler list)
>
> When compiling C programs with XLC, you need to specify the -dasm flag to
> have inline assembler code recognized as such. I can see PoE arguments for
> requiring that option; what isn't clear is whether there's any downside to
> it beyond the unlikely case that you decide to have a function of your own
> named asm or __asm or __asm__. Is there? We'd rather just use it all the
> time, rather than trying to keep track of which modules have inline
> assembler and which don't, but not if it's going to cost significant
> performance at compile time or something.
>

Reply via email to