Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Determine the processor capabilities at run time

I have written some Assembly code for parallel processing using ARM Wireless MMX technology and it runs fine on devices with processors (Intel XScale processors) that support MMX. But on devices with processors (Qualcomm processors) that do not support MMX, the code crashes.

Is there any way to determine the processor capabilities at run time and run my code only if the processor supports Wireless MMX?

Ideally I'm looking for Windows CE APIs to determine the processor extensions. I have tried the standard APIs like GetSystemInfo() that tell us the processor type but they doesn't give the details about processor extensions.

like image 527
AndroidDev Avatar asked Feb 13 '26 21:02

AndroidDev


1 Answers

If available I'd recommend calling IsProcessorFeaturePresent(PF_ARM_INTEL_WMMX).

like image 183
user786653 Avatar answered Feb 15 '26 14:02

user786653



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!