projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac1113
)
[committed] Minor bfin codegen bugfix
author
Jeff Law
<jeffreyalaw@gmail.com>
Mon, 11 Apr 2022 03:02:48 +0000
(23:02 -0400)
committer
Jeff Law
<jeffreyalaw@gmail.com>
Mon, 11 Apr 2022 03:02:48 +0000
(23:02 -0400)
gcc/
* config/bfin/bfin.md (rol_one): Fix pattern to indicate the
sign bit of the source ends up in CC.
gcc/config/bfin/bfin.md
patch
|
blob
|
history
diff --git
a/gcc/config/bfin/bfin.md
b/gcc/config/bfin/bfin.md
index
0e44653
..
56b2472
100644
(file)
--- 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")])