This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] Provide basic folding for __builtin_powi


 > 2005-02-09  Richard Guenther  <rguenth@gcc.gnu.org>
 > 
 > 	    * builtins.c (fold_builtin_powi): New function.
 > 	    (fold_builtin_1): Call it.
 > 

Perhaps instead of copying code, you could put the common bits in a
fold_builtin_pow_common and have both pow builtins call it?

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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