Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26176
b: refs/heads/master
c: 4d5c34e
h: refs/heads/master
v: v3
  • Loading branch information
Ivan Kokshaysky authored and Linus Torvalds committed Apr 25, 2006
1 parent 9db4168 commit e0f96dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 454ac778459bc70f0a9818a6a8fd974ced11de66
refs/heads/master: 4d5c34ec7b007cfb0771a36996b009f194acbb2f
8 changes: 4 additions & 4 deletions trunk/arch/alpha/lib/strncpy.S
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ strncpy:

.align 4
$multiword:
subq $24, 1, $2 # clear the final bits in the prev word
or $2, $24, $2
subq $27, 1, $2 # clear the final bits in the prev word
or $2, $27, $2
zapnot $1, $2, $1
subq $18, 1, $18

Expand All @@ -70,8 +70,8 @@ $multiword:
bne $18, 0b

1: ldq_u $1, 0($16) # clear the leading bits in the final word
subq $27, 1, $2
or $2, $27, $2
subq $24, 1, $2
or $2, $24, $2

zap $1, $2, $1
stq_u $1, 0($16)
Expand Down

0 comments on commit e0f96dd

Please sign in to comment.