New user self-registration is currently disabled. Please email eigen-core-team @ lists.tuxfamily.org if you need an account.
Bug 1190 - Clang/ARM falsely advertises __ARM_FEATURE_FMA regardless of its actual availability
Clang/ARM falsely advertises __ARM_FEATURE_FMA regardless of its actual avail...
Status: RESOLVED FIXED
Product: Eigen
Classification: Unclassified
Component: Core - vectorization
3.3 (current stable)
ARM - NEON Android
: Normal Unknown
Assigned To: Nobody
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-04 20:34 UTC by Benoit Jacob
Modified: 2016-04-05 14:08 UTC (History)
4 users (show)



Attachments

Description Benoit Jacob 2016-04-04 20:34:27 UTC
...and then generates slow emulation code as the instruction isn't available.

The only work-around for that is going to be to disable FMA on Clang/ARM.

Affected Clang versions: at least Clang 3.8.  (note though that 3.5 didn't seem to be affected).
Comment 2 Benoit Jacob 2016-04-05 14:08:22 UTC
Filed LLVM bug:
https://llvm.org/bugs/show_bug.cgi?id=27216

Note You need to log in before you can comment on or make changes to this bug.