mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Add references to filed LLVM bugs
This commit is contained in:
parent
3bd16457e1
commit
cd2b667ac8
@ -179,6 +179,8 @@ template<> EIGEN_STRONG_INLINE Packet4i pdiv<Packet4i>(const Packet4i& /*a*/, co
|
|||||||
|
|
||||||
// Clang/ARM wrongly advertises __ARM_FEATURE_FMA even when it's not available,
|
// Clang/ARM wrongly advertises __ARM_FEATURE_FMA even when it's not available,
|
||||||
// then implements a slow software scalar fallback calling fmaf()!
|
// then implements a slow software scalar fallback calling fmaf()!
|
||||||
|
// Filed LLVM bug:
|
||||||
|
// https://llvm.org/bugs/show_bug.cgi?id=27216
|
||||||
#if (defined __ARM_FEATURE_FMA) && !(EIGEN_COMP_CLANG && EIGEN_ARCH_ARM)
|
#if (defined __ARM_FEATURE_FMA) && !(EIGEN_COMP_CLANG && EIGEN_ARCH_ARM)
|
||||||
// See bug 936.
|
// See bug 936.
|
||||||
// FMA is available on VFPv4 i.e. when compiling with -mfpu=neon-vfpv4.
|
// FMA is available on VFPv4 i.e. when compiling with -mfpu=neon-vfpv4.
|
||||||
@ -195,6 +197,8 @@ template<> EIGEN_STRONG_INLINE Packet4f pmadd(const Packet4f& a, const Packet4f&
|
|||||||
// -march=armv7-a, that is a very common case.
|
// -march=armv7-a, that is a very common case.
|
||||||
// See e.g. this thread:
|
// See e.g. this thread:
|
||||||
// http://lists.llvm.org/pipermail/llvm-dev/2013-December/068806.html
|
// http://lists.llvm.org/pipermail/llvm-dev/2013-December/068806.html
|
||||||
|
// Filed LLVM bug:
|
||||||
|
// https://llvm.org/bugs/show_bug.cgi?id=27219
|
||||||
Packet4f r = c;
|
Packet4f r = c;
|
||||||
asm volatile(
|
asm volatile(
|
||||||
"vmla.f32 %q[r], %q[a], %q[b]"
|
"vmla.f32 %q[r], %q[a], %q[b]"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user