ARM: Fix the code snippet for mla.
authorJack Whitham <jack-m5ml2@cs.york.ac.uk>
Fri, 3 Jul 2009 06:22:58 +0000 (23:22 -0700)
committerJack Whitham <jack-m5ml2@cs.york.ac.uk>
Fri, 3 Jul 2009 06:22:58 +0000 (23:22 -0700)
src/arch/arm/isa/decoder.isa

index 3913507d12f64be8c18c560942e121b2782a1319..63fed92e9be44627ecd3e15ec252227dd00e4b6b 100644 (file)
@@ -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);