diff options
author | Toshinobu Sugioka <sugioka@itonet.co.jp> | 2006-09-27 14:13:14 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 14:13:14 +0900 |
commit | e7be853df79fe8ae08ba7d933bd21e1dbb0db7bc (patch) | |
tree | 0285f786e261017e42e05c080978e1c4b8d55f5d /arch/sh/lib/memset.S | |
parent | 73388cc7c648861742e584a97fbffed16afc7dc3 (diff) | |
download | blackbird-op-linux-e7be853df79fe8ae08ba7d933bd21e1dbb0db7bc.tar.gz blackbird-op-linux-e7be853df79fe8ae08ba7d933bd21e1dbb0db7bc.zip |
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>
Diffstat (limited to 'arch/sh/lib/memset.S')
-rw-r--r-- | arch/sh/lib/memset.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/lib/memset.S b/arch/sh/lib/memset.S index 95670090680e..af91fe2b72a6 100644 --- a/arch/sh/lib/memset.S +++ b/arch/sh/lib/memset.S @@ -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 |