[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-18 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #18 from Tamar Christina --- (In reply to Martin Liška from comment #17) > Waiting for Tamara's test-case now. > Btw. can you please share a pointer to the Github repsitory? Sure, it's this project and this particular call https://g

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #16 from Richard Biener --- We're expanding memmove inline on GIMPLE if the size is constant power-of-two and up to MOVE_MAX. /* If we can perform the copy efficiently with first doing all loads and then all stores in

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #15 from cqwrteur --- (In reply to cqwrteur from comment #14) > (In reply to Tamar Christina from comment #13) > > (In reply to cqwrteur from comment #12) > > > (In reply to cqwrteur from comment #11) > > > > (In reply to Tamar Chris

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #14 from cqwrteur --- (In reply to Tamar Christina from comment #13) > (In reply to cqwrteur from comment #12) > > (In reply to cqwrteur from comment #11) > > > (In reply to Tamar Christina from comment #10) > How do you think you kn

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #13 from Tamar Christina --- (In reply to cqwrteur from comment #12) > (In reply to cqwrteur from comment #11) > > (In reply to Tamar Christina from comment #10) > > > (In reply to cqwrteur from comment #9) > > > > (In reply to Tamar

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #12 from cqwrteur --- (In reply to cqwrteur from comment #11) > (In reply to Tamar Christina from comment #10) > > (In reply to cqwrteur from comment #9) > > > (In reply to Tamar Christina from comment #8) > > > > (In reply to Jakub

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #11 from cqwrteur --- (In reply to Tamar Christina from comment #10) > (In reply to cqwrteur from comment #9) > > (In reply to Tamar Christina from comment #8) > > > (In reply to Jakub Jelinek from comment #6) > > > > Shouldn't that

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #10 from Tamar Christina --- (In reply to cqwrteur from comment #9) > (In reply to Tamar Christina from comment #8) > > (In reply to Jakub Jelinek from comment #6) > > > Shouldn't that be a different PR with details? I mean, this PR

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #9 from cqwrteur --- (In reply to Tamar Christina from comment #8) > (In reply to Jakub Jelinek from comment #6) > > Shouldn't that be a different PR with details? I mean, this PR is that we > > should expand shorter memmove inline

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #8 from Tamar Christina --- (In reply to Jakub Jelinek from comment #6) > Shouldn't that be a different PR with details? I mean, this PR is that we > should expand shorter memmove inline even if the regions do overlap. Sure, I'm st

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #7 from cqwrteur --- (In reply to Jakub Jelinek from comment #6) > Shouldn't that be a different PR with details? I mean, this PR is that we > should expand shorter memmove inline even if the regions do overlap. clang also has __bu

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #6 from Jakub Jelinek --- Shouldn't that be a different PR with details? I mean, this PR is that we should expand shorter memmove inline even if the regions do overlap.

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 Tamar Christina changed: What|Removed |Added Build|x86_64-linux-gnu|x86_64-linux-gnu, |

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-06-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #4 from Jakub Jelinek --- Also, one will probably need to rename all the MOVE_* and *move_* stuff to COPY_* and *copy_* and reserve MOVE_* and *move_* for the overlapping copies. And most likely on various arches it might need small

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-06-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-06-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org St

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|