|
| | Subject: | Re: Generating RTL for function call sequences from GIMPLE | | Group: | Gcc | | From: | Richard Henderson | | Date: | 10 Apr 2007 |
On Mon, Apr 09, 2007 at 11:55:14PM +0100, Dave Korn wrote:
> Thanks, I think you're right on there. The comments on PR31136 make it
> fairly clear what's wrong; perhaps the best solution might be for
> STRIP_SIGN_NOPS to mask out the high bits when it's discarding a size-reducing
> NOP_EXPR? Or perhaps fold_unary should simplify it before passing to
> STRIP_SIGN_NOPS for minimal peturbation?
I think STRIP_NOPS, and STRIP_SIGN_NOPS, should not consider the
mode to be the same when the precision doesn't match. Indeed,
perhaps the mode is largely irrelevant, and it should only be
checking the precision....
r~
|