From a7380063975f53d914335176a113f84919b21b46 Mon Sep 17 00:00:00 2001 From: Jack Whitham Date: Thu, 2 Jul 2009 23:22:58 -0700 Subject: [PATCH] ARM: Fix the code snippet for mla. --- src/arch/arm/isa/decoder.isa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2