public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3316] Fix bug in register move costing on H8/300
@ 2022-10-16 3:39 Jeff Law
0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2022-10-16 3:39 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6c3da5ca84ded7c5754183f8d2cad0d01e1562ff
commit r13-3316-g6c3da5ca84ded7c5754183f8d2cad0d01e1562ff
Author: Jeff Law <jeffreyalaw@gmail.com>
Date: Sat Oct 15 23:38:20 2022 -0400
Fix bug in register move costing on H8/300
gcc/
* config/h8300/h8300.cc (h8300_register_move_cost): Fix typo.
Diff:
---
gcc/config/h8300/h8300.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/h8300/h8300.cc b/gcc/config/h8300/h8300.cc
index 78cf15f15c7..be3e385c91e 100644
--- a/gcc/config/h8300/h8300.cc
+++ b/gcc/config/h8300/h8300.cc
@@ -1140,7 +1140,7 @@ static int
h8300_register_move_cost (machine_mode mode ATTRIBUTE_UNUSED,
reg_class_t from, reg_class_t to)
{
- if (from == MAC_REGS || to == MAC_REG)
+ if (from == MAC_REGS || to == MAC_REGS)
return 6;
else
return 3;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-16 3:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-16 3:39 [gcc r13-3316] Fix bug in register move costing on H8/300 Jeff Law
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).