src/dst register for andI_rReg_imm255 and andI_rReg_imm65535

Christian Thalinger Christian.Thalinger at Sun.COM
Mon Sep 21 12:06:19 PDT 2009


Vladimir Kozlov wrote:
> Christian,
> 
> Can you tell more about the problem you see?
> The instructions you pointing use dst register only:
> 
> "movzbl  $dst, $dst\t# int & 0xFF"

Right.  Well, it's not a problem, I just wonder why it does not use the
src register:

"movzbl  $dst, $src\t# int & 0xFF"

but instead we have to emit a spill instruction to move src to dst.

-- Christian


More information about the hotspot-compiler-dev mailing list