cpu-o3: Make the smtLSQPolicy a Param.ScopedEnum
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 24 Dec 2018 09:04:16 +0000 (09:04 +0000)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 17 Jan 2019 11:09:08 +0000 (11:09 +0000)
commit7b4e441c35e6f3d11b050fb0d6aff7919f10d953
tree06a27d94287b2fe69360df5a7fa26ff322eff92c
parent38339e0a7f7ce119feefc95591703df2f851ee4d
cpu-o3: Make the smtLSQPolicy a Param.ScopedEnum

The smtLSQPolicy is a parameter in the o3 cpu that can have 3
different values. Previously this setting was done through a string
and a parser function would turn it into a c++ enum value. This
changeset turns the string into a python Param.ScopedEnum.

Change-Id: I82041b88bd914c5dc660058d9e3998e3114e7c35
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15397
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/cpu/o3/O3CPU.py
src/cpu/o3/lsq.hh
src/cpu/o3/lsq_impl.hh