Re: PROPOSAL: Extend inline asm syntax with size spec

From: Ingo Molnar
Date: Wed Oct 10 2018 - 03:22:48 EST



* Richard Biener <rguenther@xxxxxxx> wrote:

> Can kernel folks give this a second and third thought please so we
> don't implement sth that in the end won't satisfy you guys?

So this basically passes '0 size' to the inliner, which should be better
than passing in the explicit size, as we'd inevitably get it wrong
in cases.

I also like 'size 0' for the reason that we tend to write assembly code
and mark it 'inline' if we really think it matters to performance,
so making it more likely to be inlined when used within another inline
function is a plus as well.

Does anyone have any concerns about this?

Thanks,

Ingo