X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Ftest%2Ffloatcmp.c;h=93e44984fe8fb73fd54e5b87880c0aa36b9335f4;hb=47d43fb9864912e0b1d8953f4c709aef83705108;hp=0861297eddaa5cc04fff34e36f4af8fbaa7b3829;hpb=ce46e4476dcd362f168e4556b72436fbe64690f9;p=libfirm 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); }