summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts/general_purpose
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-02-25 10:20:42 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-02-25 10:20:42 -0800
commit28efb3c6e3c13b9673e9077fcc9d54d2d512f72a (patch)
tree611bf80a74571c3bf6cdee1a92df9de80d1f0f8c /src/arch/x86/isa/insts/general_purpose
parentc39ed53d05be42a83b0bd9b4cc3e12fb8864f469 (diff)
downloadgem5-28efb3c6e3c13b9673e9077fcc9d54d2d512f72a.tar.xz
X86: Implement the mov to debug register intructions.
Diffstat (limited to 'src/arch/x86/isa/insts/general_purpose')
-rw-r--r--src/arch/x86/isa/insts/general_purpose/data_transfer/move.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py b/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py
index 82c076216..abe44ae59 100644
--- a/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py
+++ b/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py
@@ -199,6 +199,16 @@ def macroop MOV_R_C {
rdcr reg, regm
};
+def macroop MOV_D_R {
+ .adjust_env maxOsz
+ wrdr reg, regm
+};
+
+def macroop MOV_R_D {
+ .adjust_env maxOsz
+ rddr reg, regm
+};
+
def macroop MOV_R_S {
rdsel reg, regm
};