cd spec2006-v1.0.1-tar
tar -zxvf spec2006-v1.0.1.tar.gz
cd spec2006-v1.0.1
./install.sh
# SPEC CPU2006 Installation
#
# Top of the CPU2006 tree is '/home/wll/SPEC06-llvm/speccpu2006-v1.0.1'
#
# These appear to be valid toolsets:
#
# linux-suse101-i386 For 32-bit i386 Linux systems.
# Built on SuSE Linux 10.1 with
# gcc V4.1.0 (SUSE Linux)
#
# linux-suse101-AMD64 For 64-bit AMD64 Linux systems.
# Built on SuSE Linux 10.1 with
# gcc V4.1.0 (SUSE Linux)
# Should also be usable on 64 bit EM64T systems
#
# linux-redhat62-ia32 For x86-based Linux systems with GLIBC 2.1.3+
# Built on RedHat 6.2 with gcc 2.95.3
#
#
# Enter the architecture you are using:
linux-suse101-AMD64
Optimized SPEC cpu 2006
1. 安装 spec2006
2.设置环境变量
复制
set-test-env.sh.example
到set-test-env.sh
设置编译目标,将
BASE_DIR
设置为对应目标平台的dir在要编译的目标平台的dir下,复制
variables.sh.example
到variables.sh
optimized-dirs/kmh-dir/variables.sh
optimized-dirs/spacemit-dir/variables.sh
设置variables.sh
KMH Peak Information
测试分数及优化信息
KMH RTL 版本信息:
进迭K1(16G RAM, 1.6GHz) 系统信息: