diff options
author | Jeff Law <jeffreyalaw@gmail.com> | 2022-04-10 23:02:48 -0400 |
---|---|---|
committer | Jeff Law <jeffreyalaw@gmail.com> | 2022-04-10 23:02:48 -0400 |
commit | 8d331aab65488b3998bd106205bbe6cab5df31b5 (patch) | |
tree | a9f725d6dd6f0804f1c9fe1ea465a19e4cc2757b /gcc/config/bfin | |
parent | 3ac111372ecb73cc2464ab27e3bad75dfe88a34b (diff) | |
download | gcc-8d331aab65488b3998bd106205bbe6cab5df31b5.zip gcc-8d331aab65488b3998bd106205bbe6cab5df31b5.tar.gz gcc-8d331aab65488b3998bd106205bbe6cab5df31b5.tar.bz2 |
[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.
Diffstat (limited to 'gcc/config/bfin')
-rw-r--r-- | gcc/config/bfin/bfin.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/bfin/bfin.md b/gcc/config/bfin/bfin.md index 0e44653..56b2472 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")]) |