Community
cancel
Showing results for 
Search instead for 
Did you mean: 
hongqiu
Beginner
81 Views

DAZ is cleared after ippsSqrt_32f() is called

At the begining of my program, I set the DAZ flag.
In my program, I use many IPP floating functions.
But I find DAZ is cleared after ippsSqrt_32f() is called.
The input data of ippsSqrt_32f() is not denormal dat.
I wonder whetherippsSqrt_32f() will turn off the DAZ flag?

If I write a very easy program which have only done DAZ setting,ippsSqrt_32f() and _mm_getcsr.
The DAZ will not be cleared.
It is so strange. Can anyone help me?

I use _mm_getcsr to see the DAZ flag.
The IPP version I used is 6.1.2.051/IA32.
0 Kudos
4 Replies
Chao_Y_Intel
Employee
81 Views


Hello,

Our engineer owner will have a check about this function. Anyway, if you could provide a test code, it will help much to investigate the problem.

Thanks,
Chao
Chao_Y_Intel
Employee
81 Views


Hi,

The engineer owner identified a bug about function, it will be fixed in the future versions. Thanks for your report.


Chao
gol
Beginner
81 Views

I confirm this. I never saw that because I also have FTZ set. I'm the one who once pointed that IppsSqrt didn't like denormals at all (output was garbage), so most likely this flaw resulted from the fix.
Chao_Y_Intel
Employee
81 Views

Hello,

for these who use the function:this problem was fixed inIPP 7.0 gold release.

Thanks,
Caho
Reply