From: Xianyi Zhang Date: Fri, 22 Apr 2011 14:07:46 +0000 (+0800) Subject: Added docs for make TARGET=your_cpu_target. X-Git-Tag: v0.1alpha2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8d93812f06f216e20cc7bac4f15ad65bf5544a6;p=platform%2Fupstream%2Fopenblas.git Added docs for make TARGET=your_cpu_target. --- diff --git a/README b/README index 46792c0..0f0aefa 100644 --- a/README +++ b/README @@ -8,7 +8,9 @@ Download from project homepage. http://xianyi.github.com/OpenBLAS/ Or, check out codes from git://github.com/xianyi/OpenBLAS.git 1)Normal compile -Please read GotoBLAS_02QuickInstall.txt or type "make" + (a) type "make" to detect the CPU automatically. + or + (b) type "make TARGET=xxx" to set target CPU, e.g. "make TARGET=NEHALEM". The full target list is in file TargetList.txt. 2)Cross compile Please set CC and FC with the cross toolchains. Then, set HOSTCC with your host C compiler. At last, set TARGET explicitly. diff --git a/TargetList.txt b/TargetList.txt new file mode 100644 index 0000000..1c3d7c5 --- /dev/null +++ b/TargetList.txt @@ -0,0 +1,57 @@ +Force Target Examples: + +make TARGET=NEHALEM +make TARGET=LOONGSON3A BINARY=64 +make TARGET=ISTANBUL + +Supported List: +1.X86/X86_64 +a)Intel CPU: +P2 +COPPERMINE +KATMAI +NORTHWOOD +PRESCOTT +BANIAS +YONAH +CORE2 +PENRYN +DUNNINGTON +NEHALEM +ATOM + +b)AMD CPU: +ATHLON +OPTERON +OPTERON_SSE3 +BARCELONA +SHANGHAI +ISTANBUL + +c)VIA CPU: +SSE_GENERIC +VIAC3 +NANO + +2.Power CPU: +POWER4 +POWER5 +POWER6 +PPCG4 +PPC970 +PPC970MP +PPC440 +PPC440FP2 +CELL + +3.MIPS64 CPU: +SICORTEX +LOONGSON3A + +4.IA64 CPU: +ITANIUM2 + +5.SPARC CPU: +SPARC +SPARCV7 +