Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software
- Software Development SDKs and Libraries
- Intel® Integrated Performance Primitives
- Overflow undetected in ippsAdd_64f_A53 and related functions

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

S__Mark

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

07-24-2018
05:32 AM

78 Views

Overflow undetected in ippsAdd_64f_A53 and related functions

Hello, the attached C++ program illustrates that overflow is

not correctly detected in IPP real vector arithmetic operations

involving addition, subtraction, multiplication and division.

The affected routines are:

vector-vector

ippsAdd_64f_A53

ippsSub_64f_A53

ippsMul_64f_A53

ippsDiv_64f_A53

vector-scalar

ippsAddC_64f

ippsSubC_64f

(and mul div variants)

scalar-vector

ippsSubCRev_64f

I have not tested the float versions ippsAdd_32f etc.

The complex versions ippsAdd_64fc etc appear to work fine.

The vector-scalar and scalar-vector routines signal an error

through fetestexcept so that can be used instead of IppStatus.

However the error in the vector-vector functions is not signalled.

Example output:

ippCore2018.0.3 (r58644)

ippsAdd_64f_A53:

ippStsNoErr: No errors

fetestexcept: No errors

ippsSub_64f_A53:

ippStsNoErr: No errors

fetestexcept: No errors

ippMul_64f_A53:

ippStsNoErr: No errors

fetestexcept: No errors

ippDiv_64f_A53:

ippStsNoErr: No errors

fetestexcept: No errors

ippsAddC_64f:

y = 1.79769e+308

ippStsNoErr: No errors

fetestexcept: Error detected

ippsSubC_64f:

y = -1.79769e+308

ippStsNoErr: No errors

fetestexcept: Error detected

iippsSubCRev_64f:

y = 1.79769e+308

ippStsNoErr: No errors

fetestexcept: Error detected

Best wishes.

Link Copied

2 Replies

S__Mark

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

07-24-2018
05:50 AM

78 Views

There is a similar problem in multiplication ippsMul_64f_A53

Gennady_F_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

07-24-2018
07:27 PM

78 Views

thanks Mark, we will check and back asap.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.