X86: Add microassembler symbols for floating point stack register operands.
authorGabe Black <gblack@eecs.umich.edu>
Thu, 20 Aug 2009 07:41:27 +0000 (00:41 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 20 Aug 2009 07:41:27 +0000 (00:41 -0700)
src/arch/x86/isa/microasm.isa

index 137ba6b146887807bcabc38a6eac8b99f9bbb129..25b58dfb7247b96039632716ffc865f79f240fa9 100644 (file)
@@ -219,6 +219,8 @@ let {{
         return regIdx("NUM_FLOATREGS + (((%s) + 8) %% 8)" % index)
 
     assembler.symbols["st"] = stack_index
+    assembler.symbols["sti"] = stack_index("env.reg")
+    assembler.symbols["stim"] = stack_index("env.regm")
 
     macroopDict = assembler.assemble(microcode)