From: Ian Lance Taylor Date: Mon, 11 Jul 2005 18:48:37 +0000 (+0000) Subject: * config/mips/mips.md (ffs2): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8564e10e6e74d99aad9c6a401f1e7896a0ef8454;p=gcc.git * config/mips/mips.md (ffs2): Remove. From-SVN: r101896 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e50b717a802..93f210fa97e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-07-11 Ian Lance Taylor + + * config/mips/mips.md (ffs2): Remove. + 2005-07-11 Ian Lance Taylor * doc/tree-ssa.texi (Cleanups): Improve description of diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 1299521c225..bf4bc69e39c 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -1906,45 +1906,6 @@ (set_attr "mode" "")]) ;; -;; .................... -;; -;; FIND FIRST BIT INSTRUCTION -;; -;; .................... -;; - -(define_insn "ffs2" - [(set (match_operand:GPR 0 "register_operand" "=&d") - (ffs:GPR (match_operand:GPR 1 "register_operand" "d"))) - (clobber (match_scratch:GPR 2 "=&d")) - (clobber (match_scratch:GPR 3 "=&d"))] - "!TARGET_MIPS16" -{ - if (optimize && find_reg_note (insn, REG_DEAD, operands[1])) - return "%(\ -move\t%0,%.\;\ -beq\t%1,%.,2f\n\ -%~1:\tand\t%2,%1,0x0001\;\ -addu\t%0,%0,1\;\ -beq\t%2,%.,1b\;\ -srl\t%1,%1,1\n\ -%~2:%)"; - - return "%(\ -move\t%0,%.\;\ -move\t%3,%1\;\ -beq\t%3,%.,2f\n\ -%~1:\tand\t%2,%3,0x0001\;\ -addu\t%0,%0,1\;\ -beq\t%2,%.,1b\;\ -srl\t%3,%3,1\n\ -%~2:%)"; -} - [(set_attr "type" "multi") - (set_attr "mode" "") - (set_attr "length" "28")]) - -;; ;; ................... ;; ;; Count leading zeroes.