aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/lib/memset.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/lib/memset.S')
-rw-r--r--arch/sh/lib/memset.S1
1 files changed, 1 insertions, 0 deletions
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 @@ 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