Please review: Fixed a bug in X86 vzeroupper.

Demikhovsky, Elena elena.demikhovsky at intel.com
Tue Feb 12 23:54:56 PST 2013


I changed it to clobbersAllYmmRegs() with opposite meaning.

- Elena
From: Quentin Colombet [mailto:qcolombet at apple.com]
Sent: Tuesday, February 12, 2013 21:35
To: Demikhovsky, Elena
Cc: Commit Messages and Patches for LLVM
Subject: Re: Please review: Fixed a bug in X86 vzeroupper.

Hi Elena,

The name of the preservesYmmRegs function is confusing because one (at least, I) would expect that it returns true if the operand preserves all Ymm Regs, which is not what the function is doing.

Could you come with a better name please?

Thanks,

-Quentin

On Feb 12, 2013, at 7:04 AM, "Demikhovsky, Elena" <elena.demikhovsky at intel.com<mailto:elena.demikhovsky at intel.com>> wrote:


Instruction vzeroupper should not be inserted before call that preserves YMM registers, since a caller uses preserved registers across the call.

Thanks.

- Elena


---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
<vzeroupper.diff>_______________________________________________
llvm-commits mailing list
llvm-commits at cs.uiuc.edu<mailto:llvm-commits at cs.uiuc.edu>
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130213/d435c0a6/attachment.html>


More information about the llvm-commits mailing list