From: Jeff Law Date: Mon, 11 Apr 2022 03:02:48 +0000 (-0400) Subject: [committed] Minor bfin codegen bugfix X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d331aab65488b3998bd106205bbe6cab5df31b5;p=test_jj.git [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 --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")])