[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] Fix zero extending immediates on 64-bit platforms.
From: |
Andrius Štikonas |
Subject: |
[PATCH 2/2] Fix zero extending immediates on 64-bit platforms. |
Date: |
Fri, 14 Jul 2023 01:23:22 +0100 |
* module/mescc/compile.scm: use long-r instead of long-signed-r.
---
module/mescc/compile.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/mescc/compile.scm b/module/mescc/compile.scm
index 1f1f9683..ae8d9293 100644
--- a/module/mescc/compile.scm
+++ b/module/mescc/compile.scm
@@ -1470,7 +1470,7 @@
(wrap-as (as info 'long-signed-r)))
((and (> reg-size 4) (= size 4))
;; for 17-unsigned-le
- (wrap-as (as info 'long-signed-r)) ; huh, why not long-r?
+ (wrap-as (as info 'long-r))
;; for a0-call-trunc-int
;;(wrap-as (as info 'long-r))
)
--
2.41.0