[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-09-05 Thread dongkyun.s at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 dongkyun.s at samsung dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-30 Thread m.kashkarov at partner dot samsung.com
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()

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-30 Thread m.kashkarov at partner dot samsung.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 Michail changed: What|Removed |Added CC||m.kashkarov at partner dot samsung

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-22 Thread dongkyun.s at samsung dot com
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.

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-22 Thread rearnsha at gcc dot gnu.org
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

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-21 Thread dongkyun.s at samsung dot com
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

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-21 Thread ktkachov at gcc dot gnu.org
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|

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-21 Thread dongkyun.s at samsung dot com
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 :)

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-21 Thread pinskia at gcc dot gnu.org
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

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-21 Thread dongkyun.s at samsung dot com
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,

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization