Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7be853d authored by Toshinobu Sugioka's avatar Toshinobu Sugioka Committed by Paul Mundt
Browse files

sh: Fix a sign extension bug in memset().



Minor sign-extension bug in SH-specific memset()..

Signed-off-by: default avatarToshinobu Sugioka <sugioka@itonet.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 73388cc7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ ENTRY(memset)
	bf/s	1b
	 mov.b	r5,@-r4
2:				! make VVVV
	extu.b	r5,r5
	swap.b	r5,r0		!   V0
	or	r0,r5		!   VV
	swap.w	r5,r0		! VV00