[AArch64][1/2] Remove UNSPEC_CLS and use clrsb RTL code in its' place.

* config/aarch64/aarch64.md: Delete UNSPEC_CLS.
	(clrsb<mode>2): Use clrsb RTL code instead of UNSPEC_CLS.

From-SVN: r212912
This commit is contained in:
Kyrylo Tkachov 2014-07-22 13:35:42 +00:00 committed by Kyrylo Tkachov
parent 9f1da4c35a
commit dfc98d99b6
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.md: Delete UNSPEC_CLS.
(clrsb<mode>2): Use clrsb RTL code instead of UNSPEC_CLS.
2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/arm_neon.h (vbsl_f64): New intrinsic.

View File

@ -67,7 +67,6 @@
(define_c_enum "unspec" [
UNSPEC_CASESI
UNSPEC_CLS
UNSPEC_CRC32B
UNSPEC_CRC32CB
UNSPEC_CRC32CH
@ -2863,7 +2862,7 @@
(define_insn "clrsb<mode>2"
[(set (match_operand:GPI 0 "register_operand" "=r")
(unspec:GPI [(match_operand:GPI 1 "register_operand" "r")] UNSPEC_CLS))]
(clrsb:GPI (match_operand:GPI 1 "register_operand" "r")))]
""
"cls\\t%<w>0, %<w>1"
[(set_attr "type" "clz")]