Author: dgilmore
Date: 2011-02-21 19:34:59 -0500 (Mon, 21 Feb 2011)
New Revision: 3485
Modified:
trunk/osprey/be/com/emulate.cxx
Log:
Sorry, preceding change was incorrect -- this one is:
Fixed bug 725: complex square root is broken.
The complex square root lowering code should not change type from
V16C8 to C8. By changing the type, two Aux symbol table entries will
be generated for a single PREG, which causes WOPT to drop the
initialization of the PREG.
Approved by Jian-Xin
Modified: trunk/osprey/be/com/emulate.cxx
===================================================================
--- trunk/osprey/be/com/emulate.cxx 2011-02-21 23:47:21 UTC (rev 3484)
+++ trunk/osprey/be/com/emulate.cxx 2011-02-22 00:34:59 UTC (rev 3485)
@@ -2664,11 +2664,6 @@
static WN *em_complex_sqrt_preg(WN *block, TYPE_ID type, PREG_NUM zN_in)
{
PREG_NUM ziN, zN, absN, t1N, t2N, t3N;
-#if defined(TARG_X8664) && 1
- if (type == MTYPE_V16C8)
- type = MTYPE_C8;
-#endif
-
TYPE_ID rtype = Mtype_complex_to_real(type);
zN = AssignExpr(block,WN_Realpart(rtype,WN_LdidPreg(type,zN_in)),rtype);
------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk
Collect, index and harness all the fast moving IT data generated by your
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights.
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Open64-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open64-devel