shithub: mc

Download patch

ref: 8150b8979792892e9c17037262eec2ca12dd3c98
parent: 5757b833cae9a9e60d62248128a8225119e238ff
author: Ori Bernstein <[email protected]>
date: Thu Jun 14 23:55:34 EDT 2012

Use a correct scale on multiplies.

--- a/8/isel.c
+++ b/8/isel.c
@@ -292,7 +292,7 @@
         if (b->type != Locreg)
             b = inr(s, b);
         if (o->type == Loclit) {
-            l = locmem(o->lit, b, Rnone, m);
+            l = locmems(o->lit, b, Rnone, scale, m);
         } else if (o->type == Locreg) {
             b = inr(s, b);
             l = locmems(0, b, o, scale, m);