diff options
author | Gabe Black <gabeblack@google.com> | 2018-03-12 17:41:15 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-03-14 20:07:38 +0000 |
commit | ea383880c61023360aee672c6197f2cda9889f07 (patch) | |
tree | 21cbf187cf42a5b802fb03dec7ac946acc6d69d6 /src/dev | |
parent | 8a71c570226d06d6a179700c114de91d2c177be0 (diff) | |
download | gem5-ea383880c61023360aee672c6197f2cda9889f07.tar.xz |
x86: Implement the RDTSCP instruction.
This is very similar to RDTSC, except that it requires all younger
instructions to retire before it completes, and it writes the TSC_AUX
MSR into ECX. I've added an mfence as an iniitial microop to ensure
that memory accesses complete before RDTSCP runs, and added an rdval
microop at the end to read the TSC_AUX value into ECX.
Change-Id: I9766af562b7fd0c22e331b56e06e8818a9e268c9
Reviewed-on: https://gem5-review.googlesource.com/9043
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/dev')
0 files changed, 0 insertions, 0 deletions