re PR target/57108 ([4.7/4.8/4.9] SH internal compiler error: in int_mode_for_mode...
authorOleg Endo <olegendo@gcc.gnu.org>
Mon, 6 May 2013 19:49:57 +0000 (19:49 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Mon, 6 May 2013 19:49:57 +0000 (19:49 +0000)
PR target/57108
* config/sh/sh.md (tstsi_t_zero_extract_eq): Use QIHISIDI mode iterator.

From-SVN: r198642

gcc/ChangeLog
gcc/config/sh/sh.md

index 48f69ac967d19b77921ca6109a97f0e2a7635456..97faf764d9e530483fb34be1a0b47ef6e4e7d811 100644 (file)
@@ -1,3 +1,8 @@
+2013-05-06  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       PR target/57108
+       * config/sh/sh.md (tstsi_t_zero_extract_eq): Use QIHISIDI mode iterator.
+
 2013-05-06  Maxim Kuznetsov  <maks.kuznetsov@gmail.com>
 
        * final.c (do_assembler_dialects): Don't handle curly braces and
index b4fbd588d19d10a21d5cf1e648a4b677e94f02d1..4adff505c83e64b3ed83623513e3e3ccb1b1a54d 100644 (file)
   [(set_attr "type" "mt_group")])
 
 ;; Extract contiguous bits and compare them against zero.
-(define_insn "tstsi_t_zero_extract_eq"
+(define_insn "tst<mode>_t_zero_extract_eq"
   [(set (reg:SI T_REG)
-       (eq:SI (zero_extract:SI (match_operand:SI 0 "logical_operand" "z")
+       (eq:SI (zero_extract:SI (match_operand:QIHISIDI 0 "logical_operand" "z")
                                (match_operand:SI 1 "const_int_operand")
                                (match_operand:SI 2 "const_int_operand"))
               (const_int 0)))]