mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 14:50:19 +02:00
Fix slot representation computation for fadd, fmul, etc
* module/language/cps/slot-allocation.scm (compute-var-representations): fadd, fmul and so on also define f64 values.
This commit is contained in:
parent
12e9e2148e
commit
f0594be035
1 changed files with 2 additions and 1 deletions
|
@ -790,7 +790,8 @@ are comparable with eqv?. A tmp slot may be used."
|
||||||
(($ $values (arg))
|
(($ $values (arg))
|
||||||
(intmap-add representations var
|
(intmap-add representations var
|
||||||
(intmap-ref representations arg)))
|
(intmap-ref representations arg)))
|
||||||
(($ $primcall (or 'scm->f64 'bv-f32-ref 'bv-f64-ref))
|
(($ $primcall (or 'scm->f64 'bv-f32-ref 'bv-f64-ref
|
||||||
|
'fadd 'fsub 'fmul 'fdiv))
|
||||||
(intmap-add representations var 'f64))
|
(intmap-add representations var 'f64))
|
||||||
(_
|
(_
|
||||||
(intmap-add representations var 'scm))))
|
(intmap-add representations var 'scm))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue