public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/65088] New: Does GCC has load/store widening phase?
@ 2015-02-17  9:14 m.zakirov at samsung dot com
  2015-02-20  8:41 ` [Bug c/65088] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: m.zakirov at samsung dot com @ 2015-02-17  9:14 UTC (permalink / raw)
  To: gcc-bugs

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 <trippels@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Mon Jan 12 07:53:10 2015 +0000


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/65088] Does GCC has load/store widening phase?
  2015-02-17  9:14 [Bug c/65088] New: Does GCC has load/store widening phase? m.zakirov at samsung dot com
@ 2015-02-20  8:41 ` pinskia at gcc dot gnu.org
  2015-02-26 19:45 ` mpolacek at gcc dot gnu.org
  2015-02-27  8:27 ` m.zakirov at samsung dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-02-20  8:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65088

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
See bug 23684.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/65088] Does GCC has load/store widening phase?
  2015-02-17  9:14 [Bug c/65088] New: Does GCC has load/store widening phase? m.zakirov at samsung dot com
  2015-02-20  8:41 ` [Bug c/65088] " pinskia at gcc dot gnu.org
@ 2015-02-26 19:45 ` mpolacek at gcc dot gnu.org
  2015-02-27  8:27 ` m.zakirov at samsung dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-02-26 19:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65088

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I think this has been discussed on the gcc mailing list.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/65088] Does GCC has load/store widening phase?
  2015-02-17  9:14 [Bug c/65088] New: Does GCC has load/store widening phase? m.zakirov at samsung dot com
  2015-02-20  8:41 ` [Bug c/65088] " pinskia at gcc dot gnu.org
  2015-02-26 19:45 ` mpolacek at gcc dot gnu.org
@ 2015-02-27  8:27 ` m.zakirov at samsung dot com
  2 siblings, 0 replies; 4+ messages in thread
From: m.zakirov at samsung dot com @ 2015-02-27  8:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65088

--- Comment #3 from Marat Zakirov <m.zakirov at samsung dot com> ---
> I think this has been discussed on the gcc mailing list

Marek could you please share some resuting conclusion at least for x86
platform?
Why didn't x86 GCC RTL fold these loads/stores?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-27  6:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-17  9:14 [Bug c/65088] New: Does GCC has load/store widening phase? m.zakirov at samsung dot com
2015-02-20  8:41 ` [Bug c/65088] " pinskia at gcc dot gnu.org
2015-02-26 19:45 ` mpolacek at gcc dot gnu.org
2015-02-27  8:27 ` m.zakirov at samsung dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).