re PR target/57108 ([4.7/4.8/4.9] SH internal compiler error: in int_mode_for_mode, at stor-layout.c:395)

PR target/57108
	* config/sh/sh.md (tstsi_t_zero_extract_eq): Use QIHISIDI mode iterator.

From-SVN: r198642
This commit is contained in:
Oleg Endo 2013-05-06 19:49:57 +00:00
parent 382522cb03
commit a986d46838
2 changed files with 7 additions and 2 deletions

View 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

View File

@ -687,9 +687,9 @@
[(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)))]