diff options
Diffstat (limited to 'libpsn00b/libc')
| -rw-r--r-- | libpsn00b/libc/memset.s | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libpsn00b/libc/memset.s b/libpsn00b/libc/memset.s index 73f92bd..6ef84ec 100644 --- a/libpsn00b/libc/memset.s +++ b/libpsn00b/libc/memset.s @@ -9,7 +9,6 @@ memset: # If more than 16 bytes have to be written then take the "large" path, # otherwise use the code below. - blez $a2, .Lnull_count addiu $t0, $a2, -16 bgtz $t0, .Llarge_fill move $v0, $a0 # return_value = dest @@ -39,12 +38,9 @@ memset: sb $a1, 0xc($a0) sb $a1, 0xd($a0) sb $a1, 0xe($a0) - jr $ra sb $a1, 0xf($a0) - -.Lnull_count: jr $ra - move $v0, $a0 # return_value = dest + nop .Llarge_fill: # Initialize fast filling by repeating the fill byte 4 times, so it can be |
