summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/microops/regop.isa
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/isa/microops/regop.isa')
-rw-r--r--src/arch/x86/isa/microops/regop.isa14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/arch/x86/isa/microops/regop.isa b/src/arch/x86/isa/microops/regop.isa
index 6d4687830..d77e5f559 100644
--- a/src/arch/x86/isa/microops/regop.isa
+++ b/src/arch/x86/isa/microops/regop.isa
@@ -1679,4 +1679,18 @@ let {{
break;
}
'''
+
+ class Wrxftw(WrRegOp):
+ def __init__(self, src1, **kwargs):
+ super(Wrxftw, self).__init__(src1, "InstRegIndex(NUM_INTREGS)", \
+ **kwargs)
+
+ code = '''
+ FTW = X86ISA::convX87XTagsToTags(SrcReg1);
+ '''
+
+ class Rdxftw(RdRegOp):
+ code = '''
+ DestReg = X86ISA::convX87TagsToXTags(FTW);
+ '''
}};