This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: reg_nonzero_bits_for_combine misunderstood
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Paulo Matos <pmatos at broadcom dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 27 Nov 2013 19:26:42 +0100
- Subject: Re: reg_nonzero_bits_for_combine misunderstood
- Authentication-results: sourceware.org; auth=none
- References: <19EB96622A777C4AB91610E763265F463BF351 at SJEXCHMB14 dot corp dot ad dot broadcom dot com>
> But the problem is that if the mode of the register is larger than the mode
> of the register when last set then we can't know anything about
> nonzero_bits.
Right, this case is handled for nonzero_sign_valid a few lines below.
> Fixed the problem. Any comments?
Why not duplicate the treatment applied for nonzero_sign_valid?
--
Eric Botcazou