This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: long long / long long


	Some of the problems have to do with value range propagation
optimizations which GCC currently does not have.  The VRP patch under
development is far too over-engineered, IMHO.

	What matters is whether the register will have a zero or non-zero
value.  Or at best, whether the subreg bytes will be zero or not.  Knowing
that the value will be between 33 and 34066415 really doesn't matter at
that level of detail.  For DImode as a pair of 32-bit registers, knowing
that one register will be zero allows a lot of simplifications to be
propagated throughout the computation.

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]