From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27395 invoked by alias); 17 Feb 2015 09:14:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 27365 invoked by uid 48); 17 Feb 2015 09:14:28 -0000 From: "m.zakirov at samsung dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65088] New: Does GCC has load/store widening phase? Date: Tue, 17 Feb 2015 09:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: m.zakirov at samsung dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg01868.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65088 Bug ID: 65088 Summary: Does GCC has load/store widening phase? Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: m.zakirov at samsung dot com This example says me that it doesn't. $ cat t2.c int a[2]; int b[2]; int main () { b[0] = a[0]; b[1] = a[1]; return 0; } $ gcc t2.c -O3 -S $ cat t2.s ... main: .LFB0: .cfi_startproc movl a(%rip), %eax movl %eax, b(%rip) movl a+4(%rip), %eax movl %eax, b+4(%rip) xorl %eax, %eax ret .cfi_endproc gcc version is: commit 71464ecd3a554b889c3bbc53d8874fc532bdf953 Author: trippels Date: Mon Jan 12 07:53:10 2015 +0000