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
nexedi
linux
Commits
25a9c0fd
Commit
25a9c0fd
authored
Apr 19, 2002
by
Asit K. Mallick
Committed by
David Mosberger
Apr 19, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Don't prefetch beyond end of patch to avoid bringing in cache-lines needlessly.
parent
fd413267
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
arch/ia64/lib/copy_page.S
arch/ia64/lib/copy_page.S
+6
-2
No files found.
arch/ia64/lib/copy_page.S
View file @
25a9c0fd
...
...
@@ -30,6 +30,7 @@
#define tgt2 r23
#define srcf r24
#define tgtf r25
#define tgt_last r26
#define Nrot ((8*PIPE_DEPTH+7)&~7)
...
...
@@ -55,18 +56,21 @@ GLOBAL_ENTRY(copy_page)
mov
src1
=
in1
adds
src2
=
8
,
in1
mov
tgt_last
=
PAGE_SIZE
;;
adds
tgt2
=
8
,
in0
add
srcf
=
512
,
in1
mov
ar
.
lc
=
lcount
mov
tgt1
=
in0
add
tgtf
=
512
,
in0
add
tgt_last
=
tgt_last
,
in0
;;
1
:
(
p
[
0
])
ld8
t1
[
0
]=[
src1
],
16
(
EPI
)
st8
[
tgt1
]=
t1
[
PIPE_DEPTH
-
1
],
16
(
p
[
0
])
ld8
t2
[
0
]=[
src2
],
16
(
EPI
)
st8
[
tgt2
]=
t2
[
PIPE_DEPTH
-
1
],
16
cmp.ltu
p6
,
p0
=
tgtf
,
tgt_last
;;
(
p
[
0
])
ld8
t3
[
0
]=[
src1
],
16
(
EPI
)
st8
[
tgt1
]=
t3
[
PIPE_DEPTH
-
1
],
16
...
...
@@ -83,8 +87,8 @@ GLOBAL_ENTRY(copy_page)
(
p
[
0
])
ld8
t8
[
0
]=[
src2
],
16
(
EPI
)
st8
[
tgt2
]=
t8
[
PIPE_DEPTH
-
1
],
16
lfetch
[
srcf
],
64
lfetch
[
tgtf
],
64
(
p6
)
lfetch
[
srcf
],
64
(
p6
)
lfetch
[
tgtf
],
64
br.ctop.sptk.few
1
b
;;
mov
pr
=
saved_pr
,
0xffffffffffff0000
//
restore
predicates
...
...
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