Make POP special case its dataSize to default to 64 bits in 64 bit mode.

--HG--
extra : convert_revision : 5c6251d962d9997676ffc795bb92eeb588caed39
This commit is contained in:
Gabe Black 2007-06-14 13:52:08 +00:00
parent cd3fee1b81
commit 752199f827

View file

@ -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"
};