From 752199f8279823088783103616cc41fa47a4b7ea Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 14 Jun 2007 13:52:08 +0000 Subject: Make POP special case its dataSize to default to 64 bits in 64 bit mode. --HG-- extra : convert_revision : 5c6251d962d9997676ffc795bb92eeb588caed39 --- src/arch/x86/isa/insts/data_transfer/stack_operations.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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" }; -- cgit v1.2.3