guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 403/437: Correct wrong movr simplification


From: Andy Wingo
Subject: [Guile-commits] 403/437: Correct wrong movr simplification
Date: Mon, 2 Jul 2018 05:15:04 -0400 (EDT)

wingo pushed a commit to branch lightning
in repository guile.

commit b00c750830908cdd06df5146e1254d2792c2e2ea
Author: pcpa <address@hidden>
Date:   Thu May 5 11:19:45 2016 -0300

    Correct wrong movr simplification
---
 ChangeLog       | 4 ++++
 lib/lightning.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 82779a1..8c4b46e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-05-05 Paulo Andrade <address@hidden>
+
+       * lib/lightning.c: Correct wrong movr simplification.
+
 2015-11-30 Paulo Andrade <address@hidden>
 
        * doc/body.texi: Change documentation to no longer say
diff --git a/lib/lightning.c b/lib/lightning.c
index 9436422..e8db723 100644
--- a/lib/lightning.c
+++ b/lib/lightning.c
@@ -2822,7 +2822,7 @@ _simplify_movr(jit_state_t *_jit, jit_node_t *prev, 
jit_node_t *node,
     else {
        value->kind = jit_kind_register;
        value->base.q.l = right;
-       value->base.q.h = _jitc->gen[regno];
+       value->base.q.h = _jitc->gen[right];
     }
     ++_jitc->gen[regno];
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]