Hello All:

Could you please review the changes to fix bug ID 722.

Can gatekeeper approve this patch.

Following file is modified.

Osprey/wgen/wgen_expr.cxx

Above file is modified to restrict the generation of CVT for vector type 
conversion. CVT between vector types
Is not needed.

Index: osprey/wgen/wgen_expr.cxx
===================================================================
--- osprey/wgen/wgen_expr.cxx   (revision 3470)
+++ osprey/wgen/wgen_expr.cxx   (working copy)
@@ -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);
        }
       }

Thanks & Regards
Ajit
(open source compiler AMD Bangalore)
------------------------------------------------------------------------------
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