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] Optimize memmove (x, y, 1)


On Mon, Sep 13, 2004 at 02:08:10PM -0400, Jakub Jelinek wrote:
> 	* builtins.c (expand_builtin_memmove): Optimize memmove (x, y, 1)
> 	into memcpy (x, y, 1) if memcpy can be expanded inline.
> 	* gcc.c-torture/execute/builtins/memmove.c (main_test): Formatting.
> 	Add test for memmove (x, y, 1) optimization.

Ok.


r~


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