mips.md (extended_mips16): Remove branch case.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 19 May 2013 09:58:02 +0000 (09:58 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 19 May 2013 09:58:02 +0000 (09:58 +0000)
gcc/
* config/mips/mips.md (extended_mips16): Remove branch case.
(length): Remove duplicated extended_mips16 test.

From-SVN: r199078

gcc/ChangeLog
gcc/config/mips/mips.md

index b005445..af73839 100644 (file)
@@ -1,5 +1,10 @@
 2013-05-19  Richard Sandiford  <rdsandiford@googlemail.com>
 
+       * config/mips/mips.md (extended_mips16): Remove branch case.
+       (length): Remove duplicated extended_mips16 test.
+
+2013-05-19  Richard Sandiford  <rdsandiford@googlemail.com>
+
        * config/mips/t-sde: Don't build 64-bit microMIPS multilibs.
 
 2013-05-18  Richard Sandiford  <rdsandiford@googlemail.com>
index 6b0e686..8d38a77 100644 (file)
 ;; Is this an extended instruction in mips16 mode?
 (define_attr "extended_mips16" "no,yes"
   (if_then_else (ior (eq_attr "move_type" "sll0")
-                    (eq_attr "type" "branch")
                     (eq_attr "jal" "direct"))
                (const_string "yes")
                (const_string "no")))
                 (const_int 32)
                 ] (const_int 48))
 
-         (and (eq_attr "extended_mips16" "yes")
-              (match_test "TARGET_MIPS16"))
-         (const_int 8)
-
          ;; "Ghost" instructions occupy no space.
          (eq_attr "type" "ghost")
          (const_int 0)