diff --git a/src/basic/math_trans/poly_exp.s b/src/basic/math_trans/bfc4.poly_exp.s similarity index 61% rename from src/basic/math_trans/poly_exp.s rename to src/basic/math_trans/bfc4.poly_exp.s index d585ff3c..43ccd183 100644 --- a/src/basic/math_trans/poly_exp.s +++ b/src/basic/math_trans/bfc4.poly_exp.s @@ -3,8 +3,14 @@ ;; #LAYOUT# * BASIC_0 #TAKE ;; #LAYOUT# * * #IGNORE + +; This file is under the MIT license, it contains code released by Microsoft Corporation. +; See LICENSE for more information. + ; Polynomial for the exponential function +; This is verified to be identical to the original Microsoft implementation where it was named EXPCON. + !ifdef CONFIG_TRANSCENDENTAL_FUNCTIONS { @@ -20,7 +26,7 @@ poly_exp: +PUT_CONST_POLY_EXP_5 +PUT_CONST_POLY_EXP_6 +PUT_CONST_POLY_EXP_7 - +PUT_CONST_POLY_EXP_8 + ; The constant const_ONE now follows as part of this polynomial } diff --git a/tools/similarity.c b/tools/similarity.c index 1223d7ae..3da0384e 100644 --- a/tools/similarity.c +++ b/tools/similarity.c @@ -31,7 +31,7 @@ unsigned short microsoft_basic_chunks[NUM_CHUNKS * 2] = { 0xBD7E, 0xBD90, 0xBDB3, 0xBDC1, 0xBDDD, 0xBF51, - 0xBFB4, 0xBFC3, + 0xBFB4, 0xBFE7, };