From 9a2b090ce066189030d47ece3022ed6c6d885bee Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Thu, 21 May 2009 20:22:45 +0000 Subject: [PATCH] mips.md (*extzv_trunc_exts): Turn into a regular pattern from a template and rename it ... * config/mips/mips.md (*extzv_trunc_exts): Turn into a regular pattern from a template and rename it ... (*extzv_truncsi_exts): ... to this. From-SVN: r147778 --- gcc/ChangeLog | 6 ++++++ gcc/config/mips/mips.md | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a06f1181990..512076737db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-05-21 Adam Nemet + + * config/mips/mips.md (*extzv_trunc_exts): Turn into a + regular pattern from a template and rename it ... + (*extzv_truncsi_exts): ... to this. + 2009-05-21 Richard Guenther * cgraph.h (struct cgraph_node): Remove inline_decl member. diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 81ed584e4fc..e571614b35c 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -3491,16 +3491,16 @@ [(set_attr "type" "arith") (set_attr "mode" "")]) -(define_insn "*extzv_trunc_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" "")]) + (set_attr "mode" "SI")]) (define_expand "insv"