[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2016-05-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 --- Comment #15 from Jakub Jelinek --- Author: jakub Date: Fri May 20 11:55:58 2016 New Revision: 236505 URL: https://gcc.gnu.org/viewcvs?rev=236505=gcc=rev Log: PR tree-optimization/29756 gcc.dg/tree-ssa/vector-6.c: Add

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2016-05-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 --- Comment #14 from Richard Biener --- Author: rguenth Date: Fri May 20 09:17:16 2016 New Revision: 236501 URL: https://gcc.gnu.org/viewcvs?rev=236501=gcc=rev Log: 2016-05-20 Richard Guenther PR

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2016-05-19 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 --- Comment #13 from rguenther at suse dot de --- On Thu, 19 May 2016, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 > > --- Comment #12 from Jakub Jelinek --- > (In reply to Richard Biener from comment

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2016-05-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 --- Comment #12 from Jakub Jelinek --- (In reply to Richard Biener from comment #11) > Index: gcc/config/i386/i386.c > === > --- gcc/config/i386/i386.c (revision 236441) > +++

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2016-05-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 --- Comment #11 from Richard Biener --- Like Index: gcc/config/i386/i386.c === --- gcc/config/i386/i386.c (revision 236441) +++ gcc/config/i386/i386.c (working copy) @@

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2016-05-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 Uroš Bizjak changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #10

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2016-05-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-*

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2016-05-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 --- Comment #8 from Richard Biener --- So the remaining piece may be that of the init-regs issue. We have vf_24 = BIT_INSERT_EXPR ; which leaves the upper elements undefined, but init-regs forces them to zero.

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2016-05-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 --- Comment #7 from Richard Biener --- So I have it down to a x86 combine issue: ;; v_28 = BIT_FIELD_INSERT ; (insn 7 6 8 (set (reg:SF 116) (vec_select:SF (reg/v:V4SF 115 [ v ]) (parallel [

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2016-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2016-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 Bug 29756 depends on bug 28367, which changed state. Bug 28367 Summary: accessing via union on a vector does not cause vec_extract to be used https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28367 What|Removed

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2006-11-13 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-11-14 01:15 --- This is mostly PR 28367. There are most likely other issues like some of the SSE intrinsics not being declared as pure/const. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2006-11-08 Thread timday at bottlenose dot demon dot co dot uk
--- Comment #3 from timday at bottlenose dot demon dot co dot uk 2006-11-08 10:01 --- I've just tried an alternative version (will upload later) replacing the union with a single __v4sf _rep, and implementing the [] operators using e.g (reinterpret_castconst float*(_rep))[i];

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2006-11-08 Thread timday at bottlenose dot demon dot co dot uk
--- Comment #4 from timday at bottlenose dot demon dot co dot uk 2006-11-08 22:18 --- Created an attachment (id=12573) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12573action=view) More concise demonstration of the v4sf-float-v4sf issue. The attached code, (no classes or

[Bug middle-end/29756] SSE intrinsics hard to use without redundant temporaries appearing

2006-11-07 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-11-07 22:31 --- Looks like this is mostly caused by: union { __v4sf vecf; __m128 rawf; float val[4]; } _rep; I will have a look more at this issue later tonight when I get home from work. -- pinskia at gcc