Author: yiran
Date: 2011-04-20 04:18:24 -0400 (Wed, 20 Apr 2011)
New Revision: 3564

Modified:
   trunk/osprey/be/cg/x8664/ebo_special.cxx
Log:
Such a combination is abandoned for load-execution as the ld_op is a
load up higher part of a SSE register, while the alu_op is doing
conversion on the lower part (implicitly).



Modified: trunk/osprey/be/cg/x8664/ebo_special.cxx
===================================================================
--- trunk/osprey/be/cg/x8664/ebo_special.cxx    2011-04-20 08:16:00 UTC (rev 
3563)
+++ trunk/osprey/be/cg/x8664/ebo_special.cxx    2011-04-20 08:18:24 UTC (rev 
3564)
@@ -7858,6 +7858,12 @@
     return Process_Side_Effects(opnd_tn, actual_tninfo, rval, opnds_swapped);
   }
 
+  if ((OP_code(ld_op) == TOP_ldhps ||
+       OP_code(ld_op) == TOP_ldhpsx ||
+       OP_code(ld_op) == TOP_ldhpsxx) &&
+      OP_code(alu_op) == TOP_cvtps2pd)
+    return FALSE;
+
   /* Check <index> and <base> will not be re-defined between
      <ld_op> and <alu_op>, inclusive.
   */


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to