Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(707)

Issue 5488054: [PATCH i386][google]With -mtune=core2, avoid generating the slow unaligned vector load/store

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by Sriraman
Modified:
12 years, 4 months ago
Reviewers:
jakub, irar, davidxl, rth
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/branches/google/main/gcc/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : [PATCH i386][google]With -mtune=core2, avoid generating the slow unaligned vector load/store #

Total comments: 1

Patch Set 3 : [PATCH i386][google]With -mtune=core2, avoid generating the slow unaligned vector load/store #

Patch Set 4 : [PATCH i386][google]With -mtune=core2, avoid generating the slow unaligned vector load/store #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -0 lines) Patch
M config/i386/i386.c View 2 chunks +18 lines, -0 lines 0 comments Download
M doc/tm.texi View 1 chunk +5 lines, -0 lines 0 comments Download
M doc/tm.texi.in View 1 chunk +5 lines, -0 lines 0 comments Download
M target.def View 1 chunk +6 lines, -0 lines 0 comments Download
M tree-vect-stmts.c View 1 2 3 3 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 17
Sriraman
On core2, unaligned vector load/store using movdqu is a very slow operation. Experiments show it ...
12 years, 4 months ago (2011-12-13 02:06:01 UTC) #1
IRAR_il.ibm.com
gcc-patches-owner@gcc.gnu.org wrote on 13/12/2011 04:05:57 AM: > On core2, unaligned vector load/store using movdqu is ...
12 years, 4 months ago (2011-12-13 05:54:26 UTC) #2
davidxl
> +/* Returns true if the vector load/store is unaligned and if > + unaligned ...
12 years, 4 months ago (2011-12-13 06:29:43 UTC) #3
jakub_redhat.com
On Mon, Dec 12, 2011 at 06:05:57PM -0800, Sriraman Tallam wrote: > Do not vectorize ...
12 years, 4 months ago (2011-12-13 07:49:35 UTC) #4
rth_redhat.com
On 12/12/2011 06:05 PM, Sriraman Tallam wrote: > On core2, unaligned vector load/store using movdqu ...
12 years, 4 months ago (2011-12-13 17:58:32 UTC) #5
Sriraman
On Tue, Dec 13, 2011 at 9:58 AM, Richard Henderson <rth@redhat.com> wrote: > On 12/12/2011 ...
12 years, 4 months ago (2011-12-13 18:26:38 UTC) #6
Sriraman
On Mon, Dec 12, 2011 at 11:49 PM, Jakub Jelinek <jakub@redhat.com> wrote: > On Mon, ...
12 years, 4 months ago (2011-12-13 18:28:03 UTC) #7
Sriraman
On Mon, Dec 12, 2011 at 9:54 PM, Ira Rosen <IRAR@il.ibm.com> wrote: > > > ...
12 years, 4 months ago (2011-12-13 18:29:18 UTC) #8
rth_redhat.com
On 12/13/2011 10:26 AM, Sriraman Tallam wrote: > Cool, this works for stores! It generates ...
12 years, 4 months ago (2011-12-13 18:56:19 UTC) #9
Sriraman
On Tue, Dec 13, 2011 at 10:56 AM, Richard Henderson <rth@redhat.com> wrote: > On 12/13/2011 ...
12 years, 4 months ago (2011-12-13 19:14:43 UTC) #10
davidxl
See instruction tables here: http://www.agner.org/optimize/instruction_tables.pdf My brief reading of the table for core2 and corei7 ...
12 years, 4 months ago (2011-12-13 20:16:58 UTC) #11
Sriraman
On Tue, Dec 13, 2011 at 10:56 AM, Richard Henderson <rth@redhat.com> wrote: > On 12/13/2011 ...
12 years, 4 months ago (2011-12-13 20:29:42 UTC) #12
Sriraman
I updated the patch to add the checks in vectorizable_load and vectorizable_store itself. Thanks, -Sri. ...
12 years, 4 months ago (2011-12-13 23:50:23 UTC) #13
davidxl
http://codereview.appspot.com/5488054/diff/4002/tree-vect-stmts.c File tree-vect-stmts.c (right): http://codereview.appspot.com/5488054/diff/4002/tree-vect-stmts.c#newcode3712 tree-vect-stmts.c:3712: } The check can be put into a helper ...
12 years, 4 months ago (2011-12-14 00:04:10 UTC) #14
Sriraman
On 2011/12/14 00:04:10, davidxl wrote: > http://codereview.appspot.com/5488054/diff/4002/tree-vect-stmts.c > File tree-vect-stmts.c (right): > > http://codereview.appspot.com/5488054/diff/4002/tree-vect-stmts.c#newcode3712 > ...
12 years, 4 months ago (2011-12-14 00:33:17 UTC) #15
davidxl
The patch is ok for google branches for now. David On Tue, Dec 13, 2011 ...
12 years, 4 months ago (2011-12-14 17:47:47 UTC) #16
Sriraman
12 years, 4 months ago (2011-12-14 21:51:23 UTC) #17
On Wed, Dec 14, 2011 at 9:47 AM, Xinliang David Li <davidxl@google.com> wrote:
> The patch is ok for google branches for now.

Committed to google/main.

Thanks,
-Sri.

>
> David
>
> On Tue, Dec 13, 2011 at 4:33 PM,  <tmsriram@google.com> wrote:
>> On 2011/12/14 00:04:10, davidxl wrote:
>>>
>>> http://codereview.appspot.com/5488054/diff/4002/tree-vect-stmts.c
>>> File tree-vect-stmts.c (right):
>>
>>
>>
>> http://codereview.appspot.com/5488054/diff/4002/tree-vect-stmts.c#newcode3712
>>>
>>> tree-vect-stmts.c:3712: }
>>> The check can be put into a helper function.
>>
>>
>> Fixed.
>>
>> http://codereview.appspot.com/5488054/
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b