[Bug c++/85052] Implement support for clang's __builtin_convertvector

2019-01-07 Thread kretz at kde dot org
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

[Bug c++/85052] Implement support for clang's __builtin_convertvector

2019-01-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85052] Implement support for clang's __builtin_convertvector

2019-01-07 Thread jakub at gcc dot gnu.org
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

[Bug c++/85052] Implement support for clang's __builtin_convertvector

2019-01-05 Thread kretz at kde dot org
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

[Bug c++/85052] Implement support for clang's __builtin_convertvector

2019-01-05 Thread jakub at gcc dot gnu.org
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

[Bug c++/85052] Implement support for clang's __builtin_convertvector

2019-01-05 Thread husseydevin at gmail dot com
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

[Bug c++/85052] Implement support for clang's __builtin_convertvector

2019-01-05 Thread husseydevin at gmail dot com
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

[Bug c++/85052] Implement support for clang's __builtin_convertvector

2019-01-02 Thread kretz at kde dot org
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/

[Bug c++/85052] Implement support for clang's __builtin_convertvector

2019-01-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/85052] Implement support for clang's __builtin_convertvector

2018-12-26 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052 Jan Hubicka changed: What|Removed |Added CC||vincenzo.innocente at cern dot ch --- Com

[Bug c++/85052] Implement support for clang's __builtin_convertvector

2018-03-30 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052 --- Comment #2 from Marc Glisse --- Dup of PR61731.

[Bug c++/85052] Implement support for clang's __builtin_convertvector

2018-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|