https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
--- Comment #12 from Matthias Kretz ---
(In reply to Jakub Jelinek from comment #11)
> [...] though for 8x conversions we
> are e.g. on x86 already outside of the realm of natively supported vectors
> (we don't really want MMX and for 1024 bit an
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
--- Comment #10 from Jakub Jelinek ---
Author: jakub
Date: Mon Jan 7 08:49:08 2019
New Revision: 267632
URL: https://gcc.gnu.org/viewcvs?rev=267632&root=gcc&view=rev
Log:
PR c++/85052
* tree-vect-generic.c: Include insn-config.h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
--- Comment #9 from Matthias Kretz ---
(In reply to Devin Hussey from comment #7)
> Wait, silly me, this isn't about optimizations, this is about patterns.
Regarding optimizations, PR85048 is a first step (it lists all x86
single-instruction SIM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
--- Comment #8 from Jakub Jelinek ---
Note, I've posted in the meantime a newer version of the patch that should
handle the 2x narrowing or 2x widening cases better, see
https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00129.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
--- Comment #7 from Devin Hussey ---
Wait, silly me, this isn't about optimizations, this is about patterns.
It does the same thing it was doing for this code:
typedef unsigned u32x2 __attribute__((vector_size(8)));
typedef unsigned long long u
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
--- Comment #6 from Devin Hussey ---
The patch seems to be working.
typedef unsigned u32x2 __attribute__((vector_size(8)));
typedef unsigned long long u64x2 __attribute__((vector_size(16)));
u64x2 cvt(u32x2 in)
{
return __builtin_convertvec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
--- Comment #5 from Matthias Kretz ---
Thank you Jakub! Here's a tested x86 library implementation for all conversions
and different ISA extension support for reference:
https://github.com/mattkretz/gcc/blob/mkretz/simd/libstdc%2B%2B-v3/include/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
Jan Hubicka changed:
What|Removed |Added
CC||vincenzo.innocente at cern dot
ch
--- Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
--- Comment #2 from Marc Glisse ---
Dup of PR61731.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
12 matches
Mail list logo