Init Sandybridge codes based on Nehalem.

This commit is contained in:
Xianyi Zhang
2012-03-30 20:01:03 +08:00
parent 5cbbc496b0
commit 19a48b82cf
57 changed files with 309 additions and 45 deletions

View File

@@ -63,6 +63,17 @@
#define PREFETCHSIZE 64 * 3
#endif
#ifdef SANDYBRIDGE
#define MOVUPS_A movups
#define MOVUPS_XL movups
#define MOVUPS_XS movups
#define MOVUPS_YL movups
#define MOVUPS_YS movups
#define PREFETCH prefetcht0
#define PREFETCHW prefetcht0
#define PREFETCHSIZE 64 * 3
#endif
#ifdef OPTERON
#define PREFETCH prefetch
#define PREFETCHW prefetchw