This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, SH] inline builtin_memset
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: christian dot bruel at st dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 26 Mar 2014 20:53:36 +0900 (JST)
- Subject: Re: [PATCH, SH] inline builtin_memset
- Authentication-results: sourceware.org; auth=none
- References: <5332AA5E dot 1090701 at st dot com>
Christian Bruel <christian.bruel@st.com> wrote:
> This patch inlines builtin_memset whose size is a constant 128 < size <
> 15. Small sizes are better unrolled with mov_insn sequences. Big size
> (or non constants) are better handled with a libc implementation that
> does cache line aligned copying and unrolling or prefetching.
>
> No new regressions for sh-none-elf and sh-linux-elf without new errors.
>
> OK for trunk ?
OK for trunk when it returns to stage 1 or 2.
Regards,
kaz