mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 21:40:33 +02:00
Add reifier for fadd/immediate.
* module/language/cps/reify-primitives.scm (fadd/immediate): Add missing reify procedure.
This commit is contained in:
parent
41689edfc3
commit
c109fa7eb8
1 changed files with 10 additions and 0 deletions
|
@ -171,6 +171,16 @@
|
|||
(lambda (cps k src param args)
|
||||
(match args ((arg ...) (let () . body))))))
|
||||
|
||||
(define-ephemeral (fadd/immediate cps k src param a)
|
||||
(with-cps cps
|
||||
(letv b)
|
||||
(letk kb ($kargs ('b) (b)
|
||||
($continue k src
|
||||
($primcall 'fadd #f (a b)))))
|
||||
(build-term
|
||||
($continue kb src
|
||||
($primcall 'load-f64 param ())))))
|
||||
|
||||
(define-syntax-rule (define-binary-signed-ephemeral name uname)
|
||||
(define-ephemeral (name cps k src param a b)
|
||||
(wrap-binary cps k src 's64->u64 'u64->s64 'uname #f a b)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue