From c30ec64e7a83ac208c603ddae9997373727f604d Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 5 Sep 2007 21:49:32 +0000 Subject: [PATCH] more checks [r15689] --- ir/be/test/floatcmp.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ir/be/test/floatcmp.c b/ir/be/test/floatcmp.c index 0861297ed..93e44984f 100644 --- a/ir/be/test/floatcmp.c +++ b/ir/be/test/floatcmp.c @@ -104,8 +104,16 @@ int main() { test(float, islessequal, fA, fNan); test(float, islessgreater, fA, fNan); test(float, isunordered, fA, fNan); + test(double, islessgreater, fA, fB); test(float, islessgreater, fNan, fNan); + test(float, notisgreater, fA, fNan); + test(float, notisgreaterequal, fA, fNan); + test(float, notisless, fA, fNan); + test(float, notislessequal, fA, fNan); + test(float, notislessgreater, fA, fNan); + test(float, notisunordered, fA, fNan); + test(double, l, dA, dB); test(double, le, dA, dB); test(double, eq, dA, dB); @@ -132,5 +140,13 @@ int main() { test(double, islessequal, dA, dNan); test(double, islessgreater, dA, dNan); test(double, isunordered, dA, dNan); + test(double, islessgreater, dA, dB); test(double, islessgreater, dNan, dNan); + + test(double, notisgreater, dA, dNan); + test(double, notisgreaterequal, dA, dNan); + test(double, notisless, dA, dNan); + test(double, notislessequal, dA, dNan); + test(double, notislessgreater, dA, dNan); + test(double, notisunordered, dA, dNan); } -- 2.20.1