Is there any ARM CPU specific optimzation in Microsoft pre-built binaries?



Hi,

I have some questions on the sort of CPU specific optimizations that
Microsoft OS/Apps perform/enable at built/runtime. Wonder greatly
appreciate any information for the questions below:

1. What Microsoft OS/Apps use the IsProcessorFeaturePresent() to enable
ARM cpu specific optimizations at runtime?
Currently the only instance I find in WinCE5.0 is in
Public/Common/Oak/Cpulibs/Arm/Genblt. From what I trace, this
eventually ends up in the GPE class. However the source shows only
ARMV4 support although ARMV5 support seem to be indicated in MSDN help
:
http://msdn.microsoft.com/library/en-us/wceddk5/html/wce50tskImplementingGenBltCpuInitialize.asp

2. Is the PF_ARM_V5 flag being used by Microsoft for their
optimizations? Same question goes for the other ARM specific
flags(Jazelle, thumb, cache related etc). Details see
http://msdn.microsoft.com/library/en-us/wcekernl/html/cerefisprocessorfeaturepresent.asp

3. For ARMV5 optimizations, is the PLD instruction being heavily
utilised? If this instruction was not supported, will that cause a
significant degration in the optimizations?

4. Is there any ARMV5 optimization in WinCE4.2?

5. If I were to implement IsProcessorFeaturePresent(), do I return TRUE
for both PF_ARM_V4 and PF_ARM_V5 if my processor has a ARMV5 core?
Would I lose any optimization if I return PF_ARM_V5 only?
Help:
http://msdn.microsoft.com/library/en-us/wcehardware5/html/wce50lrfPOEMIsProcessorFeaturePresent.asp

Regards,
Hei

.



Relevant Pages

  • Re: [BUG] x86 kenel wont boot under Virtual PC
    ... Instead of just including optimizations for the selected ... The kernel will not necessarily run on earlier architectures ... I thought you agreed that CPU virtualization can be a problem? ... exactly how does the kernel fail to boot with latest -git? ...
    (Linux-Kernel)
  • Re: [BUG] x86 kenel wont boot under Virtual PC
    ... optimizations have historically really been about _optimizing_, ... those exceptions have been way more imporant than NOPL). ... actually enables EMBEDDED and does all his choices by hand should no ... The difference between a kernel compiled for generic and once compiled for a specific CPU can be very significant. ...
    (Linux-Kernel)
  • Re: -Os versus -O2
    ... On what CPU? ... different tricks to avoid poor optimizations, and at the end, the CPU ... Well you better report those! ... a kernel which is about 300 kB, or 700 kB with the initramfs. ...
    (Linux-Kernel)
  • Re: Design Advice to avoid Gen 2 collections
    ... > test machines that is comparable in RAM and CPU to my main servers. ... > optimizations. ... you've done some measurements. ...
    (microsoft.public.dotnet.framework.clr)
  • Re: [BUG] x86 kenel wont boot under Virtual PC
    ... Under that logic we shouldn't even have CPU configurables, ... Instead of just including optimizations for the selected ... The kernel will not necessarily run on earlier architectures than ...
    (Linux-Kernel)