New user self-registration is disabled due to spam. Please email eigen-core-team @ lists.tuxfamily.org if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
Bug 895 - Port MathFunctions.h to AVX (and possibly other architectures)
Summary: Port MathFunctions.h to AVX (and possibly other architectures)
Status: RESOLVED FIXED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - vectorization (show other bugs)
Version: 3.3 (current stable)
Hardware: x86 - AVX All
: Normal Feature Request
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 3.3
  Show dependency treegraph
 
Reported: 2014-10-20 14:06 UTC by Christoph Hertzberg
Modified: 2015-02-14 01:57 UTC (History)
4 users (show)



Attachments
AVX version of the pexp/plog/psqrt math functions (10.56 KB, patch)
2014-10-20 20:15 UTC, Benoit Steiner
no flags Details | Diff
AVX version of the sine function (3.47 KB, text/plain)
2015-02-11 23:29 UTC, Benoit Steiner
no flags Details

Description Christoph Hertzberg 2014-10-20 14:06:02 UTC
With some effort, we can make the current implementation more generic and avoid code duplication by sharing it for all feasible architectures. Maybe even for HalfPackets and Packets (relevant especially for AVX).

I guess overall this is easy enough to be implemented for 3.3
Comment 1 Benoit Steiner 2014-10-20 20:15:36 UTC
Created attachment 501 [details]
AVX version of the pexp/plog/psqrt math functions
Comment 2 Gael Guennebaud 2014-10-20 22:56:33 UTC
Thank you Benoit for sharing them.
Comment 3 Benoit Steiner 2015-02-11 23:29:50 UTC
Created attachment 542 [details]
AVX version of the sine function
Comment 4 Gael Guennebaud 2015-02-12 22:09:12 UTC
Benoit, feel free to push them upstream.
Comment 5 Benoit Steiner 2015-02-14 01:57:28 UTC
Done in commit af4780a, closing this bug.

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