From 3a5afcab9723233fb22429458032e4e386c4b7b1 Mon Sep 17 00:00:00 2001 From: uros Date: Sun, 11 Apr 2010 14:26:27 +0000 Subject: [PATCH] * config/i386/i386.md (*ashr3_cconly): Fix wrong mode of scratch register. (*lshr3_cconly): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158204 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 12 +++++++++--- gcc/config/i386/i386.md | 4 ++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce1986463d3..b66461cd27a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2010-04-11 Uros Bizjak + * config/i386/i386.md (*ashr3_cconly): Fix wrong mode of + scratch register. + (*lshr3_cconly): Ditto. + +2010-04-11 Uros Bizjak + * config/i386/i386.md (lshr3): Macroize expander from lshr{qi,hi,si,di,ti}3_1 using SDWIM mode iterator. (*lshr3_doubleword): New insn_and_split_pattern. Macroize @@ -46,7 +52,7 @@ *ashrdi3_one_bit_cconly_rex64. Macroize insn from *ashr{qi,hi,si}3_cconly and *ashrdi3_cconly_rex64 using SWI mode iterator. - (sign_extend splitters): Update for renamed ashr{di,si}3_31 patterns. + (sign_extend splitters): Update for renamed ashr{di,si}3_cvt patterns. * config/i386/i386.c (ix86_split_ashr): Update for renamed x86_shift_adj_3 expanders. @@ -221,7 +227,7 @@ * tree-vectorizer.h (struct _stmt_vec_info): Document that vectype is the type of the LHS. - (supportable_widening_operation, supportable_narrowing_operation): + (supportable_widening_operation, supportable_narrowing_operation): Get both input and output vector types as arguments. (vect_is_simple_use_1): Declare. (get_same_sized_vectype): Likewise. @@ -474,7 +480,7 @@ inserting GIMPLE_NOPs into the IL. * tree-ssa-structalias.c (get_constraint_for_component_ref): Explicitly strip handled components and indirect references. - + * fold-const.c (fold_unary_loc): Do not strip qualifiers when folding address expressions. * gimple.c (gimple_ior_addresses_taken_1): Use get_base_address. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index fa40aa8df69..a6bc762243c 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -10580,7 +10580,7 @@ (ashiftrt:SWI (match_operand:SWI 1 "nonimmediate_operand" "0") (match_operand:QI 2 "" "")) (const_int 0))) - (clobber (match_scratch:DI 0 "="))] + (clobber (match_scratch:SWI 0 "="))] "(optimize_function_for_size_p (cfun) || !TARGET_PARTIAL_FLAG_REG_STALL || (operands[2] == const1_rtx @@ -10794,7 +10794,7 @@ (lshiftrt:SWI (match_operand:SWI 1 "nonimmediate_operand" "0") (match_operand:QI 2 "" "")) (const_int 0))) - (clobber (match_scratch:DI 0 "="))] + (clobber (match_scratch:SWI 0 "="))] "(optimize_function_for_size_p (cfun) || !TARGET_PARTIAL_FLAG_REG_STALL || (operands[2] == const1_rtx -- 2.11.0