Author: yiran Date: 2011-04-20 04:11:57 -0400 (Wed, 20 Apr 2011) New Revision: 3562
Modified: trunk/osprey/common/com/wn_simp_code.h Log: To avoid the x87 stack register issue when the optimizer can not remove the dead code. Modified: trunk/osprey/common/com/wn_simp_code.h =================================================================== --- trunk/osprey/common/com/wn_simp_code.h 2011-04-20 08:08:53 UTC (rev 3561) +++ trunk/osprey/common/com/wn_simp_code.h 2011-04-20 08:11:57 UTC (rev 3562) @@ -2200,7 +2200,7 @@ if (r) return r; #ifdef TARG_X8664 - if (MTYPE_C8 == ty) + if (MTYPE_C8 == ty && Opt_Level != 0) { if (MTYPE_F8 == SIMPNODE_rtype(k0) && MTYPE_F8 == SIMPNODE_rtype(k1)) { @@ -2899,7 +2899,7 @@ } if (r) return r; #ifdef TARG_X8664 - if (MTYPE_C8 == ty || MTYPE_V16C8 == ty) + if ((MTYPE_C8 == ty || MTYPE_V16C8 == ty) && Opt_Level != 0) { if (SIMPNODE_rtype(k1) == MTYPE_F8 && SIMPNODE_rtype(k0) == MTYPE_F8) { @@ -3167,7 +3167,7 @@ } } #ifdef TARG_X8664 - if (MTYPE_C8 == ty) + if (MTYPE_C8 == ty && Opt_Level != 0) { /* complex const converted to real const */ if (k0const && SIMPNODE_rtype(k0) == ty) ------------------------------------------------------------------------------ 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