Added docs for make TARGET=your_cpu_target.

This commit is contained in:
Xianyi Zhang 2011-04-22 22:07:46 +08:00
parent ff6ae89d3e
commit b8d93812f0
2 changed files with 60 additions and 1 deletions

4
README
View File

@ -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.

57
TargetList.txt Normal file
View File

@ -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