https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
dongkyun.s at samsung dot com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resoluti
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #17 from Michail ---
> I think that for this example GCC 7 generates memset() call after changes in
> tree-ssa-dse
I mean GCC 6 generates memset()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
Michail changed:
What|Removed |Added
CC||m.kashkarov at partner dot
samsung
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #15 from dongkyun.s at samsung dot com ---
> There's nothing in the compiler that explicitly says: use memset for these
> cores and not for others. The choice will be down to available instructions
> and their relative costs.
Agree
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #14 from Richard Earnshaw ---
(In reply to dongkyun.s from comment #13)
> > Confirmed the call on 6.4.1 but GCC 7 and trunk don't generate the call for
> > -mcpu=cortex-a9 .
>
> I also verified memset call is not generated with GCC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #13 from dongkyun.s at samsung dot com ---
> Confirmed the call on 6.4.1 but GCC 7 and trunk don't generate the call for
> -mcpu=cortex-a9 .
I also verified memset call is not generated with GCC 7.1 + "-mcpu=cortex-a9 or
-mtune=corte
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
ktkachov at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #11 from dongkyun.s at samsung dot com ---
Dear pins...@gcc.gnu.org,
Thanks for correcting title to "memset called when it does not need to be;
-mtune=cortex-a9" along with the comment :)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #10 from Andrew Pinski ---
(In reply to dongkyun.s from comment #9)
> I mean -ffreestanding or -fno-freestanding are not included in this
> testcase, but, mtune/ mcpu option.
Yes but your summary was saying memset was missing which is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #9 from dongkyun.s at samsung dot com ---
> or you mean this should be optimized not to use memset; different question
> from what your summary is about.
I mean -ffreestanding or -fno-freestanding are not included in this testcase,
b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
Andrew Pinski changed:
What|Removed |Added
Keywords||missed-optimization
Summary|u
11 matches
Mail list logo