[LLVMdev] x86 backend assembly - mov esp->reg

Joerg Sonnenberger joerg at britannica.bec.de
Thu Nov 24 11:02:29 PST 2011


On Thu, Nov 24, 2011 at 11:39:32AM -0700, Nowicki, Tyler wrote:
> When compiled for atom with clang in 32-bit mode the 8-bit variables
> in test use 32-bit registers:

That's fine since it can avoid partial stales and the value of the
padding is undefined.

> However, the 8-bit variables in PartialRegisterOperationsTestChar use
> 8-bit registers:

Same argument. It wants to use the value of the 8bit registers, so
setting them up via 32bit ops could create a partial register stale.

Do you disagree?

Joerg



More information about the llvm-dev mailing list