]> git.ipfire.org Git - thirdparty/valgrind.git/commit
mips64: rework math tests to take into account allowed approximation
authorStefan Maksimovic <stefan.maksimovic@rt-rk.com>
Fri, 17 Jan 2020 12:58:07 +0000 (12:58 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Fri, 17 Jan 2020 12:58:07 +0000 (12:58 +0000)
commit3e0e34aecdd73511c97133bdcf3ef1dfca325179
treecc1e979c56e44c74cb954c90f1dfc97cc34becb7
parentd6efbcb0b515eff5228ccd06c7fb137fd4e0a1be
mips64: rework math tests to take into account allowed approximation

Change the math tests to check whether the results are approximate to the
expected values instead of checking for exact matches since the calculations
in question are allowed to be approximate.

This fixes
  /none/tests/mips64/test_math and
  /none/tests/mips64/msa_fpu

on mips64r6.
none/tests/mips32/msa_fpu.c
none/tests/mips32/msa_fpu.stdout.exp
none/tests/mips32/test_math.cpp
none/tests/mips32/test_math.stdout.exp