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

illigal instruction crash with ipp 2017.0.3

Aleksandr_B_
Beginner
291 Views

Hi,

When I ran my program (32 bit) which makes use of modern ipp libraries (2017.0.3 static libraries) on a PC with Intel Core2 Duo CPU (Windows 8) I got illigal instruction crash. Tracing down in VS2015 with disassembler showed that the program crashed at pmulld instruction in function _s8_ownFilterBorderConvert32s_8u (this function was eventually called from ippiFilterBorder_8u_C1R function) which is strange because pmulld instruction is from SSE4 extension. Then I disassembled ippimt.lib with dumpbin utility and again found pmulld in the code of the _s8_ownFilterBorderConvert32s_8u function.

Is it the ipp library bug or am I doing something wrong ?

0 Kudos
2 Replies
Andrey_B_Intel
Employee
291 Views

Hi Aleksander.

You are right and I can confirm your issue.

Could you try hint ippRndHintAccurate in ippiFilterBorderInit?

roundMode =  ippRndNear | ippRndHintAccurate

for CPU without SSE4.1?

Thanks.

0 Kudos
Aleksandr_B_
Beginner
291 Views

Hi Andrey.

roundMode =  ippRndNear works fine (previously it was ippRndHintAccurate and the program crashed).

Thank you for your assistance.

0 Kudos
Reply