From: Gabe Black Date: Wed, 5 Aug 2009 10:03:07 +0000 (-0700) Subject: X86: Let microops force folding an index into the high byte of a register. X-Git-Tag: Calvin_Submission~168 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df1abc44128b866596170d4589580a7585f06b58;p=gem5.git X86: Let microops force folding an index into the high byte of a register. --- diff --git a/src/arch/x86/isa/microasm.isa b/src/arch/x86/isa/microasm.isa index 0cc72bf7b..c6f5e9cdd 100644 --- a/src/arch/x86/isa/microasm.isa +++ b/src/arch/x86/isa/microasm.isa @@ -151,6 +151,10 @@ let {{ assembler.symbols["r%s" % reg] = \ regIdx("INTREG_R%s" % reg.upper()) + for reg in ('ah', 'bh', 'ch', 'dh'): + assembler.symbols[reg] = \ + regIdx("INTREG_FOLDED(INTREG_%s, IntFoldBit)" % reg.upper()) + for reg in range(16): assembler.symbols["cr%d" % reg] = regIdx("MISCREG_CR%d" % reg)