Antonio Sánchez
41e848c558
Support AVX for i686.
...
<!--
Thanks for contributing a merge request!
We recommend that first-time contributors read our [contribution guidelines](https://eigen.tuxfamily.org/index.php?title=Contributing_to_Eigen ).
Before submitting the MR, please complete the following checks:
- Create one PR per feature or bugfix,
- Run the test suite to verify your changes.
See our [test guidelines](https://eigen.tuxfamily.org/index.php?title=Tests ).
- Add tests to cover the bug addressed or any new feature.
- Document new features. If it is a substantial change, add it to the [Changelog](https://gitlab.com/libeigen/eigen/-/blob/master/CHANGELOG.md ).
- Leave the following box checked when submitting: `Allow commits from members who can merge to the target branch`.
This allows us to rebase and merge your change.
Note that we are a team of volunteers; we appreciate your patience during the review process.
-->
### Description
<!--Please explain your changes.-->
Support AVX for i686.
There was an existing work-around for windows. Added the more generic
architecture comparison to also apply for linux.
### Reference issue
<!--
You can link to a specific issue using the gitlab syntax #<issue number>.
If the MR fixes an issue, write "Fixes #<issue number>" to have the issue automatically closed on merge.
-->
Fixes #2991 .
Closes #2991
See merge request libeigen/eigen!2037
(cherry picked from commit 8e60d4173c )
2025-10-27 09:48:15 -07:00
Saran Tunyasuvunakool
55d059108e
Add a missing #include <version> to Core.
...
(cherry picked from commit db02f97850 )
2025-10-27 09:47:32 -07:00
Antonio Sanchez
bdacccda15
Grammar fix "must has" --> "must have".
...
(cherry picked from commit 52358cb93b )
2025-10-27 09:47:04 -07:00
Charlie Schlosser
9ad6809b32
assume_aligned uses bytes not bits
...
(cherry picked from commit cd4f989f8f )
2025-10-27 09:46:30 -07:00
Damiano Franzò
0f80c3d7e5
Fix jacobi svd for TriangularBase
...
(cherry picked from commit 5bc944a3ef )
2025-10-27 09:46:04 -07:00
Antonio Sánchez
6c1a886042
Add workaround for using std::fma for scalar multiply-add.
...
(cherry picked from commit ef3c5c1d1d )
2025-10-27 09:45:41 -07:00
Charles Schlosser
a34d8eee5c
Fix alignment bug in avx pcast<Packet4l, Packet4d>
...
(cherry picked from commit 5996176b88 )
2025-10-27 09:45:26 -07:00
Laurenz
92d5da40ac
Fix SSE PacketMath Compilation Error on QNX
...
(cherry picked from commit 4bd382df56 )
2025-10-27 09:45:08 -07:00
Charles Schlosser
b5848287be
fix errors in windows builds and tests
...
(cherry picked from commit 13bd14974d )
2025-10-27 09:44:55 -07:00
Antonio Sánchez
4abf3bd540
Update dev version number.
...
(cherry picked from commit ccde35bcd5 )
2025-10-27 09:40:18 -07:00
Sergiu Deitsch
b89b549f96
Eliminate possible -Wstringop-overflow warning in .setZero()
...
(cherry picked from commit 32b0f386bc )
2025-10-27 09:39:01 -07:00
Jeremy Nimmer
b27f784ca5
Fix scalar_inner_product_op when binary ops return a different type
2025-10-06 18:19:59 +00:00
Antonio Sánchez
514221aee5
Update geo_homogeneous test, add eval() to PermutationMatrix.
...
(cherry picked from commit 4916887f2c )
2025-10-02 10:09:37 -07:00
Eugene Zhulenev
b60f763ec0
The 'CompressedStorageIterator<>' needs to satisfy the RandomAccessIterator
...
(cherry picked from commit 5c1029be1a )
2025-10-02 10:08:49 -07:00
Charlie Schlosser
151b95d078
bump to 5.0.0
2025-09-28 00:24:17 -07:00
Sergiu Deitsch
8d7ebac6ec
Disambiguate multiplication of a permutation matrix and a homogeneous vector
2025-09-27 14:05:28 +02:00
Charles Schlosser
bea7f7c582
SparseMatrixBase: delete redundant/shadowed typedef
2025-09-26 09:32:28 +00:00
Charles Schlosser
dbd25f632b
Fix select: return typed comparisons if vectorized
2025-09-24 05:38:12 +00:00
Sergiu Deitsch
4df215785b
Support matrix multiplication of homogeneous row vectors
2025-09-23 14:56:28 +00:00
Rasmus Munk Larsen
2d170aea11
Define pcmp_le generically in terms of pcmp_eq and pcmp_lt.
2025-09-23 14:34:57 +00:00
Sergiu Deitsch
ea869e183b
Add missing bool SSE2 PacketMath comparison
2025-09-22 21:28:45 +02:00
Sergiu Deitsch
14477c5d43
Replace deprecated std::is_trivial by an internal definition
2025-09-22 16:59:10 +00:00
Sergiu Deitsch
62fbd276e0
Provide hints for deprecated functionality
2025-09-22 16:00:42 +00:00
Mark Shachkov
d38d669fdb
Fix real schur exceptional shift
2025-09-22 15:57:14 +00:00
Antonio Sánchez
a627f72cd6
Add "Version" file and update version.
2025-09-20 02:08:59 +00:00
Evan Porter
6cd6284f7f
Make the sparse matrix printer pretty
2025-09-08 20:05:46 +00:00
Antonio Sanchez
f426eff949
Add inline/device-function attributes to fma.
2025-09-02 22:51:35 +00:00
Antonio Sánchez
da1a34a6ba
Zero-out matrix for empty set of triplets.
2025-09-02 22:51:17 +00:00
Evan Porter
52fc978c6f
fixed typo sparcity -> sparsity
2025-09-02 19:34:43 +00:00
Antonio Sánchez
8a8fbc8f5e
Don't enable AVX for wasm.
2025-08-29 21:50:25 +00:00
Antonio Sánchez
7f0cb638c5
Specialize numext::madd for half/bfloat16.
2025-08-29 18:11:25 +00:00
Antonio Sánchez
1e9d7ed7d3
Add missing semicolon to has_fma definitions to fix GPU builds.
2025-08-29 17:19:28 +00:00
Antonio Sánchez
2e8cc042a1
Replace calls to numext::fma with numext:madd.
2025-08-28 21:40:19 +00:00
Charles Schlosser
38b51d5b7e
Mitigate setConstant regression with custom scalars
2025-08-26 20:04:17 +00:00
Antonio Sanchez
d2a70fe4e2
Make permutation products aliasing by default.
2025-08-25 18:39:06 +00:00
Antonio Sánchez
4ae5647355
Fix direct index aliased assignment.
2025-08-25 18:17:18 +00:00
Antonio Sánchez
1a45d2168e
Fix use of FMA in triangular solver for boost multiprecision.
2025-08-25 18:05:22 +00:00
Tyler Veness
d368998120
Fix MSVC error about missing std::bit_cast
2025-08-23 22:25:52 +00:00
Aleksei Nikiforov
c487a4fe9e
Clean up most of testsuite on s390x
2025-08-15 20:04:25 +00:00
Charles Schlosser
4033cfcc1d
Fix dangling reference in VectorwiseOp::iterator: Episode II: The Dependent Typedef Strikes Back
2025-08-14 16:30:19 +00:00
Charles Schlosser
e9dfbad618
Fix dangling reference in VectorwiseOp::iterator
2025-08-14 00:04:01 +00:00
Charles Schlosser
43a65a9cbd
add RealView api
2025-08-12 16:55:05 +00:00
Artem Bishev
e15cd620a0
Remove select class
2025-08-10 17:44:09 +00:00
Cheng Wang
1c0048a08c
Fix inconsistency between ptrue and pcmp_* in HVX
2025-08-09 19:32:30 +00:00
Artem Bishev
ddce1d7d12
Fixes #2952
2025-08-07 16:58:22 +00:00
Tyler Veness
8b9dbcdaaf
Fix numext::bit_cast() compilation failure in C++20
2025-08-07 00:03:33 +00:00
Rasmus Munk Larsen
975a5aba4f
Fix TODO: Use std::bit_cast or __builtin_bit_cast if available.
2025-08-06 19:00:08 +00:00
Rasmus Munk Larsen
4be7e6b4e0
Fix pcmp_* for HVX to comply with the new definition of true = Scalar(1)
2025-08-04 20:56:24 +00:00
Antonio Sanchez
e4493233e8
Fix EIGEN_OPTIMIZATION_BARRIER for clang-cl
2025-07-31 17:02:43 +00:00
Charles Schlosser
f5ead2d34c
Fix intel packet math header inclusion order
2025-07-29 01:00:37 +00:00