From: Richard Stallman Date: Mon, 21 Sep 1992 13:33:38 +0000 (+0000) Subject: (make_extraction): Make test whether to use AND or X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc4710825df88d6d2475ad25d7decaf02758cd4d;p=gcc.git (make_extraction): Make test whether to use AND or {SIGN,ZERO}_EXTRACT depend on UNSIGNEDP. From-SVN: r2202 --- diff --git a/gcc/combine.c b/gcc/combine.c index bc1cc9b949c..05c7c94aa1d 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -4631,10 +4631,10 @@ make_extraction (mode, inner, pos, pos_rtx, len, mode, new)); } - /* Unless this isin a COMPARE or we have a funny memory reference, - don't do anything with field extracts starting at the low-order - bit since they are simple AND operations. */ - if (pos == 0 && ! in_dest && ! in_compare && ! spans_byte) + /* Unless this is a COMPARE or we have a funny memory reference, + don't do anything with zero-extending field extracts starting at + the low-order bit since they are simple AND operations. */ + if (pos == 0 && ! in_dest && ! in_compare && ! spans_byte && unsignedp) return 0; /* Get the mode to use should INNER be a MEM, the mode for the position,