From 27e54982b40cda334f03d4f4c13a19df028b884b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 19 Apr 2009 03:08:40 -0700 Subject: [PATCH] X86: Fix the mov to segment selector in real mode instruction microcode. --- src/arch/x86/isa/insts/general_purpose/data_transfer/move.py | 4 ++-- 1 file changed, 2 insertions(+), 2 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 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 }; -- 2.30.2