https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60884
--- Comment #5 from Oleg Endo ---
The test case gcc.target/sh/memset.c:
void
test00(char *dstb)
{
__builtin_memset (dstb, 0, 15);
}
compiles to:
mov r4,r0
tst #3,r0
mov #0,r1
bf/s.L5
mo
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60884
--- Comment #4 from Oleg Endo ---
Author: olegendo
Date: Wed May 7 20:08:23 2014
New Revision: 210187
URL: http://gcc.gnu.org/viewcvs?rev=210187&root=gcc&view=rev
Log:
gcc/
PR target/60884
* config/sh/sh-mem.cc (sh_expand_strlen): Use lo
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60884
chrbr at gcc dot gnu.org changed:
What|Removed |Added
CC||chrbr at gcc dot gnu.org
--- Co
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60884
--- Comment #2 from Oleg Endo ---
I was trying to see how to implement the strchr builtin function which could
also utilize the cmp/str insn. However, it seems that the necessary builtin
expansion code for strchr is not there (yet).
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60884
Oleg Endo changed:
What|Removed |Added
CC||christian.bruel at st dot com
--- Comment #1