Commit 66224c7d by Kyrylo Tkachov Committed by Kyrylo Tkachov

[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
parent 0021b8a5
2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* 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 <kyrylo.tkachov@arm.com>
* convert.c (convert_to_integer): Guard transformation to lrint by
-fno-math-errno.
......
......@@ -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")]
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment