changeset fb4a3a61bc74 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=fb4a3a61bc74
description:
        X86: Fix problem with movhps instruction

        This problem is like the one fixed with movhpd a few weeks ago.
        A +8 displacement is used to access memory when there should
        be none.

        This fix is needed for the perlbmk spec2k benchmark to run.

diffstat:

1 file changed, 4 insertions(+), 5 deletions(-)
src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py |    9 
++++-----

diffs (30 lines):

diff -r 028047200ff7 -r fb4a3a61bc74 
src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py
--- a/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py       
Thu Nov 05 11:11:06 2009 -0800
+++ b/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move.py       
Wed Nov 04 13:22:15 2009 -0500
@@ -168,22 +168,21 @@
 };
 
 def macroop MOVHPS_XMM_M {
-    ldfp xmmh, seg, sib, "DISPLACEMENT + 8", dataSize=8
+    ldfp xmmh, seg, sib, disp, dataSize=8
 };
 
 def macroop MOVHPS_XMM_P {
     rdip t7
-    ldfp xmmh, seg, riprel, "DISPLACEMENT + 8", dataSize=8
+    ldfp xmmh, seg, riprel, disp, dataSize=8
 };
 
 def macroop MOVHPS_M_XMM {
-    stfp xmmh, seg, sib, "DISPLACEMENT + 8", dataSize=8
+    stfp xmmh, seg, sib, disp, dataSize=8
 };
 
 def macroop MOVHPS_P_XMM {
     rdip t7
-    stfp xmml, seg, riprel, "DISPLACEMENT", dataSize=8
-    stfp xmmh, seg, riprel, "DISPLACEMENT + 8", dataSize=8
+    stfp xmmh, seg, riprel, disp, dataSize=8
 };
 
 def macroop MOVHPD_XMM_M {
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to