Mobile/Build/VFP

From MozillaWiki
< Mobile‎ | Build
Jump to: navigation, search

VFP

[http://en.wikipedia.org/wiki/ARM_architecture#VFP]


Windows Mobile

We have disabled VFP on Windows mobile due to lack of operating system support. Please see http://support.microsoft.com/kb/960413 for more information.

If you would like to enable VFP support, you must ensure that both Operating System and CPU supports VFP or you will crash and hate yourself for not listening to this warning.

To enable VFP,

  • add -Qfpe- to your mozconfig. This will compile without any FP emulation and generate VFP instructions.
  • in the js tracer code, there is a test called "js_arm_try_vfp_op" which you must also modify. Currently, this test always returns false for Windows Mobile. [see [1]]