Hi,
I am working on Windows Mobile Pocket PC 5.0 Emulator.I am working
on Visual Studio 2005 .
We are converting inline assembly to separate assembly functions and
meanwhile we encountered an exception at SMULWB instruction.
I got information from internet that WindowsCE doesnt support ARMv5
instructions only ARMv4.Is this true ?
I found that there are ARM DSP-enhanced Intrinsic Functions like
_SmulAddWLo_SW_SL are available.
1) But when i use the function in .c files,its building fine but
while running in emulator throwing the following error
Undefined Instruction: Thread=97529938 Proc=814c6e30 'mp3_encoder.exe'
AKY=00002001 PC=00056800(mp3_encoder.exe+0x00046800)
RA=00056860(mp3_encoder.exe+0x00046860) BVA=1c17f6fc FSR=00000405
Unhandled exception at 0x00056800 in mp3_encoder.exe: 0xC000001D:
Illegal Instruction.
The program '[57b4bc2a] mp3_encoder.exe' has exited with code 1067
(0x42b).
2) But when i use the function in .asm or .s files,its throwing
linker error like " Unresolved external Symbol"
what might be the problem ?
3) But when CLZ (which is a ARMv5 instruction) is replaced with
_CountLeadingZeros intrinsic in assembly file(.s and .asm ),its
building and running fine.
i havenot seen anywhere any discussion regarding the topic in the
internet. Hope experts can help me ?
If nobody has faced the situation,hope Microsoft guys will look into
this topic as the subject hasnot been addressed till now.
Thanking you