summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorVince Weaver <vince@csl.cornell.edu>2009-10-27 14:11:06 -0400
committerVince Weaver <vince@csl.cornell.edu>2009-10-27 14:11:06 -0400
commit87b97f28bd2abc9feb352e7d3f0a85e9bc073912 (patch)
treeda8c526ddde705d45a23ce0efbcdae356f4f2194 /src/arch
parent14691148cd9300ed7a23dd889b9c0173124b30eb (diff)
downloadgem5-87b97f28bd2abc9feb352e7d3f0a85e9bc073912.tar.xz
Fix problem with the x86 sse movhpd instruction.
The movhpd instruction was writing to the wrong memory offset.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py b/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py
index 1f4044bde..09b380fbd 100644
--- a/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py
+++ b/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py
@@ -187,22 +187,21 @@ def macroop MOVHPS_P_XMM {
};
def macroop MOVHPD_XMM_M {
- ldfp xmmh, seg, sib, "DISPLACEMENT + 8", dataSize=8
+ ldfp xmmh, seg, sib, "DISPLACEMENT", dataSize=8
};
def macroop MOVHPD_XMM_P {
rdip t7
- ldfp xmmh, seg, riprel, "DISPLACEMENT + 8", dataSize=8
+ ldfp xmmh, seg, riprel, "DISPLACEMENT", dataSize=8
};
def macroop MOVHPD_M_XMM {
- stfp xmmh, seg, sib, "DISPLACEMENT + 8", dataSize=8
+ stfp xmmh, seg, sib, "DISPLACEMENT", dataSize=8
};
def macroop MOVHPD_P_XMM {
rdip t7
- stfp xmml, seg, riprel, "DISPLACEMENT", dataSize=8
- stfp xmmh, seg, riprel, "DISPLACEMENT + 8", dataSize=8
+ stfp xmmh, seg, riprel, "DISPLACEMENT", dataSize=8
};
def macroop MOVLPS_XMM_M {