Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/9042

Change subject: x86: Mark the RDTSC instruction as .serialize_before.
......................................................................

x86: Mark the RDTSC instruction as .serialize_before.

Change-Id: I20bf6a57ea4354aac9267845bb37b70b83d6fcde
---
M src/arch/x86/isa/insts/system/msrs.py
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/src/arch/x86/isa/insts/system/msrs.py b/src/arch/x86/isa/insts/system/msrs.py
index 16d158a..fe9c5b2 100644
--- a/src/arch/x86/isa/insts/system/msrs.py
+++ b/src/arch/x86/isa/insts/system/msrs.py
@@ -60,6 +60,7 @@

 def macroop RDTSC
 {
+    .serialize_before
     rdtsc t1
     mov rax, rax, t1, dataSize=4
     srli t1, t1, 32, dataSize=8

--
To view, visit https://gem5-review.googlesource.com/9042
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I20bf6a57ea4354aac9267845bb37b70b83d6fcde
Gerrit-Change-Number: 9042
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabebl...@google.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to