From: Jack Whitham Date: Fri, 3 Jul 2009 06:22:58 +0000 (-0700) Subject: ARM: Fix the code snippet for mla. X-Git-Tag: Calvin_Submission~237 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7380063975f53d914335176a113f84919b21b46;p=gem5.git ARM: Fix the code snippet for mla. --- diff --git a/src/arch/arm/isa/decoder.isa b/src/arch/arm/isa/decoder.isa index 3913507d1..63fed92e9 100644 --- a/src/arch/arm/isa/decoder.isa +++ b/src/arch/arm/isa/decoder.isa @@ -84,7 +84,7 @@ format DataOp { 0x9: decode PREPOST { 0: decode OPCODE { 0x0: mul({{ Rn = resTemp = Rm * Rs; }}, none); - 0x1: mla({{ Rn = resTemp = Rm * Rs; }}, none); + 0x1: mla({{ Rn = resTemp = (Rm * Rs) + Rd; }}, none); 0x2: WarnUnimpl::umall(); 0x4: umull({{ resTemp = ((uint64_t)Rm)*((uint64_t)Rs);