mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 22:10:21 +02:00
Use new instructions for f64 comparisons
* module/language/cps/compile-bytecode.scm (compile-function): Use new instructions for f64 comparisons.
This commit is contained in:
parent
8a96b5d085
commit
9d1235af96
1 changed files with 6 additions and 6 deletions
|
@ -456,17 +456,17 @@
|
|||
(($ $primcall 'u64-= (a b)) (binary-test emit-u64=? a b))
|
||||
(($ $primcall 'u64->= (a b)) (binary* emit-u64<? emit-jnl emit-jl a b))
|
||||
(($ $primcall 'u64-> (a b)) (binary* emit-u64<? emit-jl emit-jnl b a))
|
||||
(($ $primcall 'f64-< (a b)) (binary* emit-f64<? emit-jl emit-jnl a b))
|
||||
(($ $primcall 'f64-<= (a b)) (binary* emit-f64<? emit-jge emit-jnge b a))
|
||||
(($ $primcall 'f64-= (a b)) (binary-test emit-f64=? a b))
|
||||
(($ $primcall 'f64->= (a b)) (binary* emit-f64<? emit-jge emit-jnge a b))
|
||||
(($ $primcall 'f64-> (a b)) (binary* emit-f64<? emit-jl emit-jnl b a))
|
||||
(($ $primcall 'u64-<-scm (a b)) (binary emit-br-if-u64-<-scm a b))
|
||||
(($ $primcall 'u64-<=-scm (a b)) (binary emit-br-if-u64-<=-scm a b))
|
||||
(($ $primcall 'u64-=-scm (a b)) (binary emit-br-if-u64-=-scm a b))
|
||||
(($ $primcall 'u64->=-scm (a b)) (binary emit-br-if-u64->=-scm a b))
|
||||
(($ $primcall 'u64->-scm (a b)) (binary emit-br-if-u64->-scm a b))
|
||||
(($ $primcall 'logtest (a b)) (binary emit-br-if-logtest a b))
|
||||
(($ $primcall 'f64-< (a b)) (binary emit-br-if-f64-< a b))
|
||||
(($ $primcall 'f64-<= (a b)) (binary emit-br-if-f64-<= a b))
|
||||
(($ $primcall 'f64-= (a b)) (binary emit-br-if-f64-= a b))
|
||||
(($ $primcall 'f64->= (a b)) (binary emit-br-if-f64->= a b))
|
||||
(($ $primcall 'f64-> (a b)) (binary emit-br-if-f64-> a b))))
|
||||
(($ $primcall 'logtest (a b)) (binary emit-br-if-logtest a b))))
|
||||
|
||||
(define (compile-trunc label k exp nreq rest-var)
|
||||
(define (do-call proc args emit-call)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue