[PATCH] Implementation of std::experimental::simd of TS 19570 ed.2

Matthias Kretz m.kretz@gsi.de
Mon Mar 11 16:52:00 GMT 2019


Hi,

attached is a major update to the previous patch that compiles and passes on 
skylake, skylake-avx512, aarch64 armv8 (as far as I could test) and seems to 
compile fine (without explicit SIMD support) for POWER9.

I reorganized, underscored, and reformatted the code a lot. And there's still 
a lot more to do for full coding style conformance.

The license headers call out the copyright of GSI (my employer) with a BSD-3 
license. We still have not completed the process of Copyright Assignment. I 
hope BSD-3 is good enough for an initial experimental release.

Cheers,
  Matthias

On Freitag, 9. November 2018 01:45:45 CET Matthias Kretz wrote:
> Hi,
> 
> the attached patch implements section 9 of the (about to be published) C++
> Parallelism TS ed.2 (latest WD at
> http://www.open-std.org/jtc1/sc22/wg21/docs/ papers/2018/n4773.pdf)
> 
> The code has been extensively tested for x86_64 and needs some more work to
> work (not necessarily at full efficiency) for other targets.
> 
> The integration of the code into the libstdc++ tree is untested. However, it
> is header-only at this point, so it might just work (it never does, though,
> does it?).
> Especially the full integration of my tests is a challenge, but I guess we
> can start small and expand the number of tests.
> 
> I also will have to work some more on naming convention.
> 
> Copyright assignment forms are in progress (I sent my part, but my employers
> part is still under way).
> 
> Cheers,
>   Matthias


-- 
──────────────────────────────────────────────────────────────────────────
 Dr. Matthias Kretz                                https://kretzfamily.de
 GSI Helmholtzzentrum für Schwerionenforschung             https://gsi.de
 SIMD easy and portable                     https://github.com/VcDevel/Vc
──────────────────────────────────────────────────────────────────────────
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simd_190311.patch
Type: text/x-patch
Size: 912785 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190311/feaa38f1/attachment.bin>


More information about the Libstdc++ mailing list