summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-12-02 00:02:51 -0800
committerGabe Black <gblack@eecs.umich.edu>2007-12-02 00:02:51 -0800
commit5de71e39d87179102c1b6fbde5df1b703188bcf1 (patch)
tree191551a99b174befbe9a1cdd8f81a8b792fb9869 /src/arch/x86/isa/insts
parent4c37f828f1486fe4942c75affee57d8056a17234 (diff)
downloadgem5-5de71e39d87179102c1b6fbde5df1b703188bcf1.tar.xz
X86: Make the 0xA0-0xA3 versions of mov use the right sized immediates.
--HG-- extra : convert_revision : a702403de29772618abb5bd5c5555279d91bdd59
Diffstat (limited to 'src/arch/x86/isa/insts')
-rw-r--r--src/arch/x86/isa/insts/general_purpose/data_transfer/move.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py b/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py
index 069d1010e..3b8608c48 100644
--- a/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py
+++ b/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py
@@ -60,12 +60,12 @@ microcode = '''
#
def macroop MOV_R_MI {
- limm t1, imm
+ limm t1, imm, dataSize=asz
ld reg, seg, [1, t0, t1]
};
def macroop MOV_MI_R {
- limm t1, imm
+ limm t1, imm, dataSize=asz
st reg, seg, [1, t0, t1]
};