diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-11 18:48:37 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-11 18:48:37 +0000 |
commit | 0d18d22ac8d64143216dfaeba3318129584809d3 (patch) | |
tree | 55da63a3f1c24bffff9708c3eaa8f656dd899281 | |
parent | 7fb6e9c8d7cd37f474c2edaf2c807c3314e9b96b (diff) | |
download | gcc-0d18d22ac8d64143216dfaeba3318129584809d3.tar.gz |
* config/mips/mips.md (ffs<mode>2): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101896 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/mips/mips.md | 39 |
2 files changed, 4 insertions, 39 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e50b717a802..93f210fa97e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2005-07-11 Ian Lance Taylor <ian@airs.com> + * config/mips/mips.md (ffs<mode>2): Remove. + +2005-07-11 Ian Lance Taylor <ian@airs.com> + * doc/tree-ssa.texi (Cleanups): Improve description of TRY_FINALLY_EXPR. (GIMPLE Exception Handling): Clarify TRY_CATCH_EXPR cases. 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" "<UNITMODE>")]) ;; -;; .................... -;; -;; FIND FIRST BIT INSTRUCTION -;; -;; .................... -;; - -(define_insn "ffs<mode>2" - [(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\;\ -<d>addu\t%0,%0,1\;\ -beq\t%2,%.,1b\;\ -<d>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\;\ -<d>addu\t%0,%0,1\;\ -beq\t%2,%.,1b\;\ -<d>srl\t%3,%3,1\n\ -%~2:%)"; -} - [(set_attr "type" "multi") - (set_attr "mode" "<MODE>") - (set_attr "length" "28")]) - -;; ;; ................... ;; ;; Count leading zeroes. |