]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
7000.md (rm7_impy_si_mult): Just match imul and imadd.
authorRichard Sandiford <rsandifo@redhat.com>
Wed, 11 May 2005 20:03:39 +0000 (20:03 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 11 May 2005 20:03:39 +0000 (20:03 +0000)
* config/mips/7000.md (rm7_impy_si_mult): Just match imul and imadd.
Remove hilo_operand check.
(rm7_impy_si_mul): Just match imul3.  Remove hilo_operand check.
* config/mips/predicates.md (hilo_operand): Delete.

From-SVN: r99592

gcc/ChangeLog
gcc/config/mips/7000.md
gcc/config/mips/predicates.md

index d5278cef3e422e966f5b6fee0e0ea2f6dd8a1535..afbf5af7c1e5ccdf5415302f52dc9b2dec05cf1b 100644 (file)
@@ -1,3 +1,10 @@
+2005-05-11  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/7000.md (rm7_impy_si_mult): Just match imul and imadd.
+       Remove hilo_operand check.
+       (rm7_impy_si_mul): Just match imul3.  Remove hilo_operand check.
+       * config/mips/predicates.md (hilo_operand): Delete.
+
 2005-05-11  Richard Sandiford  <rsandifo@redhat.com>
 
        * config/mips/sr71k.md, config/mips/7000.md: Reformat.
index a520e0810869259b05a1c499c2c0d1997e7ba86f..9f04039d47c3b0d251cddb621dcc452c8bda72d9 100644 (file)
 
 (define_insn_reservation "rm7_impy_si_mult" 5
   (and (eq_attr "cpu" "r7000")
-       (and (eq_attr "type" "imul,imul3,imadd")
-           (and (eq_attr "mode" "SI")
-                (match_operand 0 "hilo_operand"))))
+       (and (eq_attr "type" "imul,imadd")
+           (eq_attr "mode" "SI")))
   "rm7_impydiv+(rm7_impydiv_iter*3)")
 
 ;; There are an additional 2 stall cycles.
 (define_insn_reservation "rm7_impy_si_mul" 2
   (and (eq_attr "cpu" "r7000")
-       (and (eq_attr "type" "imul,imul3,imadd")
-           (and (eq_attr "mode" "SI")
-                (not (match_operand 0 "hilo_operand")))))
+       (and (eq_attr "type" "imul3")
+           (eq_attr "mode" "SI")))
   "rm7_impydiv")
 
 (define_insn_reservation "rm7_impy_di" 9
index 9e9acdae9f0bb5dde789f1e0bca252216837d5d9..d486cfc10c44b7279301609e14442202a7e7b161 100644 (file)
   (and (match_code "reg")
        (match_test "FP_REG_P (REGNO (op))")))
 
-(define_predicate "hilo_operand"
-  (and (match_code "reg")
-       (match_test "MD_REG_P (REGNO (op))")))
-
 (define_predicate "lo_operand"
   (and (match_code "reg")
        (match_test "REGNO (op) == LO_REGNUM")))