-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 223832 b: refs/heads/master c: ea7872b h: refs/heads/master v: v3
- Loading branch information
Hitoshi Mitake
authored and
Ingo Molnar
committed
Nov 26, 2010
1 parent
50fdf16
commit 033c4ef
Showing
8 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 49ce8fc651794878189fd5f273228832cdfb5be9 | ||
refs/heads/master: ea7872b9d6a81101f6ba0ec141544a62fea35876 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
#ifdef ARCH_X86_64 | ||
|
||
#define MEMCPY_FN(fn, name, desc) \ | ||
extern void *fn(void *, const void *, size_t); | ||
|
||
#include "mem-memcpy-x86-64-asm-def.h" | ||
|
||
#undef MEMCPY_FN | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
MEMCPY_FN(__memcpy, | ||
"x86-64-unrolled", | ||
"unrolled memcpy() in arch/x86/lib/memcpy_64.S") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
#include "../../../arch/x86/lib/memcpy_64.S" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
#ifndef PERF_CPUFEATURE_H | ||
#define PERF_CPUFEATURE_H | ||
|
||
/* cpufeature.h ... dummy header file for including arch/x86/lib/memcpy_64.S */ | ||
|
||
#define X86_FEATURE_REP_GOOD 0 | ||
|
||
#endif /* PERF_CPUFEATURE_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
#ifndef PERF_DWARF2_H | ||
#define PERF_DWARF2_H | ||
|
||
/* dwarf2.h ... dummy header file for including arch/x86/lib/memcpy_64.S */ | ||
|
||
#define CFI_STARTPROC | ||
#define CFI_ENDPROC | ||
|
||
#endif /* PERF_DWARF2_H */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
#ifndef PERF_LINUX_LINKAGE_H_ | ||
#define PERF_LINUX_LINKAGE_H_ | ||
|
||
/* linkage.h ... for including arch/x86/lib/memcpy_64.S */ | ||
|
||
#define ENTRY(name) \ | ||
.globl name; \ | ||
name: | ||
|
||
#define ENDPROC(name) | ||
|
||
#endif /* PERF_LINUX_LINKAGE_H_ */ |