From 9a55489d9faf3aa3f0f9517af0509c7667941100 Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Wed, 2 Oct 2024 11:10:57 +0200 Subject: [PATCH] add Fcmp64 --- gnovm/pkg/gnolang/internal/softfloat/softfloat.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnovm/pkg/gnolang/internal/softfloat/softfloat.go b/gnovm/pkg/gnolang/internal/softfloat/softfloat.go index 5e4791b79e9..96ac86f6053 100644 --- a/gnovm/pkg/gnolang/internal/softfloat/softfloat.go +++ b/gnovm/pkg/gnolang/internal/softfloat/softfloat.go @@ -36,6 +36,8 @@ func Feq32(f, g uint32) bool { return feq32(f, g) } func Fgt32(f, g uint32) bool { return fgt32(f, g) } func Fge32(f, g uint32) bool { return fge32(f, g) } +func Fcmp64(f, g uint64) (cmp int32, isnan bool) { return fcmp64(f, g) } + func Fneg32(f uint32) uint32 { // Not defined in runtime - this is a copy similar to fneg64. return f ^ (1 << (mantbits32 + expbits32))