mips.md (*extzv_trunc<mode>_exts): Turn into a regular pattern from a template and...
authorAdam Nemet <anemet@caviumnetworks.com>
Thu, 21 May 2009 20:22:45 +0000 (20:22 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Thu, 21 May 2009 20:22:45 +0000 (20:22 +0000)
* config/mips/mips.md (*extzv_trunc<mode>_exts): Turn into a
regular pattern from a template and rename it ...
(*extzv_truncsi_exts): ... to this.

From-SVN: r147778

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

index a06f1181990c185c4a2adccbe191bb78b253faa6..512076737db27ba79d2b601a3d8c8413d4f2540e 100644 (file)
@@ -1,3 +1,9 @@
+2009-05-21  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * config/mips/mips.md (*extzv_trunc<mode>_exts): Turn into a
+       regular pattern from a template and rename it ...
+       (*extzv_truncsi_exts): ... to this.
+
 2009-05-21  Richard Guenther  <rguenther@suse.de>
 
        * cgraph.h (struct cgraph_node): Remove inline_decl member.
index 81ed584e4fcc6d8502c66e46ffa24c14e0de9864..e571614b35c15741bb27a538844b7c0e70af5ae8 100644 (file)
   [(set_attr "type"    "arith")
    (set_attr "mode"    "<MODE>")])
 
-(define_insn "*extzv_trunc<mode>_exts"
-  [(set (match_operand:GPR 0 "register_operand" "=d")
-        (truncate:GPR
+(define_insn "*extzv_truncsi_exts"
+  [(set (match_operand:SI 0 "register_operand" "=d")
+        (truncate:SI
         (zero_extract:DI (match_operand:DI 1 "register_operand" "d")
                          (match_operand 2 "const_int_operand" "")
                          (match_operand 3 "const_int_operand" ""))))]
   "ISA_HAS_EXTS && TARGET_64BIT && IN_RANGE (INTVAL (operands[2]), 32, 63)"
   "exts\t%0,%1,%3,31"
   [(set_attr "type"     "arith")
-   (set_attr "mode"     "<MODE>")])
+   (set_attr "mode"     "SI")])
 
 
 (define_expand "insv"