commit | e7be853df79fe8ae08ba7d933bd21e1dbb0db7bc | [log] [tgz] |
---|---|---|
author | Toshinobu Sugioka <sugioka@itonet.co.jp> | Wed Sep 27 14:13:14 2006 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Wed Sep 27 14:13:14 2006 +0900 |
tree | 0285f786e261017e42e05c080978e1c4b8d55f5d | |
parent | 73388cc7c648861742e584a97fbffed16afc7dc3 [diff] [blame] |
sh: Fix a sign extension bug in memset(). Minor sign-extension bug in SH-specific memset().. Signed-off-by: Toshinobu Sugioka <sugioka@itonet.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/lib/memset.S b/arch/sh/lib/memset.S index 9567009..af91fe2 100644 --- a/arch/sh/lib/memset.S +++ b/arch/sh/lib/memset.S
@@ -29,6 +29,7 @@ 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