On 03/26/2014 11:22 AM, Christian Bruel wrote: > Hello, > > 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.
Correction, it's memcpy that can do that, but nevertheless, a specialized implementation in the glibc is better for big sizes (and absorbs the cost of the jump). > > No new regressions for sh-none-elf and sh-linux-elf without new errors. > > OK for trunk ? > > many thanks, > > > > > > > >