Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
dc883fe4
Commit
dc883fe4
authored
Dec 19, 2011
by
Cyrill Gorcunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util: Drop unused inline_memcpy
Signed-off-by:
Cyrill Gorcunov
<
gorcunov@openvz.org
>
parent
08faefd6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
util.h
include/util.h
+0
-14
No files found.
include/util.h
View file @
dc883fe4
...
@@ -201,18 +201,4 @@ int open_fmt(char *fmt, int mode, ...);
...
@@ -201,18 +201,4 @@ int open_fmt(char *fmt, int mode, ...);
__ret; \
__ret; \
})
})
static
void
always_inline
*
inline_memcpy
(
void
*
dest
,
const
void
*
src
,
size_t
n
)
{
long
d0
,
d1
,
d2
;
asm
volatile
(
"rep ; movsq
\n\t
"
"movq %4,%%rcx
\n\t
"
"rep ; movsb
\n\t
"
:
"=&c"
(
d0
),
"=&D"
(
d1
),
"=&S"
(
d2
)
:
"0"
(
n
>>
3
),
"g"
(
n
&
7
),
"1"
(
dest
),
"2"
(
src
)
:
"memory"
);
return
dest
;
}
#endif
/* UTIL_H_ */
#endif
/* UTIL_H_ */
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