############################################################################### # Configuration for Xilinx Zynq # Contributors: # Dharmesh Jani - dharmesh.jani@xilinx.com # Used linaro config as the baseline ############################################################################### # Configuration for a generic Cortex-A9 # # Copyright (c) 2010,2011 Linaro # Contributors: # Michael Hope - initial implementation. Based on the SPEC examples. # ############################################################################### # # To run: # runspec --config linux-armv7l-gcc4-xilinx # # The extension 'gcc4-high-opt' uses high optimization and is enabled by # default. # # See below for other configurations. The Linaro ARM standard # configuration tunes for the A9 and enables NEON. Try: # runspec --config linux-armv7l-gcc4-xilinx -e gcc4-o3-neon-opt # # and see gcc4-o3-noen-opt below for details. # ############################################################################### # These variables below are defaults and should be modified according to the # system under test. company_name = Xilinx hw_model = Zync hw_cpu = Cortex-A9 hw_cpu_mhz = hw_disk = Flash Drive, 8 GB hw_fpu = Integrated hw_memory = 1 GB hw_avail = test_date = sw_file = Linux/ext4 sw_os = hw_vendor = Xilinx tester_name = license_num = hw_ncpu = 2 hw_ncpuorder = 2 hw_ocache = N/T hw_other = None hw_parallel = No hw_pcache = N/T hw_scache = N/T hw_tcache = N/A sw_state = Multi-user VENDOR = action = validate tune = base CROSS_COMPILE= # The train workload is fine on a A9 for day to day tests # Reference data set should be used for creating reportable scores --> Zynq size = ref #Run single iteration by default iterations = 1 output_format = asc,config ext = gcc47-default check_md5 = 1 # Don't do reportable runs unless commanded reportable = 1 # Run everything runlist = int fp teeout = yes teerunout = yes # Do not build parallel by default makeflags = #-j3 # Defaults default=default=default=default: CC = $(CROSS_COMPILE)gcc CXX = $(CROSS_COMPILE)g++ #FC = gfortran # not available #F77 = gfortran # not available FC = $(CROSS_COMPILE)gfortran # give it a shot to see if this works - Dharmesh F77 = $(CROSS_COMPILE)gfortran # read comment above sw_avail= sw_compiler0000 = ################################################################ # Portability Flags ################################################################ # vortex has an aliasing violation. See: # http://gcc.gnu.org/ml/gcc/2005-09/msg00579.html # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23449 255.vortex=default=default=default: notes0045= 255.vortex= CPORTABILITY=-fno-strict-aliasing CPORTABILITY = -fno-strict-aliasing # LINUX_i386 is little endian and close enough to ARM 186.crafty=default=default=default: notes0050= 186.crafty: CPORTABILITY=-DLINUX_i386 CPORTABILITY = -DLINUX_i386 # G++ needs needs -fpermissive to accept the code 252.eon=default=default=default: notes0051= 252.eon: CXXPORTABILITY=-DHAS_ERRLIST -fpermissive CXXPORTABILITY = -DHAS_ERRLIST -fpermissive # LINUX_I386 is little endian and close enough to ARM 253.perlbmk=default=default=default: notes0052= 253.perlbmk: CPORTABILITY=-DSPEC_CPU2000_LINUX_I386 -DSPEC_CPU2000_NEED_BOOL CPORTABILITY = -DSPEC_CPU2000_NEED_BOOL -DSPEC_CPU2000_LINUX_I386 254.gap=default=default=default: notes0055= 254.gap: CPORTABILITY=-DSYS_IS_USG -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO wnotes0056= -DSYS_HAS_CALLOC_PROTO -DSYS_HAS_MALLOC_PROTO CPORTABILITY = -DSYS_HAS_MALLOC_PROTO -DSYS_HAS_CALLOC_PROTO -DSYS_IS_USG -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO # ARM defaults to unsigned char. This flag can be used for all hosts # as it makes the char type more explicit 300.twolf=default=default=default: CPORTABILITY = -DHAVE_SIGNED_CHAR # twolf has high variance. Run for more iterations to better quantify #iterations = 1 # galgel won't build in parallel 178.galgel=default=default=default: notes0050= 178.galgel: -ffixed-form FPORTABILITY= -ffixed-form makeflags = # facerec won't build in parallel 187.facerec=default=default=default: makeflags = # For a 64 bit host: # notes0045= 255.vortex= CPORTABILITY=-DSPEC_CPU2000_LP64 -fno-strict-aliasing # CPORTABILITY = -DSPEC_CPU2000_LP64 -fno-strict-aliasing # # 252.eon=default=default=default: # notes0051= 252.eon: CXXPORTABILITY=-DHAS_ERRLIST -DSPEC_CPU2000_LP64 -fpermissive # CXXPORTABILITY = -DHAS_ERRLIST -DSPEC_CPU2000_LP64 -fpermissive # # 253.perlbmk=default=default=default: # notes0052= 253.perlbmk: CPORTABILITY=-DSPEC_CPU2000_LINUX_I386 -DSPEC_CPU2000_NEED_BOOL # notes0053= -DSPEC_CPU2000_LP64 # CPORTABILITY = -DSPEC_CPU2000_NEED_BOOL -DSPEC_CPU2000_LINUX_I386 -DSPEC_CPU2000_LP64 # # 254.gap=default=default=default: # notes0055= 254.gap: CPORTABILITY=-DSYS_IS_USG -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO # notes0056= -DSYS_HAS_CALLOC_PROTO -DSYS_HAS_MALLOC_PROTO # notes0057= -DSPEC_CPU2000_LP64 # CPORTABILITY = -DSYS_HAS_MALLOC_PROTO -DSYS_HAS_CALLOC_PROTO -DSYS_IS_USG -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO -DSPEC_CPU2000_LP64 ################################################################ # Baseline Tuning Flags ################################################################ # Standard SPEC 'High Optimization': default=base=gcc47-default=default: notes0080= Baseline C: gcc -O3 -fno-common notes0085= Baseline C++: g++ -O3 -fno-common COPTIMIZE = -O3 -fno-common -static CXXOPTIMIZE = -O3 -fno-common -static FOPTIMIZE = -O3 -fno-common -static F77OPTIMIZE = -O3 -fno-common -static # Plain O3 only default=base=gcc47-o3=default: notes0080= Baseline C: gcc -O3 notes0085= Baseline C++: g++ -O3 COPTIMIZE = -O3 CXXOPTIMIZE = -O3 FOPTIMIZE = -O3 F77OPTIMIZE = -O3 # Standard Linaro ARM configuration (removed -g & added -static; softfp does not work with the compiler --Dharmesh) default=base=gcc47-std-vfp=default: notes0080= Baseline C: gcc -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=vfpv3 -mfloat-abi=hard notes0085= Baseline C++: g++ -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=vfpv3 -mfloat-abi=hard COPTIMIZE = -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=vfpv3 -mfloat-abi=hard CXXOPTIMIZE = -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=vfpv3 -mfloat-abi=hard FOPTIMIZE = -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=vfpv3 -mfloat-abi=hard F77OPTIMIZE = -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=vfpv3 -mfloat-abi=hard # Standard Linaro ARM configuration (removed -g & added -static --Dharmesh) default=base=gcc47-std-neon=default: notes0080= Baseline C: gcc -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad notes0085= Baseline C++: g++ -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad COPTIMIZE = -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad CXXOPTIMIZE = -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad FOPTIMIZE = -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad F77OPTIMIZE = -O3 -static -fno-common -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad # Highest Optimization. ARM specific. Some tests may fail at the moment. #default=base=gcc48-linaro-max=default: #notes0080= Baseline C: gcc -O3 -fno-common #notes0085= Baseline C++: g++ -O3 -fno-common #COPTIMIZE = -O3 -fno-common -ffast-math -funsafe-loop-optimizations -g -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad #CXXOPTIMIZE = -O3 -fno-common -ffast-math -funsafe-loop-optimizations -g -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad #FOPTIMIZE = -O3 -fno-common -ffast-math -funsafe-loop-optimizations -g -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad #F77OPTIMIZE = -O3 -fno-common -ffast-math -funsafe-loop-optimizations -g -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad # Highest Optimization. ARM specific. Some tests may fail at the moment. With Static default=base=gcc47-linaro-max=default: notes0080= Baseline C: gcc -O3 -fno-common -static notes0085= Baseline C++: g++ -O3 -fno-common -static COPTIMIZE = -O3 -static -fno-common -ffast-math -funsafe-loop-optimizations -g -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad CXXOPTIMIZE = -O3 -static -fno-common -ffast-math -funsafe-loop-optimizations -g -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad FOPTIMIZE = -O3 -static -fno-common -ffast-math -funsafe-loop-optimizations -g -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad F77OPTIMIZE = -O3 -static -fno-common -ffast-math -funsafe-loop-optimizations -g -march=armv7-a -mtune=cortex-a9 -mthumb -mfpu=neon -mvectorize-with-neon-quad # The special target 'cbuild' is used for the automated build. Values # are replaced by the script. default=base=cbuild-extension=default: notes0080= cbuild-notes0080 notes0085= cbuild-notes0085 COPTIMIZE = cbuild-COPTIMIZE CXXOPTIMIZE = cbuild-CXXOPTIMIZE FOPTIMIZE = cbuild-FOPTIMIZE F77OPTIMIZE = cbuild-F77OPTIMIZE # The special target 'cbuild' is used for the automated build. Values # are replaced by the script. default=base=cbuild-extension-pgo=default: notes0080= cbuild-notes0080 notes0085= cbuild-notes0085 profiledir = cbuild-TOPDIR/out/profile COPTIMIZE = cbuild-COPTIMIZE CXXOPTIMIZE = cbuild-CXXOPTIMIZE FOPTIMIZE = cbuild-FOPTIMIZE F77OPTIMIZE = cbuild-F77OPTIMIZE PASS1_CFLAGS = -fprofile-generate=$(profiledir)/$(BENCHMARK) PASS1_CXXFLAGS = -fprofile-generate=$(profiledir)/$(BENCHMARK) PASS1_FFLAGS = -fprofile-generate=$(profiledir)/$(BENCHMARK) PASS1_F77FLAGS = -fprofile-generate=$(profiledir)/$(BENCHMARK) PASS1_LDFLAGS = -fprofile-generate=$(profiledir)/$(BENCHMARK) PASS2_CFLAGS = -fprofile-use=$(profiledir)/$(BENCHMARK) PASS2_CXXFLAGS = -fprofile-use=$(profiledir)/$(BENCHMARK) PASS2_FFLAGS = -fprofile-use=$(profiledir)/$(BENCHMARK) PASS2_F77FLAGS = -fprofile-use=$(profiledir)/$(BENCHMARK) PASS2_LDFLAGS = -fprofile-use=$(profiledir)/$(BENCHMARK) fdo_pre0 = rm -rf ${profiledir}; mkdir -p ${profiledir} __MD5__ 164.gzip=base=gcc47-default=default: # Last updated Mon Sep 9 15:42:17 2013 optmd5=11cb6518e2d4b5efa9eade4586499731 exemd5=2d277ad69266e36ec2710aaeead5bea8 175.vpr=base=gcc47-default=default: # Last updated Mon Sep 9 15:42:17 2013 optmd5=9fb7afd256da33b608129f66e4a422d1 exemd5=22412dc8abbd97755985701f9655350d 176.gcc=base=gcc47-default=default: # Last updated Mon Sep 9 15:42:17 2013 optmd5=bc645de6a31459d465ce75e0d828387a exemd5=6e8bd2bd3169e8a6f63df06051d1c7e8 181.mcf=base=gcc47-default=default: # Last updated Mon Sep 9 15:42:17 2013 optmd5=631ef34c563e068b186b2fd176863993 exemd5=84eb3e78b6eeae053455a08f0e6a2a2a 186.crafty=base=gcc47-default=default: # Last updated Mon Sep 9 15:42:17 2013 optmd5=c11d9006bb36c63e49446705071ab519 exemd5=ae8cc21262014cf60aade7a1021d2f62 197.parser=base=gcc47-default=default: # Last updated Mon Sep 9 15:42:17 2013 optmd5=bde197705913c3d9419e4fea88a0ad35 exemd5=b88c52ea9eb22236e0535a0e549c22b7 252.eon=base=gcc47-default=default: # Last updated Mon Sep 9 16:25:41 2013 optmd5=1f2c61bbdb7dd17df42c96988144ce55 exemd5=fbf19d5b4ecc4ed12a8fc54e9e208f95 254.gap=base=gcc47-default=default: # Last updated Mon Sep 9 16:25:41 2013 optmd5=7b66a242003620164aa916c5c3b0507c exemd5=fcfcd28e52ab9aa321f738f5a1717fe3 255.vortex=base=gcc47-default=default: # Last updated Mon Sep 9 16:25:41 2013 optmd5=32a702d44b7f55ad32d233437ab6abd4 exemd5=a711dfb4fb6ade26a0f9335c3c1ed5f0 256.bzip2=base=gcc47-default=default: # Last updated Mon Sep 9 16:25:41 2013 optmd5=d94fbd1f7839937a26221b06597e8e1e exemd5=7040e6f6eb70e3598e54bec08bb118a0 300.twolf=base=gcc47-default=default: # Last updated Mon Sep 9 16:25:41 2013 optmd5=afe292a9c67165d9f7a85cdc519e0e0b exemd5=8f3bb44047831e869b6327febaf5c643 168.wupwise=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=30d5a9bd13e8599b58ff3dd9b7bb8dba exemd5=4f10abc0528897ea6c37ffd6173af8a6 171.swim=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=9ca733e6fdbe1245157cff06cac902de exemd5=d5168a3e5ab340659d7d42d03ee0a198 172.mgrid=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=4196defdfb6d23382e0fb91fa7778f3c exemd5=9b6239aff39426ccc8e9e9b6f708602c 173.applu=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=d3a70caf572290618dcfd8b9da491f86 exemd5=dabbc6c949a608ab8d302f44436bf53d 177.mesa=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=ca6e94e3025604306aa889014c2ecb83 exemd5=83527d6f5c9611219a7c986ece3d6d19 178.galgel=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=02db9a8558c3d173a8b91865a854996f exemd5=f96d356d7f1332f3cc9759df6fbe932f 179.art=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=723f0ea795c83fa43be2f7c264dc1c65 exemd5=08ac2e319f2f17ee6972e95963b3c0d4 183.equake=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=ff61e84a951c209e184535b79e07d86a exemd5=8a0ce2aba50a04a99bbaa7ad283c13f1 187.facerec=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=fb7e8d3c9904aa9c8649209bc058dd9f exemd5=b9eb0ff815e2baaa612d29e1142608ea 188.ammp=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=66bbf535241fdd9a069788d72b176a5e exemd5=5ffc69a2ce4b06e9d612cfa2ed0f84dc 189.lucas=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=7a93b9835ce5ecedc319ae0a39de530d exemd5=3d816f993432b7aac91db4e111dce3b7 191.fma3d=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=ab1079b2dbe46516824908cac5be32b4 exemd5=4e0fa9d735c1a2e5daf65f5082413003 200.sixtrack=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=e42c1c74ffd4b5575da78fe6f9f3d97a exemd5=3095cd3e5b278f87291e5764fb2b7c27 253.perlbmk=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=1d89a07571d58a119d06b391f1fd061b exemd5=e71b80805e0b38ac809c0fb2c7567961 301.apsi=base=gcc47-default=default: # Last updated Mon Sep 9 18:11:43 2013 optmd5=14d3c22cdb3a80b03077334bb3460e75 exemd5=e6463864644cff28195356eaba021548