On Tue, Mar 20, 2018 at 11:41:01AM +0100, Richard Biener wrote: > If the precision matches the mode maybe. But I thought we try to > avoid using %al (HImode) or %ax (QImode) operands in the end?
Yes, but we try to do that only on the level of the emitted assembly, sometimes we simply emit a QImode or HImode instruction that does movl %eax, %ebx and similar. That is also zero cost compared to what it would cost to do it in SImode. Jakub