public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-8076] [committed] Minor bfin codegen bugfix
@ 2022-04-11 3:05 Jeff Law
0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2022-04-11 3:05 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:8d331aab65488b3998bd106205bbe6cab5df31b5
commit r12-8076-g8d331aab65488b3998bd106205bbe6cab5df31b5
Author: Jeff Law <jeffreyalaw@gmail.com>
Date: Sun Apr 10 23:02:48 2022 -0400
[committed] Minor bfin codegen bugfix
gcc/
* config/bfin/bfin.md (rol_one): Fix pattern to indicate the
sign bit of the source ends up in CC.
Diff:
---
gcc/config/bfin/bfin.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/bfin/bfin.md b/gcc/config/bfin/bfin.md
index 0e44653d7cb..56b24726bc2 100644
--- a/gcc/config/bfin/bfin.md
+++ b/gcc/config/bfin/bfin.md
@@ -1741,7 +1741,7 @@
(ior:SI (ashift:SI (match_operand:SI 1 "register_operand" "d") (const_int 1))
(zero_extend:SI (reg:BI REG_CC))))
(set (reg:BI REG_CC)
- (zero_extract:BI (match_dup 1) (const_int 31) (const_int 0)))]
+ (zero_extract:BI (match_dup 1) (const_int 1) (const_int 31)))]
""
"%0 = ROT %1 BY 1%!"
[(set_attr "type" "dsp32shiftimm")])
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-11 3:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-11 3:05 [gcc r12-8076] [committed] Minor bfin codegen bugfix 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).