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:
parent
cd3fee1b81
commit
752199f827
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue