From: Gabe Black Date: Fri, 6 May 2011 08:00:32 +0000 (-0700) Subject: X86: Fix the Lldt instructions so they load the ldtr and not the tr. X-Git-Tag: stable_2012_02_02~334 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8889a96b38993784ef066c8abcd97a1cf1c128c;p=gem5.git X86: Fix the Lldt instructions so they load the ldtr and not the tr. --- 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" };