Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4a69580c
Commit
4a69580c
authored
Sep 19, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Optimise io-writesl for cpus with ldr result delays.
parent
9a81b3b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
arch/arm/lib/io-writesl.S
arch/arm/lib/io-writesl.S
+15
-10
No files found.
arch/arm/lib/io-writesl.S
View file @
4a69580c
...
@@ -17,10 +17,15 @@ ENTRY(__raw_writesl)
...
@@ -17,10 +17,15 @@ ENTRY(__raw_writesl)
ands
ip
,
r1
,
#
3
ands
ip
,
r1
,
#
3
bne
2
f
bne
2
f
1
:
ldr
r3
,
[
r1
],
#
4
tst
r2
,
#
1
str
r3
,
[
r0
]
ldrne
r3
,
[
r1
],
#
4
subs
r2
,
r2
,
#
1
strne
r3
,
[
r0
,
#
0
]
bne
1
b
1
:
subs
r2
,
r2
,
#
2
ldrcs
r3
,
[
r1
],
#
4
ldrcs
ip
,
[
r1
],
#
4
strcs
r3
,
[
r0
,
#
0
]
strcs
ip
,
[
r0
,
#
0
]
bcs
1
b
mov
pc
,
lr
mov
pc
,
lr
2
:
bic
r1
,
r1
,
#
3
2
:
bic
r1
,
r1
,
#
3
...
@@ -31,25 +36,25 @@ ENTRY(__raw_writesl)
...
@@ -31,25 +36,25 @@ ENTRY(__raw_writesl)
3
:
mov
ip
,
r3
,
lsr
#
16
3
:
mov
ip
,
r3
,
lsr
#
16
ldr
r3
,
[
r1
],
#
4
ldr
r3
,
[
r1
],
#
4
orr
ip
,
ip
,
r3
,
lsl
#
16
str
ip
,
[
r0
]
subs
r2
,
r2
,
#
1
subs
r2
,
r2
,
#
1
orr
ip
,
ip
,
r3
,
lsl
#
16
str
ip
,
[
r0
,
#
0
]
bne
3
b
bne
3
b
mov
pc
,
lr
mov
pc
,
lr
4
:
mov
ip
,
r3
,
lsr
#
24
4
:
mov
ip
,
r3
,
lsr
#
24
ldr
r3
,
[
r1
],
#
4
ldr
r3
,
[
r1
],
#
4
orr
ip
,
ip
,
r3
,
lsl
#
8
str
ip
,
[
r0
]
subs
r2
,
r2
,
#
1
subs
r2
,
r2
,
#
1
orr
ip
,
ip
,
r3
,
lsl
#
8
str
ip
,
[
r0
,
#
0
]
bne
4
b
bne
4
b
mov
pc
,
lr
mov
pc
,
lr
5
:
mov
ip
,
r3
,
lsr
#
8
5
:
mov
ip
,
r3
,
lsr
#
8
ldr
r3
,
[
r1
],
#
4
ldr
r3
,
[
r1
],
#
4
orr
ip
,
ip
,
r3
,
lsl
#
24
str
ip
,
[
r0
]
subs
r2
,
r2
,
#
1
subs
r2
,
r2
,
#
1
orr
ip
,
ip
,
r3
,
lsl
#
24
str
ip
,
[
r0
,
#
0
]
bne
5
b
bne
5
b
mov
pc
,
lr
mov
pc
,
lr
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment