Author: aagarwa
Date: 2011-02-01 03:01:30 -0500 (Tue, 01 Feb 2011)
New Revision: 3471

Modified:
   trunk/MAINTAINERS
   trunk/osprey/wgen/wgen_expr.cxx
Log:
Fix bug ID 722. Above file is modified to restrict the generation of CVT
for vector type conversion. CVT between vector types is not needed.

Code Reviewed by Sun Chan.


Modified: trunk/MAINTAINERS
===================================================================
--- trunk/MAINTAINERS   2011-01-27 23:28:49 UTC (rev 3470)
+++ trunk/MAINTAINERS   2011-02-01 08:01:30 UTC (rev 3471)
@@ -42,6 +42,7 @@
 
 Maintainers (in alphabetical order by last name - please keep it this way)
 ==========================================================================
+Ajit Agarwal                    ajit.agar...@amd.com
 Xiaomi An                      annyur(AT)gmail.com
 Bin Bao                                bin.bao(AT)gmail.com
 Christopher Bergström          codestr0m(AT)osunix.org

Modified: trunk/osprey/wgen/wgen_expr.cxx
===================================================================
--- trunk/osprey/wgen/wgen_expr.cxx     2011-01-27 23:28:49 UTC (rev 3470)
+++ trunk/osprey/wgen/wgen_expr.cxx     2011-02-01 08:01:30 UTC (rev 3471)
@@ -6574,7 +6574,14 @@
          }
        }
        else {
-         if (mtyp != WN_rtype(wn)) 
+         if (mtyp != WN_rtype(wn))
+#ifdef TARG_X8664
+            if (MTYPE_is_vector(mtyp) && MTYPE_is_vector(WN_rtype(wn)) &&
+                MTYPE_is_mmx_vector(mtyp) == 
MTYPE_is_mmx_vector(WN_rtype(wn)))             {
+               // CVT between vector types not needed
+            }
+            else
+#endif
            wn = WN_Cvt(WN_rtype(wn), mtyp, wn);
        }
       }


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to