xtensa: run simulator in turbo mode

This greatly increases the speed in which test cases are evaluated
on the Xtensa simulator.

The cycle limit parameter was removed, we don't currently need it
since sanitycheck handles killing test cases if they time out.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2017-05-15 13:25:21 -07:00 committed by Anas Nashif
commit 12379d17c1

View file

@ -1,5 +1,3 @@
XTENSA_ISS_CYCLES_LIMIT := 1000000000 # Simulate 10^9 cycles.
ifndef XTENSA_TOOLS_PATH ifndef XTENSA_TOOLS_PATH
$(error Please set XTENSA_TOOLS_PATH first) $(error Please set XTENSA_TOOLS_PATH first)
endif endif
@ -77,7 +75,7 @@ KBUILD_CXXFLAGS:=$(filter-out \
# Support for Xtensa simulator from Cadence Design Systems, Inc. # Support for Xtensa simulator from Cadence Design Systems, Inc.
XTRUN=${CROSS_COMPILE}run XTRUN=${CROSS_COMPILE}run
XTRUN_FLAGS += --cycle_limit=${XTENSA_ISS_CYCLES_LIMIT} XTRUN_FLAGS += --turbo --cc_none
export CROSS_COMPILE XTENSA_SYSTEM LIB_INCLUDE_DIR export CROSS_COMPILE XTENSA_SYSTEM LIB_INCLUDE_DIR
endif # CONFIG_XTENSA endif # CONFIG_XTENSA