From: Gabe Black Date: Sun, 19 Apr 2009 10:08:40 +0000 (-0700) Subject: X86: Fix the mov to segment selector in real mode instruction microcode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27e54982b40cda334f03d4f4c13a19df028b884b;p=gem5.git X86: Fix the mov to segment selector in real mode instruction microcode. --- 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 60c046d04..560a86e64 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 @@ -228,7 +228,7 @@ def macroop MOV_P_S { def macroop MOV_REAL_S_R { zexti t2, regm, 15, dataSize=8 - slli t3, t2, 2, dataSize=8 + slli t3, t2, 4, dataSize=8 wrsel reg, regm wrbase reg, t3 }; @@ -236,7 +236,7 @@ def macroop MOV_REAL_S_R { def macroop MOV_REAL_S_M { ld t1, seg, sib, disp, dataSize=2 zexti t2, t1, 15, dataSize=8 - slli t3, t2, 2, dataSize=8 + slli t3, t2, 4, dataSize=8 wrsel reg, t1 wrbase reg, t3 };