From: Gabe Black Date: Thu, 14 Jun 2007 13:52:08 +0000 (+0000) Subject: Make POP special case its dataSize to default to 64 bits in 64 bit mode. X-Git-Tag: m5_2.0_beta4~347 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=752199f8279823088783103616cc41fa47a4b7ea;p=gem5.git Make POP special case its dataSize to default to 64 bits in 64 bit mode. --HG-- extra : convert_revision : 5c6251d962d9997676ffc795bb92eeb588caed39 --- diff --git a/src/arch/x86/isa/insts/data_transfer/stack_operations.py b/src/arch/x86/isa/insts/data_transfer/stack_operations.py index 3223d9b0f..fff0f749f 100644 --- a/src/arch/x86/isa/insts/data_transfer/stack_operations.py +++ b/src/arch/x86/isa/insts/data_transfer/stack_operations.py @@ -55,6 +55,7 @@ microcode = ''' def macroop POP { + .adjust_env "if(machInst.mode.submode == SixtyFourBitMode && env.dataSize == 4) env.dataSize = 8\;" # There needs to be a load here to actually "pop" the data addi "INTREG_RSP", "INTREG_RSP", "env.dataSize" };