Commit f50d3876 authored by David Schleef's avatar David Schleef

opcodes: check for NaN in maxf/minf

parent 27b37e8a
......@@ -665,8 +665,8 @@ BINARY_F(maxf, (a>b) ? a : b)
BINARY_F(minf, (a<b) ? a : b)
BINARY_FL(cmpeqf, (a == b) ? (~0) : 0)
BINARY_FL(cmpltf, (a < b) ? (~0) : 0)
BINARY_FL(cmplef, (a <= b) ? (~0) : 0)
BINARY_FL(cmpltf, ((a < b) && (b > a)) ? (~0) : 0)
BINARY_FL(cmplef, ((a <= b) && (b >= a)) ? (~0) : 0)
static void
convfl (OrcOpcodeExecutor *ex, void *user)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment