From b5bda1d94f7a62d88c6a257a283426c16906c8cb Mon Sep 17 00:00:00 2001 From: Harald van Dijk Date: Wed, 17 Aug 2011 09:28:24 +0800 Subject: [ARITH] Avoid imaxdiv when only one of the results is wanted dash rather pointlessly calls imaxdiv, only to discard one of its results. The call was already made conditional a while back because some systems don't have imaxdiv, but the generated code for the version with imaxdiv and the one with / and % is identical (with GCC 4.6.1 or ICC 12.0.2, with -O0, -O2 or -Os), so it could just as well go entirely to clean up the code a little bit. Signed-off-by: Harald van Dijk Signed-off-by: Herbert Xu --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b96e5b2..02bfda0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-07-26 Harald van Dijk + + * Avoid imaxdiv when only one of the results is wanted. + 2010-07-09 maximilian attems * Fix klibc DEBUG compilation. -- cgit 1.4.1