From: Gabe Black Date: Wed, 5 Aug 2009 10:07:55 +0000 (-0700) Subject: X86: Make conditional moves zero extend their 32 bit destinations always. X-Git-Tag: Calvin_Submission~161 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da2df2fc251440d0dbd91864d74ba94a2153ca5e;p=gem5.git X86: Make conditional moves zero extend their 32 bit destinations always. --- diff --git a/src/arch/x86/isa/microops/regop.isa b/src/arch/x86/isa/microops/regop.isa index 6921684a4..dc6819886 100644 --- a/src/arch/x86/isa/microops/regop.isa +++ b/src/arch/x86/isa/microops/regop.isa @@ -639,7 +639,7 @@ let {{ class Mov(CondRegOp): code = 'DestReg = merge(SrcReg1, op2, dataSize)' - else_code = 'DestReg=DestReg;' + else_code = 'DestReg = merge(DestReg, DestReg, dataSize);' # Shift instructions