Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

DAZ is cleared after ippsSqrt_32f() is called

hongqiu
Beginner
479 Views
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
Moderator
479 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
0 Kudos
Chao_Y_Intel
Moderator
479 Views

Hi,

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


Chao
0 Kudos
gol
Beginner
479 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.
0 Kudos
Chao_Y_Intel
Moderator
479 Views
Hello,

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

Thanks,
Caho
0 Kudos
Reply