]> git.ipfire.org Git - thirdparty/valgrind.git/commit
mips: finetune none/tests/(mips32|64)/test_math test
authorPetar Jovanovic <mips32r2@gmail.com>
Fri, 15 Sep 2017 16:29:29 +0000 (18:29 +0200)
committerPetar Jovanovic <mips32r2@gmail.com>
Fri, 15 Sep 2017 16:29:29 +0000 (18:29 +0200)
commite4f2fdfa4b242b5af17321d512939a267152cd56
treee3213060eb5003341fc5fedf4d1dd12557f28cdd
parent211b0c303afc0dd0222ff8c6f73f1ab347120af2
mips: finetune none/tests/(mips32|64)/test_math test

Compiler may optimize out call to cbrt. Change test to prevent that.
Otherwise, the test does not exercise a desired codepath for cbrt, and it
prints precalculated value.
none/tests/mips32/test_math.cpp