[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-04-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #22 from Jakub Jelinek --- Author: jakub Date: Fri Apr 13 08:35:32 2018 New Revision: 259366 URL: https://gcc.gnu.org/viewcvs?rev=259366=gcc=rev Log: PR middle-end/81657 * expr.h (enum block_op_methods): Add

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-04-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-03-02 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #21 from H.J. Lu --- (In reply to Martin Liška from comment #20) > Ok, so the PR is still marked as P1, so we should probably focus on it. > If I'm reading the discussion correctly, there's no consensus about what to > do? Please

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-02-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #20 from Martin Liška --- Ok, so the PR is still marked as P1, so we should probably focus on it. If I'm reading the discussion correctly, there's no consensus about what to do?

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #19 from Jakub Jelinek --- strchr with a c == 0 codepath doesn't have to be the same inner loop as strlen and for the returning of pointer rather than length can be more efficient than strlen.

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #18 from H.J. Lu --- (In reply to Wilco from comment #17) > (In reply to Jakub Jelinek from comment #16) > > (In reply to Wilco from comment #15) > > > I don't think it's safe to compare different benchmark results like that. > > >

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-19 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #17 from Wilco --- (In reply to Jakub Jelinek from comment #16) > (In reply to Wilco from comment #15) > > I don't think it's safe to compare different benchmark results like that. > > But yes the kernel for both should be very

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #16 from Jakub Jelinek --- (In reply to Wilco from comment #15) > I don't think it's safe to compare different benchmark results like that. > But yes the kernel for both should be very similar. The key difference is > that strchr

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-19 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #14 from Wilco --- (In reply to Jakub Jelinek from comment #11) > No matter what, I don't see how you could use much common infrastructure > here. > Say if the tailcall pass sees strlen (something) + something being returned, > it

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-19 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #15 from Wilco --- (In reply to H.J. Lu from comment #13) > (In reply to Wilco from comment #12) > > > > > > > Do you have data to show that? > > > > Yes, on x64 I get these timings for a simple function containing just the > >

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-18 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #13 from H.J. Lu --- (In reply to Wilco from comment #12) > > > > Do you have data to show that? > > Yes, on x64 I get these timings for a simple function containing just the > library call: > > size 1024 - 13845 21025 14449

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #12 from Wilco --- (In reply to H.J. Lu from comment #10) > (In reply to Wilco from comment #9) > > (In reply to Jakub Jelinek from comment #8) > > > That just means r240568 caused another regression. > > > Again, on various targets

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #11 from Jakub Jelinek --- No matter what, I don't see how you could use much common infrastructure here. Say if the tailcall pass sees strlen (something) + something being returned, it could turn that into strchr (something, 0),

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-18 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #10 from H.J. Lu --- (In reply to Wilco from comment #9) > (In reply to Jakub Jelinek from comment #8) > > That just means r240568 caused another regression. > > Again, on various targets strchr is efficient, just on a few ones it is

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #9 from Wilco --- (In reply to Jakub Jelinek from comment #8) > That just means r240568 caused another regression. > Again, on various targets strchr is efficient, just on a few ones it is not > and the change was unfortunately done

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #8 from Jakub Jelinek --- That just means r240568 caused another regression. Again, on various targets strchr is efficient, just on a few ones it is not and the change was unfortunately done generically.

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #7 from Wilco --- (In reply to H.J. Lu from comment #6) > (In reply to Wilco from comment #5) > > Note there are other optimizations which can block a tailcall, for example: > > > > void *f (void *p) { return __builtin_strchr (p,

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-18 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #6 from H.J. Lu --- (In reply to Wilco from comment #5) > Note there are other optimizations which can block a tailcall, for example: > > void *f (void *p) { return __builtin_strchr (p, 0); } This is irrelevant since this refers to

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #5 from

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 --- Comment #4 from Martin Liška --- (In reply to Jakub Jelinek from comment #3) > As I said earlier, the patch is IMHO wrong and instead ARM/AArch64 should > implement efficient mempcpy in the library. > If not, we should have a target hook

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2018-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2017-09-27 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 Andrey Guskov changed: What|Removed |Added CC||andrey.y.guskov at intel dot com ---

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2017-08-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org ---

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2017-08-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|