X86: Fix the mov to segment selector in real mode instruction microcode.

This commit is contained in:
Gabe Black 2009-04-19 03:08:40 -07:00
parent 633c96bd85
commit 27e54982b4

View file

@ -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
};