Port EIGEN_OPTIMIZATION_BARRIER to soft float arm

Reference issue

Currently Eigen does not build if the -march CFLAG is set to "armv6j+nofp". This is happening because a "w" inline asm constraint is used.

What does this implement/fix?

This change detects no-floating-point-hw targets using the __ARM_FP macro, and avoids the "w" constraint accordingly.

Additional information

Edited by David Gao

Merge request reports

Loading