about Illegal Instruction error in process of IJG sample program running

about Illegal Instruction error in process of IJG sample program running

Nice to meet you.

I have a question about using ipp5.0 under vs2005 complier.

The Ipp file name that we are using is w_ipp_pca_wmmx_p_5.0.2.001.exe.

Unfortunately, I don't have enough information about this file. But I guess this Ipp file may be used for a wireless device composed of pca processor.

After setting up this Ipp file, I got the sample program from this site.

As you know, that is IJG sample program for Ipp5.0.

My programming environment is below:

- Visual studio 2005(pocket pc 2003 ARMV4 emulator,)
- PC: intel pentium processor 2.13GHz

The error message is below:

Unhandled exception at 0x000f13f8 in jpeg_ipp50.exe: 0xC000001D: Illegal Instruction.

I found where an error occurred as below:

status = ippiDecodeHuffman8x8_Direct_JPEG_1u16s_C1(
cinfo->src->next_input_byte,
&src_bits_len,
(Ipp16s*)&block[0],
(Ipp16s*)&state.last_dc_val[ci],
&cinfo->unread_marker,
&prefetched_bits,
&num_valid_prefetched_bits,
dctbl->pHuffTbl,
actbl->pHuffTbl);
00024E38 ldr r3, [sp, #0x48]
00024E3C add r3, r3, #0x59, 28
00024E40 ldr r3, [r3]
00024E44 str r3, [sp, #0x10]
an omission of several asm-instructions.
00024E9C ldr r0, [r0]
00024EA0 bl 000F1308
ippiDecodeHuffman8x8_Direct_JPEG_1u16s_C1:
000F1308 stmdb sp!, {r4 - r11, lr}
000F130C ldr r4, [sp, #0x24]
000F1310 ldr r5, [sp, #0x28]
000F1314 ldr r6, [sp, #0x2C]
an omission of several asm-instructions.
000F13E4 str r12, [r10], #4
000F13E8 subs r11, r11, #0x20
000F13EC bgt 000F13C8
000F13F0 ldr r1, [r1]
000F13F4 ldr r4, [r4]
000F13F8 ldc p1, c0, [r5] => At this point, the error occurred

Please let me know why such problems take place.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,

could you please submitt yourissue report through Intel Premier Support, so our engineers will look at it?

Regards,
Vladimir

Leave a Comment

Please sign in to add a comment. Not a member? Join today