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]

Re: [PATCH] Optimize memset(x, ' ', 8) (take 2)


On Fri, Dec 01, 2000 at 06:38:53PM +0100, Jakub Jelinek wrote:
> 	* builtins.c (target_char_cast): New function.
> 	(expand_builtin_strchr): Use it.
> 	(expand_builtin_strrchr): Use it.
> 	(builtin_memset_read_str): New function.
> 	(expand_builtin_memset): Use target_char_cast.
> 	Try to optimize memset with second argument non-zero using
> 	store_by_pieces.

Ok.


r~

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