summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-05-06 01:00:32 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-05-06 01:00:32 -0700
commitb8889a96b38993784ef066c8abcd97a1cf1c128c (patch)
treedcaef6f6922cbdcae9389dabf0586ec9f3b0d58e /src
parenta0415f2b24d1c3bcf49775dee302eb0b16f27106 (diff)
downloadgem5-b8889a96b38993784ef066c8abcd97a1cf1c128c.tar.xz
X86: Fix the Lldt instructions so they load the ldtr and not the tr.
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/isa/insts/system/segmentation.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/x86/isa/insts/system/segmentation.py b/src/arch/x86/isa/insts/system/segmentation.py
index 5ecb2e193..53b6908ed 100644
--- a/src/arch/x86/isa/insts/system/segmentation.py
+++ b/src/arch/x86/isa/insts/system/segmentation.py
@@ -223,8 +223,8 @@ def macroop LLDT_R
ld t2, tsg, [8, t4, t0], 8, dataSize=8
chks reg, t1, LDTCheck
wrdh t3, t1, t2
- wrdl tr, t1, reg
- wrbase tr, t3, dataSize=8
+ wrdl tsl, t1, reg
+ wrbase tsl, t3, dataSize=8
end:
fault "NoFault"
};
@@ -241,8 +241,8 @@ def macroop LLDT_M
ld t2, tsg, [8, t4, t0], 8, dataSize=8
chks t5, t1, LDTCheck
wrdh t3, t1, t2
- wrdl tr, t1, t5
- wrbase tr, t3, dataSize=8
+ wrdl tsl, t1, t5
+ wrbase tsl, t3, dataSize=8
end:
fault "NoFault"
};
@@ -260,8 +260,8 @@ def macroop LLDT_P
ld t2, tsg, [8, t4, t0], 8, dataSize=8
chks t5, t1, LDTCheck
wrdh t3, t1, t2
- wrdl tr, t1, t5
- wrbase tr, t3, dataSize=8
+ wrdl tsl, t1, t5
+ wrbase tsl, t3, dataSize=8
end:
fault "NoFault"
};