[Bug target/96402] [10/11 Regression] Wrong code with -moutline-atomics

2020-08-04 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96402 --- Comment #10 from Tamar Christina --- > Should be fixed now for 10.3+ and 11+. If -moutline-atomics has been > backported to older releases, it should go there too. Thanks Jakub! I have done the backports locally and am waiting for

[Bug target/96402] [10/11 Regression] Wrong code with -moutline-atomics

2020-08-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96402 --- Comment #9 from Jakub Jelinek --- Should be fixed now for 10.3+ and 11+. If -moutline-atomics has been backported to older releases, it should go there too.

[Bug target/96402] [10/11 Regression] Wrong code with -moutline-atomics

2020-08-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96402 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:fd2ec4542fd2975e6d3f2f1c1a2639945a84f9e1 commit r10-8567-gfd2ec4542fd2975e6d3f2f1c1a2639945a84f9e1 Author: Jakub Jelinek

[Bug target/96402] [10/11 Regression] Wrong code with -moutline-atomics

2020-08-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96402 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:90b43856fdff7d96d93d22970eca8a86c56e0ddc commit r11-2520-g90b43856fdff7d96d93d22970eca8a86c56e0ddc Author: Jakub Jelinek Date:

[Bug target/96402] [10/11 Regression] Wrong code with -moutline-atomics

2020-08-03 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96402 --- Comment #6 from ktkachov at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #5) > Created attachment 48985 [details] > gcc11-pr96402.patch > > So, something like this then? Then the SIZE 16 compare and swap matches > what the

[Bug target/96402] [10/11 Regression] Wrong code with -moutline-atomics

2020-08-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96402 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/96402] [10/11 Regression] Wrong code with -moutline-atomics

2020-08-03 Thread fab...@ritter-vogt.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96402 Fabian Vogt changed: What|Removed |Added CC||fab...@ritter-vogt.de --- Comment #4 from

[Bug target/96402] [10/11 Regression] Wrong code with -moutline-atomics

2020-07-31 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96402 --- Comment #3 from ktkachov at gcc dot gnu.org --- Thanks, that's a CPU without the LSE instructions so it should be using the load-exclusive-store-exclusive loop fallback

[Bug target/96402] [10/11 Regression] Wrong code with -moutline-atomics

2020-07-31 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96402 --- Comment #2 from Martin Liška --- (In reply to ktkachov from comment #1) > Thanks, can you share the hardware you ran it on? Depending on whether LSE > is present different code paths are taken at runtime... Well, I tested that on an

[Bug target/96402] [10/11 Regression] Wrong code with -moutline-atomics

2020-07-31 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96402 --- Comment #1 from ktkachov at gcc dot gnu.org --- Thanks, can you share the hardware you ran it on? Depending on whether LSE is present different code paths are taken at runtime...