public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/115473] New: MIPS: -Os rtx_cost compare not correct
@ 2024-06-13 9:25 syq at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: syq at gcc dot gnu.org @ 2024-06-13 9:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115473
Bug ID: 115473
Summary: MIPS: -Os rtx_cost compare not correct
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: syq at gcc dot gnu.org
Target Milestone: ---
f32(int a)
{
int p = (a & (1<<16));
if (p)
return f1();
else
return f2();
}
we can use
sll
bgez
to replace
li
and
beqz
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-13 9:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-13 9:25 [Bug target/115473] New: MIPS: -Os rtx_cost compare not correct syq at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).