Author: dgilmore Date: 2011-02-21 18:47:21 -0500 (Mon, 21 Feb 2011) New Revision: 3484
Modified: trunk/osprey/be/com/emulate.cxx Log: 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 22:44:19 UTC (rev 3483) +++ trunk/osprey/be/com/emulate.cxx 2011-02-21 23:47:21 UTC (rev 3484) @@ -2664,7 +2664,7 @@ static WN *em_complex_sqrt_preg(WN *block, TYPE_ID type, PREG_NUM zN_in) { PREG_NUM ziN, zN, absN, t1N, t2N, t3N; -#ifdef TARG_X8664 +#if defined(TARG_X8664) && 1 if (type == MTYPE_V16C8) type = MTYPE_C8; #endif ------------------------------------------------------------------------------ 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 Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel