From f50d38765d8c1c9c21925769638e241477fdc54d Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 28 Jun 2010 22:51:48 -0700 Subject: [PATCH] opcodes: check for NaN in maxf/minf --- orc/orcopcodes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orc/orcopcodes.c b/orc/orcopcodes.c index ef2aca0..1a57f4b 100644 --- a/orc/orcopcodes.c +++ b/orc/orcopcodes.c @@ -665,8 +665,8 @@ BINARY_F(maxf, (a>b) ? a : b) BINARY_F(minf, (a a)) ? (~0) : 0) +BINARY_FL(cmplef, ((a <= b) && (b >= a)) ? (~0) : 0) static void convfl (OrcOpcodeExecutor *ex, void *user) -- 2.7.4