Public bug reported:
26-armv7-not-neon.patch breaks enabling NEON when targetting hardfloat
ABI.
The offending chunk is
+ // FIXME: hideous hack for precise, REMOVE THIS AND FIX PROPERLY OH GOD
+ if (FloatABI == "hard") {
+ CmdArgs.push_back("-target-feature");
+ CmdArgs.push_back("+vfp3");
+ CmdArgs.push_back("-target-feature");
+ CmdArgs.push_back("+d16");
+ CmdArgs.push_back("-target-feature");
+ CmdArgs.push_back("-neon");
+ }
Presumably this was intended to be added before any options from user
flags, but it is not, and the final -target-feature -neon forces NEON to
be disabled regardless of what flags the user specifies.
** Affects: clang (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1053218
Title:
Unable to enable NEON and hardfloat
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1053218/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs