1
0

only run the important (high coverage) tests in regression suite

This commit is contained in:
Howard Mao
2016-08-01 19:07:03 -07:00
parent b7723f1ff8
commit 63b814fcd7
5 changed files with 76 additions and 7 deletions

View File

@ -13,7 +13,7 @@ import rocket._
import rocket.Util._
import groundtest._
import scala.math.max
import scala.collection.mutable.ListBuffer
import scala.collection.mutable.{LinkedHashSet, ListBuffer}
import DefaultTestSuites._
import cde.{Parameters, Config, Dump, Knob, CDEMatchError}
@ -321,6 +321,32 @@ class BaseConfig extends Config (
case GlobalAddrMap => globalAddrMap
case EnableL2Logging => false
case ExportGroundTestStatus => false
case RegressionTestNames => LinkedHashSet(
"rv64ud-v-fcvt",
"rv64ud-p-fdiv",
"rv64ud-v-fadd",
"rv64uf-v-fadd",
"rv64um-v-mul",
"rv64mi-p-breakpoint",
"rv64uc-v-rvc",
"rv64ud-v-structural",
"rv64si-p-wfi",
"rv64um-v-divw",
"rv64ua-v-lrsc",
"rv64ui-v-fence_i",
"rv64ud-v-fcvt_w",
"rv64uf-v-fmin",
"rv64ui-v-sb",
"rv64ua-v-amomax_d",
"rv64ud-v-move",
"rv64ud-v-fclass",
"rv64ua-v-amoand_d",
"rv64ua-v-amoxor_d",
"rv64si-p-sbreak",
"rv64ud-v-fmadd",
"rv64uf-v-ldst",
"rv64um-v-mulh",
"rv64si-p-dirty")
case _ => throw new CDEMatchError
}},
knobValues = {
@ -447,6 +473,13 @@ class WithRV32 extends Config(
case UseUser => false
case UseAtomics => false
case UseFPU => false
case RegressionTestNames => LinkedHashSet(
"rv32mi-p-ma_addr",
"rv32mi-p-csr",
"rv32ui-p-sh",
"rv32ui-p-lh",
"rv32mi-p-sbreak",
"rv32ui-p-sll")
case _ => throw new CDEMatchError
}
)