Closed Bug 942561 Opened 11 years ago Closed 5 months ago

ARM, build with -mhard-float

Categories

(Core :: JavaScript Engine, defect)

ARM
Android
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: dougc, Unassigned)

Details

The Android NDK r9b offers an approach for building an application with the -mhard-float compilation option while still linking to system libraries that use the soft-float convention.

Functions in the Android system header files that take or return fp values have a __attribute__((pcs("aapcs"))) declaration and thisforces the use of softfp ABI even when the application is compiled with -mhard-float.

This offers a path to building FF for Android and FxOS with the hard-float ABI which might help performance.  It would still need to use the softfp ABI when calling Android system libraries, even libm.

Given that FxOS proprietary system libraries likely depend on other system libraries it may still not be practical to build the non-proprietary system libraries with the -mhard-float option, but if it really helped performance then it might be practical to have a separate libm hard-float build to be linked with the b2g application.
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.