ARM: as: Guile compile fix.
* module/mescc/armv4/as.scm (optimize-immediate): Do not unquote compare functions (and numbers).
This commit is contained in:
parent
e3aba5d464
commit
f3f405a83a
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Mes --- Maxwell Equations of Software
|
;;; GNU Mes --- Maxwell Equations of Software
|
||||||
;;; Copyright © 2016,2017,2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
;;; Copyright © 2016,2017,2018,2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
|
;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Mes.
|
;;; This file is part of GNU Mes.
|
||||||
|
@ -36,11 +36,11 @@
|
||||||
(define-macro (optimize-immediate exp positive-body negative-body
|
(define-macro (optimize-immediate exp positive-body negative-body
|
||||||
general-body)
|
general-body)
|
||||||
`(let ((exp ,exp))
|
`(let ((exp ,exp))
|
||||||
(if (,>= exp ,0)
|
(if (>= exp 0)
|
||||||
(if (,< exp ,#x100)
|
(if (< exp #x100)
|
||||||
,positive-body
|
,positive-body
|
||||||
,general-body)
|
,general-body)
|
||||||
(if (,> exp ,#x-100)
|
(if (> exp #x-100)
|
||||||
,negative-body
|
,negative-body
|
||||||
,general-body))))
|
,general-body))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue