Hello, On Thu, 19 Mar 2020, J.W. Jagersma via Gcc-patches wrote:
> I just realized that changing all outputs to in+out would generate > worse code for *every* single asm that has any outputs. Under -fnon-call-exception only. And I'm not sure what you mean, the only effect of the additional 'in+' part that wasn't there before should be that some instructions setting those operands to values before the asm aren't deleted. If there are none, the code should come out the same. > Whereas changing outputs to a temporary will not generate any extra code > if there is no local try/catch block. I think that is something that > should be considered. But it will also disallow values to be given out of the asm in the exception case. (See my other mail). I think that's more worthwhile than some superflous moves (that, if they turn out to be really useless could be removed after reload). Ciao, Michael.