[Bug target/93178] PPC: inefficient 64-bit constant generation if msb is off in low 16 bit

2023-05-10 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93178

Jiu Fu Guo  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
 CC||guojiufu at gcc dot gnu.org

--- Comment #4 from Jiu Fu Guo  ---
On the trunk, the output is expected:
li 3,17185
oris 3,3,0x8765
blr

[Bug target/93178] PPC: inefficient 64-bit constant generation if msb is off in low 16 bit

2020-01-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93178

--- Comment #3 from Segher Boessenkool  ---
The code at
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config/rs6000/rs6000.c;h=fc36bb6714b2a4c922e903e2ebe333c6bdaeefcd;hb=HEAD#l9229
does not treat this case specially, but it should.

[Bug target/93178] PPC: inefficient 64-bit constant generation if msb is off in low 16 bit

2020-01-21 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93178

--- Comment #2 from Segher Boessenkool  ---
(In reply to Martin Liška from comment #1)
> @Segher: Can you please take a look?

Yes, tomorrow, when I am back from vacation :-)

Confirmed, btw.

[Bug target/93178] PPC: inefficient 64-bit constant generation if msb is off in low 16 bit

2020-01-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93178

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2020-01-21
 CC||marxin at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Martin Liška  ---
@Segher: Can you please take a look?