Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5116
Modified Files: Tag: devel_0_37 s_main.c Log Message: switch on daz and ftz if available
Index: s_main.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_main.c,v retrieving revision 1.1.1.4.2.15 retrieving revision 1.1.1.4.2.16 diff -C2 -d -r1.1.1.4.2.15 -r1.1.1.4.2.16 *** s_main.c 9 Sep 2004 20:05:03 -0000 1.1.1.4.2.15 --- s_main.c 20 Sep 2004 13:42:58 -0000 1.1.1.4.2.16 *************** *** 306,309 **** --- 306,318 ---- #endif /* THREDED_SF */
+ /* tb: try to set ftz and daz */ + #if defined(_MM_FLUSH_ZERO_ON) && defined(_MM_MASK_UNDERFLOW) + _mm_setcsr(_MM_FLUSH_ZERO_ON | _MM_MASK_UNDERFLOW | _mm_getcsr()); + #endif + + #if defined(_MM_DENORM_ZERO_ON) + _mm_setcsr(_MM_DENORM_ZERO_ON | _mm_getcsr()); + #endif + /* run scheduler until it quits */ ret = m_scheduler();