[M3devel] how division and modulo work in hand.c?

hendrik at topoi.pooq.com hendrik at topoi.pooq.com
Sun Jan 17 21:48:30 CET 2010


On Sun, Jan 17, 2010 at 11:39:03AM -0500, Tony Hosking wrote:
> 
> This is a quote from the gcc internals manual.  I've always wondered 
> why cm3cg uses the built-in FLOOR_DIV_EXPR/FLOOR_MOD_EXPR only for 
> known positive operands.  What would be wrong about using them also 
> for negative operands?

What does cm3cg use for operands that are not known to be positive?

-- hendrik



More information about the M3devel mailing list