diff --git a/test_conformance/math_brute_force/function_list.cpp b/test_conformance/math_brute_force/function_list.cpp index 832615e1b..5f3e37661 100644 --- a/test_conformance/math_brute_force/function_list.cpp +++ b/test_conformance/math_brute_force/function_list.cpp @@ -65,6 +65,7 @@ #define binaryOF NULL #define binaryF_nextafter NULL #define binaryOperatorF NULL +#define binaryOperatorOF NULL #define binaryF_i NULL #define macro_binaryF NULL #define ternaryF NULL @@ -169,6 +170,13 @@ static constexpr vtbl _binary_operator = { TestFunc_Half_Half_Half_Operator, }; +static constexpr vtbl _binary_operator_of = { + "binaryOperator_of", + TestFunc_Float_Float_Float_Operator, + nullptr, + nullptr, +}; + static constexpr vtbl _binary_i = { "binary_i", TestFunc_Float_Float_Int, @@ -227,6 +235,7 @@ static constexpr vtbl _mad_tbl = { #define binaryF_nextafter &_binary_nextafter #define binaryOF &_binaryof #define binaryOperatorF &_binary_operator +#define binaryOperatorOF &_binary_operator_of #define binaryF_i &_binary_i #define macro_binaryF &_macro_binary #define ternaryF &_ternary @@ -374,17 +383,17 @@ const Func functionList[] = { { "sqrt_cr", "sqrt", { (void*)reference_sqrt }, - { (void*)reference_sqrtl }, + { nullptr }, { NULL }, 0.0f, - 0.0f, - 0.0f, - 0.0f, + INFINITY, + INFINITY, + INFINITY, INFINITY, INFINITY, FTZ_OFF, RELAXED_OFF, - unaryF }, + unaryOF /* only for single precision */ }, ENTRY_EXT( tan, 5.0f, 5.0f, 2.0f, 8192.0f, FTZ_OFF, unaryF, 8192.0f), // in derived mode it the ulp error is calculated as sin/cos @@ -432,17 +441,17 @@ const Func functionList[] = { { "divide_cr", "/", { (void*)reference_divide }, - { (void*)reference_dividel }, - { (void*)reference_relaxed_divide }, - 0.0f, - 0.0f, - 0.0f, + { nullptr }, + { nullptr }, 0.0f, - 0.f, + INFINITY, + INFINITY, + INFINITY, + INFINITY, INFINITY, FTZ_OFF, RELAXED_OFF, - binaryOperatorF }, + binaryOperatorOF /* only for single precision */ }, OPERATOR_ENTRY(multiply, "*", 0.0f, 0.0f, 0.0f, FTZ_OFF, binaryOperatorF), OPERATOR_ENTRY(assignment, "", 0.0f, 0.0f, 0.0f, FTZ_OFF, unaryF), // A simple copy operation