From: "Dr. Matthias Kretz" <m.kretz@gsi.de>
To: <trodgers@redhat.com>
Cc: <libstdc++@gcc.gnu.org>
Subject: Re: [PATCH] std::experimental::simd
Date: Thu, 24 Oct 2019 08:26:00 -0000 [thread overview]
Message-ID: <14556481.NSKB24ey0H@excalibur> (raw)
In-Reply-To: <10916085.4XdQGCaa7L@depc447>
On Montag, 14. Oktober 2019 14:12:12 CEST Matthias Kretz wrote:
> This patch is without documentation and testsuite. I can add them on request
> but would prefer a follow-up patch after getting this one right.
Regarding tests, here's what I think a "consumer test" should cover:
1. compiler flags
- `-march=native -O2`
2. element types
- char
- uint8_t
- int
- float
- double
3. operations
- broadcast ctor
- generator ctor
- all operators
- compares
- mask reductions
- non-converting loads & stores
- non-converting masked loads & stores
- horizontal reductions
- math: 1024 input values, comparing fun(T) against fun(simd<T>)
- conversions:
* char <-> int
* uint8_t <-> int
* uint8_t <-> float
* int <-> float
* int <-> double
* float <-> double
4. ABI tags:
- scalar
- fixed_size<{2, 3, 4, 6, 8, 12, 16, 32}>
- deduce_t<T, {2, 3, 4, 6, 8, 12, 16, 32}> (if different from fixed_size)
- deduce_t<T, 64> for AVX512BW targets
- compatible (if different from above)
- native (if different from above)
Note that 1-4 are orthogonal and already span a huge space. I'm sure we need
to reduce this list, not expand.
--
──────────────────────────────────────────────────────────────────────────
Dr. Matthias Kretz https://mattkretz.github.io
GSI Helmholtzzentrum für Schwerionenforschung https://gsi.de
SIMD easy and portable https://github.com/VcDevel/Vc
──────────────────────────────────────────────────────────────────────────
next prev parent reply other threads:[~2019-10-24 8:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-14 12:12 Matthias Kretz
2019-10-15 3:52 ` Thomas Rodgers
2019-10-24 8:26 ` Dr. Matthias Kretz [this message]
2020-02-10 16:49 ` Thomas Rodgers
2020-02-10 20:14 ` Thomas Rodgers
2020-01-07 11:01 ` Matthias Kretz
2020-01-07 11:17 ` Andrew Pinski
2020-01-07 13:19 ` Dr. Matthias Kretz
[not found] ` <3486545.znU0eCzeS4@excalibur>
[not found] ` <xkqeo8qyl8y8.fsf@trodgers.remote>
2020-05-08 19:03 ` Matthias Kretz
2020-11-11 23:43 ` Jonathan Wakely
2020-11-14 1:11 ` Matthias Kretz
2020-11-15 19:11 ` Matthias Kretz
2020-12-10 21:13 ` Matthias Kretz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14556481.NSKB24ey0H@excalibur \
--to=m.kretz@gsi.de \
--cc=libstdc++@gcc.gnu.org \
--cc=trodgers@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).