vrecpe, vrsqrte: add new tests with special values (NaN, infinity, 0, ...)
Update expected results.
diff --git a/ref_vrecpe.c b/ref_vrecpe.c
index 3023ab6..0a29ecc 100644
--- a/ref_vrecpe.c
+++ b/ref_vrecpe.c
@@ -131,4 +131,13 @@
fprintf (ref_file, "\n%s %s output:\n", TEST_MSG, " FP special (-0, -infinity)");
DUMP_FP(TEST_MSG, float, 32, 2, PRIx32);
DUMP_FP(TEST_MSG, float, 32, 4, PRIx32);
+
+ /* Test FP variants with special input values (large negative value) */
+ TEST_VDUP(vector, , float, f, 32, 2, -9.0e37);
+
+ /* Apply the operator */
+ TEST_VRECPE(, float, f, 32, 2);
+
+ fprintf (ref_file, "\n%s %s output:\n", TEST_MSG, " FP special (large negative value)");
+ DUMP_FP(TEST_MSG, float, 32, 2, PRIx32);
}