aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2005-07-11 18:48:37 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2005-07-11 18:48:37 +0000
commit8564e10e6e74d99aad9c6a401f1e7896a0ef8454 (patch)
tree55da63a3f1c24bffff9708c3eaa8f656dd899281 /gcc
parent2f6bd5398ebc65d3f9607507223edabf81acc785 (diff)
downloadgcc-8564e10e6e74d99aad9c6a401f1e7896a0ef8454.zip
gcc-8564e10e6e74d99aad9c6a401f1e7896a0ef8454.tar.gz
gcc-8564e10e6e74d99aad9c6a401f1e7896a0ef8454.tar.bz2
* config/mips/mips.md (ffs<mode>2): Remove.
From-SVN: r101896
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mips/mips.md39
2 files changed, 4 insertions, 39 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e50b717..93f210f 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 1299521..bf4bc69 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.