* libc/machine/mips/strlen.c (strlen): Add delay slot for R3000.
This commit is contained in:
parent
33cdc2a420
commit
1991358fe5
@ -1,3 +1,7 @@
|
|||||||
|
2011-01-10 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
|
* libc/machine/mips/strlen.c (strlen): Add delay slot for R3000.
|
||||||
|
|
||||||
2011-01-10 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2011-01-10 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* libc/include/string.h: Make strsignal() available unconditionally.
|
* libc/include/string.h: Make strsignal() available unconditionally.
|
||||||
|
@ -60,6 +60,9 @@ __asm__("" /* 32-bit MIPS targets */
|
|||||||
" addiu $2,$4,1\n"
|
" addiu $2,$4,1\n"
|
||||||
"\n"
|
"\n"
|
||||||
"1: lbu $3,0($4)\n"
|
"1: lbu $3,0($4)\n"
|
||||||
|
#if defined(_R3000)
|
||||||
|
" nop \n"
|
||||||
|
#endif
|
||||||
" bnez $3,1b\n"
|
" bnez $3,1b\n"
|
||||||
" addiu $4,$4,1\n"
|
" addiu $4,$4,1\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user