diff options
author | Bradley Wang <radwang@ucdavis.edu> | 2018-07-19 18:28:49 -0700 |
---|---|---|
committer | Bradley Wang <radwang@ucdavis.edu> | 2018-08-10 23:41:23 +0000 |
commit | 1bab261961536d81ca325762385ead702b2318ff (patch) | |
tree | 5f9dbf0bc77f4b1b1e1976b42f91e6316daf288c /src/sim/initparam_keys.hh | |
parent | cd913125d11b01a584ad08b32d988b786c42fe39 (diff) | |
download | gem5-1bab261961536d81ca325762385ead702b2318ff.tar.xz |
cpu: Add hash functionality for RegId class
Having a hash function defined within the header will allow all
classes using RegId to use the class as a Key in a STL
unordered_map.
Change-Id: I32fd302a087c74e844dcbfce93fef9d0ed98d6bf
Signed-off-by: Bradley Wang <radwang@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/11870
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/sim/initparam_keys.hh')
0 files changed, 0 insertions, 0 deletions