[Bug tree-optimization/42587] bswap not recognized for memory

2021-05-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/42587] bswap not recognized for memory

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 --- Comment #14 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:1f94ed3b4c308c9da7baf59ecbc0f953e994f9c4 commit r12-664-g1f94ed3b4c308c9da7baf59ecbc0f953e994f9c4 Author: H.J. Lu Date: Sat May 8 07:2

[Bug tree-optimization/42587] bswap not recognized for memory

2021-05-09 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 --- Comment #13 from andi at firstfloor dot org --- > The code in the initial report optimizes to bswap with GCC8.1 and later. > Is that the test case you meant? GCC8.1 was released on May 2, 2018, well > before your Nov comment, so maybe you mea

[Bug tree-optimization/42587] bswap not recognized for memory

2021-05-08 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 Peter Cordes changed: What|Removed |Added CC||peter at cordes dot ca --- Comment #12 fr

[Bug tree-optimization/42587] bswap not recognized for memory

2018-11-19 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 --- Comment #11 from Andi Kleen --- Only when the first test case is fixed too

[Bug tree-optimization/42587] bswap not recognized for memory

2018-11-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #10

[Bug tree-optimization/42587] bswap not recognized for memory

2016-06-05 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 --- Comment #9 from Andreas Schwab --- The test fails on powerpc, both -m32 and -m64.

[Bug tree-optimization/42587] bswap not recognized for memory

2016-05-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 --- Comment #8 from Richard Biener --- Author: rguenth Date: Fri May 13 12:27:18 2016 New Revision: 236204 URL: https://gcc.gnu.org/viewcvs?rev=236204&root=gcc&view=rev Log: 2016-05-13 Richard Biener PR tree-optimization/42587

[Bug tree-optimization/42587] bswap not recognized for memory

2016-05-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 --- Comment #7 from Richard Biener --- I have a patch to fix the second testcase in comment#3. Note that the original testcase still fails to be detected.

[Bug tree-optimization/42587] bswap not recognized for memory

2012-02-22 Thread xiaoyuanbo at yeah dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 xiaoyuanbo changed: What|Removed |Added CC||xiaoyuanbo at yeah dot net --- Comment #6 fr

[Bug tree-optimization/42587] bswap not recognized for memory

2010-02-27 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-02-27 20:04 --- *** Bug 43197 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/42587] bswap not recognized for memory

2010-01-06 Thread jamborm at gcc dot gnu dot org
--- Comment #4 from jamborm at gcc dot gnu dot org 2010-01-06 14:07 --- (In reply to comment #2) > SRA here again does somthing stupid: > As I have already told richi on IRC, if "in.value = value_1(D)" was an assignment of two unions, it would have loaded the chars from the rhs and thu

[Bug tree-optimization/42587] bswap not recognized for memory

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-03 16:26 --- Similar example not handled by bswap recognition: typedef unsigned char u8; typedef unsigned int u32; union __anonunion { u32 value; u8 bytes[4]; }; u32 acpi_ut_dword_byte_swap (u32 value) { union __anonunion

[Bug tree-optimization/42587] bswap not recognized for memory

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-03 16:01 --- SRA here again does somthing stupid: from : acpi_ut_track_stack_ptr (); in.value = value_1(D); D.1966_2 = in.bytes[3]; out.bytes[0] = D.1966_2; D.1967_3 = in.bytes[2]; out.bytes[1] = D.1967_3; D.1968_

[Bug tree-optimization/42587] bswap not recognized for memory

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-03 10:58 --- Confirmed. The bswap detection does not work on memory at all but only detects it on registers. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added