Bugzilla – Attachment 942 Details for
Bug 1718
Use of builtin vec_sel is ambiguous when compiling with Clang for PowerPC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
This bugzilla service is closed. All entries have been migrated to
https://gitlab.com/libeigen/eigen
[patch]
patch
patch (text/plain), 884 bytes, created by
João Paulo Labegalini de Carvalho
on 2019-05-21 12:06:58 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
João Paulo Labegalini de Carvalho
Created:
2019-05-21 12:06:58 UTC
Size:
884 bytes
patch
obsolete
>diff --git a/Eigen/src/Core/arch/AltiVec/PacketMath.h b/Eigen/src/Core/arch/AltiVec/PacketMath.h >index 4b770d036..bae9cb172 100755 >--- a/Eigen/src/Core/arch/AltiVec/PacketMath.h >+++ b/Eigen/src/Core/arch/AltiVec/PacketMath.h >@@ -452,7 +452,8 @@ template<> EIGEN_STRONG_INLINE Packet4f pandnot<Packet4f>(const Packet4f& a, con > template<> EIGEN_STRONG_INLINE Packet4i pandnot<Packet4i>(const Packet4i& a, const Packet4i& b) { return vec_and(a, vec_nor(b, b)); } > > template<> EIGEN_STRONG_INLINE Packet4f pselect(const Packet4f& mask, const Packet4f& a, const Packet4f& b) { >- return vec_sel(b, a, mask); >+ const Packet4ui _mask = reinterpret_cast<Packet4ui>(vec_cmpeq(reinterpret_cast<Packet4ui>(mask), reinterpret_cast<Packet4ui>(p4i_ONE))); >+ return vec_sel(b, a, _mask); > } > > template<> EIGEN_STRONG_INLINE Packet4f pround<Packet4f>(const Packet4f& a) { return vec_round(a); }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1718
:
941
| 942 |
943