From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: John Vickers Cc: egcs@cygnus.com Subject: Re: Was: Re: Loop optimizer misses simple optimisation? Date: Wed, 06 May 1998 09:19:00 -0000 Message-id: <9134.894470106@hurl.cygnus.com> References: X-SW-Source: 1998-05/msg00192.html In message < Marcel-1.26-0506144150-345LJLo@ether120.acorn.co.uk >you write: > > On machines which do not have a divmod insn for a particular mode, > could we still recognise divmod, but generate a multiply & subtract > for the mod ? Yes, gcc already does this in some cases. See expmed.c::expand_divmod jeff