[Patch] Only pass f32/v4f32 in xmm registers in x86-64 if only sse1 is suppored

Demikhovsky, Elena elena.demikhovsky at intel.com
Thu Oct 10 06:14:19 PDT 2013


FP passed in XMM starting from SSE2.

Intel SSE processor did not support 64-bit mode and all parameters were in FP stack (X87) registers.

-           Elena

From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Craig Topper
Sent: Thursday, October 10, 2013 07:00
To: llvm-commits at cs.uiuc.edu
Subject: [Patch] Only pass f32/v4f32 in xmm registers in x86-64 if only sse1 is suppored

Not sure if this is actually the right thing to do, but it fixes an issue on llvm-dev where XMM->FP copy was being created.

This patches makes integer vector types and f64 only pass in xmm if sse2 is enabled which is when these types are assigned to the xmm class.

--
~Craig
---------------------------------------------------------------------
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/20131010/62a18506/attachment.html>


More information about the llvm-commits mailing list