Deleted Added
full compact
36c36
< __FBSDID("$FreeBSD: head/lib/libc/mips/string/rindex.S 178580 2008-04-26 12:08:02Z imp $");
---
> __FBSDID("$FreeBSD: head/lib/libc/mips/string/rindex.S 209231 2010-06-16 12:55:14Z jchandra $");
48c48
< move v0, zero # default if not found
---
> move v0, zero # default if not found
50,53c50,53
< lbu a3, 0(a0) # get a byte
< addu a0, a0, 1
< bne a3, a1, 2f
< subu v0, a0, 1 # save address of last match
---
> lbu a3, 0(a0) # get a byte
> PTR_ADDU a0, a0, 1
> bne a3, a1, 2f
> PTR_SUBU v0, a0, 1 # save address of last match
55,56c55,56
< bne a3, zero, 1b # continue if not end
< j ra
---
> bne a3, zero, 1b # continue if not end
> j ra