python: Add missing operators to NumericParamValue
authorAndreas Sandberg <andreas.sandberg@arm.com>
Sun, 27 Jan 2019 12:01:08 +0000 (12:01 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 22 Feb 2019 10:47:36 +0000 (10:47 +0000)
commit8e5d168332c4ac3851aee4f815cff0b62b37cc40
treed8e74ce05fdea4870e0f71c46346c92af1873c2f
parent466d30cbbde67df7490a02149a92fa3e9be3c492
python: Add missing operators to NumericParamValue

Add missing operators to NumericParamValue and ensure that they are
able to work on the underlying value if the right hand side is a
param.

Change-Id: I2bd86662aee9891bbd89aed7ebe20b827b5528bd
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/16001
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/python/m5/params.py