From: Kyrylo Tkachov Date: Tue, 5 Aug 2014 09:56:31 +0000 (+0000) Subject: [ARM] Adjust clz, rbit and rev patterns for -mrestrict-it. X-Git-Tag: upstream/12.2.0~61359 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66224c7d68c5fbcc5d4573a8c3897bc451bc473c;p=platform%2Fupstream%2Fgcc.git [ARM] Adjust clz, rbit and rev patterns for -mrestrict-it. * config/arm/arm.md (clzsi2): Set predicable_short_it attr to no. (rbitsi2): Likewise. (*arm_rev): Set predicable and predicable_short_it attributes. From-SVN: r213630 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cec3fc6..b58e798 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2014-08-05 Kyrylo Tkachov + * config/arm/arm.md (clzsi2): Set predicable_short_it attr to no. + (rbitsi2): Likewise. + (*arm_rev): Set predicable and predicable_short_it attributes. + +2014-08-05 Kyrylo Tkachov + * convert.c (convert_to_integer): Guard transformation to lrint by -fno-math-errno. diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index bd8ea8f..7a50993 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -10662,6 +10662,7 @@ "TARGET_32BIT && arm_arch5" "clz%?\\t%0, %1" [(set_attr "predicable" "yes") + (set_attr "predicable_short_it" "no") (set_attr "type" "clz")]) (define_insn "rbitsi2" @@ -10670,6 +10671,7 @@ "TARGET_32BIT && arm_arch_thumb2" "rbit%?\\t%0, %1" [(set_attr "predicable" "yes") + (set_attr "predicable_short_it" "no") (set_attr "type" "clz")]) (define_expand "ctzsi2" @@ -10829,6 +10831,8 @@ rev%?\t%0, %1" [(set_attr "arch" "t1,t2,32") (set_attr "length" "2,2,4") + (set_attr "predicable" "no,yes,yes") + (set_attr "predicable_short_it" "no") (set_attr "type" "rev")] )