Author: dgilmore
Date: 2011-03-12 19:52:39 -0500 (Sat, 12 Mar 2011)
New Revision: 3517

Modified:
   trunk/osprey/be/com/emulate.cxx
Log:
Work around issue reported in bug 688 -  Invalid machine type C8 in 
Targ_To_Host_Float.

This is just a patch that should be removed once we clean up the handling
of vector complex types.

CR: Jian-Xin Lai


Modified: trunk/osprey/be/com/emulate.cxx
===================================================================
--- trunk/osprey/be/com/emulate.cxx     2011-03-13 00:47:42 UTC (rev 3516)
+++ trunk/osprey/be/com/emulate.cxx     2011-03-13 00:52:39 UTC (rev 3517)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2008-2010 Advanced Micro Devices, Inc.  All Rights Reserved.
+ * Copyright (C) 2008-2011 Advanced Micro Devices, Inc.  All Rights Reserved.
  */
 
 /*
@@ -1348,6 +1348,12 @@
        return NULL;
       }
     }
+
+    /* Workaround for bug 688.
+     */
+    if (MTYPE_is_vector(type))
+      return NULL;
+
     n = Targ_To_Host_Float(con);
     sqrt = rsqrt = FALSE;
 #ifdef KEY


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to