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

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
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment