#################################################################### # RISC-V Config file for SPEC CPU2006 # Last Update: 2015 Jan 12 # ------------------------------------------------------------- # This file is an agglomeration from the provided CPU2006 example configuration # files (Example-simple.cfg and Example-linux64-amd64-gcc43+.cfg). # Note: I make no promises as to its suitability for use in official # submissions. # Please see http://www.spec.org/cpu2006/Docs/config.html (also available in # the Docs directory of your SPEC tree) for details on config file setup. The # config.html page has a list of all of the fields required for a full # publication ofresults. ##################################################################### # System Under Test (SUT) Section # If it affects performance, you need to describe it, either in the # pre-defined fields or by adding it to the notes section. Replace the # setting below with the ones that match your machine. ####################################################################### # Tester Description test_sponsor = Test Sponsor (Optional, defaults to hw_vendor) tester = (Optional, defaults to hw_vendor) # System Description hw_model = Unknown HW Model hw_memory = 8 GB hw_disk = 1 1TB Mystery Disk hw_vendor = Berkeley Architecture Research hw_other = None hw_avail = Dec-9999 # CPU description # See http://www.spec.org/cpu2006/Docs/runrules.html#cpucount # for a discussion of these fields hw_cpu_name = Unknown RISC-V CPU hw_cpu_char = hw_cpu_mhz = 1000 hw_fpu = Integrated hw_nchips = 1 hw_ncores = number of cores enabled hw_ncoresperchip = number of cores manufactured into each chip hw_nthreadspercore = number of threads enabled per core hw_ncpuorder = 1,2 chips # Cache description hw_pcache = 9999 MB I + 9999 MB D on chip per chip hw_scache = 9999 MB I+D on chip per chip hw_tcache = 9999 MB I+D off chip per chip hw_ocache = None # Tester description license_num = 0 # Operating system, file system sw_os = RISC-V Proxy-Kernel Version Unknown sw_file = Unknown File System sw_state = Multi-user sw_other = None ## SW config sw_compiler = gcc, g++ 6.1 sw_avail = Jan-2017 sw_base_ptrsize = 64-bit sw_peak_ptrsize = 64-bit ####################################################################### # End of SUT section # If this config file were to be applied to several SUTs, edits would # be needed only ABOVE this point. ###################################################################### ignore_errors = yes tune = base basepeak = yes ext = riscv output_format = asc,csv,html # The publicly-accessible PathScale flags file at the URL below works # with the settings in this file. If you change compilers or compiler # settings, you'll likely need to use a different flags file. #flagsurl0 = $[top]/config/flags/riscv64-gcc-flags-revA.xml #flagsurl1 = $[top]/config/flags/riscv64-linux-platform-revA.xml reportable = yes default=default=default=default: ##################################################################### # # Compiler selection # ##################################################################### # below we assume that the binaries will be run on top of the riscv-pk, # which needs a static binary with the program loaded at 0x10000. # Ideally, we would use newlib (riscv64-unknown-elf-gcc) which uses # those settings by default, however some of the SPEC benchmarks require # glibc. CC = riscv64-unknown-linux-gnu-gcc -static CXX = riscv64-unknown-linux-gnu-g++ -static FC = riscv64-unknown-linux-gnu-gfortran -static ##################################################################### # Optimization ##################################################################### default=base=default=default: COPTIMIZE = -O2 -fno-strict-aliasing CXXOPTIMIZE = -O2 -fno-strict-aliasing FOPTIMIZE = -O2 -fno-strict-aliasing ##################################################################### # 32/64 bit Portability Flags - all ##################################################################### default=base=default=default: PORTABILITY = -DSPEC_CPU_LP64 ##################################################################### # Portability Flags ##################################################################### 400.perlbench=default=default=default: CPORTABILITY = -DSPEC_CPU_LINUX_X64 -std=gnu89 416.gamess=default=default=default: FPORTABILITY = -funconstrained-commons -std=legacy 447.dealII=default=default=default: CXXPORTABILITY = -fpermissive 450.soplex=default=default=default: CXXPORTABILITY = -std=c++03 462.libquantum=default=default=default: CPORTABILITY = -DSPEC_CPU_LINUX 464.h264ref=default=default=default: CPORTABILITY = -fsigned-char 482.sphinx3=default=default=default: CPORTABILITY = -fsigned-char 483.xalancbmk=default=default=default: CXXPORTABILITY = -DSPEC_CPU_LINUX 481.wrf=default=default=default: CPORTABILITY = -DSPEC_CPU_CASE_FLAG -DSPEC_CPU_LINUX FPORTABILITY = -std=legacy ##################################################################### # Notes ##################################################################### notes_submit_005 =See the configuration file for details.