From 773c01f4966b2ca0d9cbb654a7f188358372da0c Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Sun, 17 Mar 2013 22:48:24 +0800 Subject: [PATCH 1/4] Typo correction in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ed5f196c7..f932b5141 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ On X86 box, compile this library for loongson3a CPU. make DEBUG=1 -### Intall to the directory (Optional) +### Install to the directory (Optional) Example: From 309f90e563776d54787e04c449f38a55cd9240e4 Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Sun, 17 Mar 2013 23:03:05 +0800 Subject: [PATCH 2/4] TargetList.txt: minor re-ordering --- TargetList.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TargetList.txt b/TargetList.txt index c859db082..ce35a3faa 100644 --- a/TargetList.txt +++ b/TargetList.txt @@ -8,8 +8,8 @@ Supported List: 1.X86/X86_64 a)Intel CPU: P2 -COPPERMINE KATMAI +COPPERMINE NORTHWOOD PRESCOTT BANIAS From b47f13ee4c2e33ba45a2f869fb4c845cb3a2074f Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Sun, 17 Mar 2013 23:07:48 +0800 Subject: [PATCH 3/4] getarch.c: Minor re-ordering of architecture list --- getarch.c | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/getarch.c b/getarch.c index 2b9856338..2e0f2ed42 100644 --- a/getarch.c +++ b/getarch.c @@ -96,6 +96,8 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. /* #define FORCE_PENRYN */ /* #define FORCE_DUNNINGTON */ /* #define FORCE_NEHALEM */ +/* #define FORCE_SANDYBRIDGE */ +/* #define FORCE_ATOM */ /* #define FORCE_ATHLON */ /* #define FORCE_OPTERON */ /* #define FORCE_OPTERON_SSE3 */ @@ -103,7 +105,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. /* #define FORCE_SHANGHAI */ /* #define FORCE_ISTANBUL */ /* #define FORCE_BULLDOZER */ -/* #define FORCE_BOBCAT */ +/* #define FORCE_BOBCAT */ /* #define FORCE_SSE_GENERIC */ /* #define FORCE_VIAC3 */ /* #define FORCE_NANO */ @@ -118,12 +120,12 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. /* #define FORCE_PPC440FP2 */ /* #define FORCE_CELL */ /* #define FORCE_SICORTEX */ -/* #define FORCE_LOONGSON3A */ -/* #define FORCE_LOONGSON3B */ +/* #define FORCE_LOONGSON3A */ +/* #define FORCE_LOONGSON3B */ /* #define FORCE_ITANIUM2 */ -/* #define FORCE_GENERIC */ /* #define FORCE_SPARC */ /* #define FORCE_SPARCV7 */ +/* #define FORCE_GENERIC */ #ifdef FORCE_P2 #define FORCE @@ -139,20 +141,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define CORENAME "P5" #endif -#ifdef FORCE_COPPERMINE -#define FORCE -#define FORCE_INTEL -#define ARCHITECTURE "X86" -#define SUBARCHITECTURE "PENTIUM3" -#define ARCHCONFIG "-DPENTIUM3 " \ - "-DL1_DATA_SIZE=16384 -DL1_DATA_LINESIZE=32 " \ - "-DL2_SIZE=262144 -DL2_LINESIZE=32 " \ - "-DDTB_DEFAULT_ENTRIES=64 -DDTB_SIZE=4096 " \ - "-DHAVE_CMOV -DHAVE_MMX -DHAVE_SSE " -#define LIBNAME "coppermine" -#define CORENAME "COPPERMINE" -#endif - #ifdef FORCE_KATMAI #define FORCE #define FORCE_INTEL @@ -167,6 +155,20 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define CORENAME "KATMAI" #endif +#ifdef FORCE_COPPERMINE +#define FORCE +#define FORCE_INTEL +#define ARCHITECTURE "X86" +#define SUBARCHITECTURE "PENTIUM3" +#define ARCHCONFIG "-DPENTIUM3 " \ + "-DL1_DATA_SIZE=16384 -DL1_DATA_LINESIZE=32 " \ + "-DL2_SIZE=262144 -DL2_LINESIZE=32 " \ + "-DDTB_DEFAULT_ENTRIES=64 -DDTB_SIZE=4096 " \ + "-DHAVE_CMOV -DHAVE_MMX -DHAVE_SSE " +#define LIBNAME "coppermine" +#define CORENAME "COPPERMINE" +#endif + #ifdef FORCE_NORTHWOOD #define FORCE #define FORCE_INTEL From 53588bc78604a88b29fc9296723ed3e0b0ff40b8 Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Sun, 17 Mar 2013 23:09:23 +0800 Subject: [PATCH 4/4] getarch.c: Minor re-ordering of architecture list --- getarch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getarch.c b/getarch.c index 2e0f2ed42..ac10f1cd5 100644 --- a/getarch.c +++ b/getarch.c @@ -104,8 +104,8 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. /* #define FORCE_BARCELONA */ /* #define FORCE_SHANGHAI */ /* #define FORCE_ISTANBUL */ -/* #define FORCE_BULLDOZER */ /* #define FORCE_BOBCAT */ +/* #define FORCE_BULLDOZER */ /* #define FORCE_SSE_GENERIC */ /* #define FORCE_VIAC3 */ /* #define FORCE_NANO */