[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42652 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Blocks||53947

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-02-22 Thread irar at il dot ibm dot com
--- Comment #17 from irar at il dot ibm dot com 2010-02-22 09:01 --- Is there a way to pass alignment information similar to PR 39954? Otherwise, a proper fix would be some inter-procedural analysis... Meantime, we can do intra-procedural analysis and fail when we reach function

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-02-22 Thread rguenth at gcc dot gnu dot org
--- Comment #18 from rguenth at gcc dot gnu dot org 2010-02-22 10:27 --- (In reply to comment #17) Is there a way to pass alignment information similar to PR 39954? Well, that wasn't really a true fix but simply restored the (broken) behavior of earlier compilers so the 4.5

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-02-09 Thread law at redhat dot com
--- Comment #14 from law at redhat dot com 2010-02-09 23:04 --- Subject: Re: vectorizer created unaligned vector insns On 01/18/10 05:17, irar at il dot ibm dot com wrote: --- Comment #13 from irar at il dot ibm dot com 2010-01-18 12:17 --- Does something like this make

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-02-09 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2010-02-09 23:11 --- (In reply to comment #14) Subject: Re: vectorizer created unaligned vector insns On 01/18/10 05:17, irar at il dot ibm dot com wrote: --- Comment #13 from irar at il dot ibm dot com 2010-01-18 12:17

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-02-09 Thread law at redhat dot com
--- Comment #16 from law at redhat dot com 2010-02-09 23:49 --- Subject: Re: vectorizer created unaligned vector insns On 02/09/10 16:11, rguenth at gcc dot gnu dot org wrote: --- Comment #15 from rguenth at gcc dot gnu dot org 2010-02-09 23:11 --- (In reply to comment

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-18 Thread irar at il dot ibm dot com
--- Comment #13 from irar at il dot ibm dot com 2010-01-18 12:17 --- Does something like this make sense? (With this patch we will never use peeling for function parameters, unless the builtin returns OK to peel for packed types). Index: tree-vect-data-refs.c

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-14 Thread law at redhat dot com
--- Comment #11 from law at redhat dot com 2010-01-14 17:29 --- Subject: Re: vectorizer created unaligned vector insns On 01/13/10 02:35, irar at il dot ibm dot com wrote: --- Comment #10 from irar at il dot ibm dot com 2010-01-13 09:35 --- Yes, I understand that we can't

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-14 Thread hjl dot tools at gmail dot com
--- Comment #12 from hjl dot tools at gmail dot com 2010-01-14 17:34 --- Intel AVX architecture won't fault on unaligned load-op instructions and unaligned VMOV* instructions are as fast as aligned VMOV* instructions on aligned memory. For AVX, we can always use unaligned VMOV*

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-13 Thread irar at il dot ibm dot com
--- Comment #10 from irar at il dot ibm dot com 2010-01-13 09:35 --- Yes, I understand that we can't assume that an access is aligned if we can't prove it's aligned. I don't understand how we can prove that a COMPONENT_REF is aligned, i.e., if there is a way to check if a struct is

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-12 Thread irar at il dot ibm dot com
--- Comment #8 from irar at il dot ibm dot com 2010-01-12 08:08 --- So, to be on the safe side, we should assume that COMPONENT_REFs are not naturally aligned and never use peeling for them? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42652

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-12 Thread law at redhat dot com
--- Comment #9 from law at redhat dot com 2010-01-12 15:18 --- Subject: Re: vectorizer created unaligned vector insns On 01/12/10 01:08, irar at il dot ibm dot com wrote: --- Comment #8 from irar at il dot ibm dot com 2010-01-12 08:08 --- So, to be on the safe side, we

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-11 Thread law at redhat dot com
--- Comment #6 from law at redhat dot com 2010-01-11 17:14 --- Subject: Re: vectorizer created unaligned vector insns On 01/10/10 01:22, irar at il dot ibm dot com wrote: --- Comment #5 from irar at il dot ibm dot com 2010-01-10 08:22 --- In vector_alignment_reachable_p()

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-11 Thread law at redhat dot com
--- Comment #7 from law at redhat dot com 2010-01-11 17:16 --- Subject: Re: vectorizer created unaligned vector insns On 01/08/10 10:25, rguenth at gcc dot gnu dot org wrote: --- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-08 17:25 --- Well, indeed we have a

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-10 Thread irar at il dot ibm dot com
--- Comment #5 from irar at il dot ibm dot com 2010-01-10 08:22 --- In vector_alignment_reachable_p() we check if an access is packed using contains_packed_reference(). For packed accesses we return false, meaning alignment is unreachable and peeling cannot be used. In the attached

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-08 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-08 11:58 --- There is some hacks with contains_packed_reference but IIRC I was complaining about these at some point - they are not conservatively correct. -- rguenth at gcc dot gnu dot org changed: What

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-08 Thread law at redhat dot com
--- Comment #3 from law at redhat dot com 2010-01-08 16:45 --- Subject: Re: vectorizer created unaligned vector insns On 01/08/10 04:58, rguenth at gcc dot gnu dot org wrote: --- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-08 11:58 --- There is some hacks with

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-08 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-08 17:25 --- Well, indeed we have a certain weakness in how we represent pointers to possibly (un-)aligned stuff. See PR39954 for another case. Maybe this bug is really a duplicate of the underlying problems. --

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-07 Thread law at redhat dot com
--- Comment #1 from law at redhat dot com 2010-01-07 17:33 --- Created an attachment (id=19501) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19501action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42652