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
+1 -1
View File
@@ -46,7 +46,7 @@
#define PREFETCHW prefetcht0
#endif
#if defined(CORE2) || defined(PENRYN) || defined(DUNNINGTON) || defined(NEHALEM)
#if defined(CORE2) || defined(PENRYN) || defined(DUNNINGTON) || defined(NEHALEM) || defined(SANDYBRIDGE)
#define RPREFETCHSIZE 12
#define WPREFETCHSIZE (RPREFETCHSIZE * 4)
#define PREFETCH prefetcht0