]> git.ipfire.org Git - thirdparty/valgrind.git/commit
fix avx-1 amd64 test
authorAlexandra Hájková <ahajkova@redhat.com>
Mon, 11 Nov 2019 13:30:26 +0000 (14:30 +0100)
committerMark Wielaard <mark@klomp.org>
Tue, 12 Nov 2019 14:44:28 +0000 (15:44 +0100)
commitef9ac3aa0fd3ed41d74707ffe49abe9ad2797ddd
treee885a9f7c090a54bb4cb66c1e5f3c6a95ba33e75
parent914d91769a6524f9af07bba998efa3c3c4a51f69
fix avx-1 amd64 test

The estimate instructions (rcpss, rcpps, rsqrtps, rsqrtss) are, as the
name suggests, not expected to give a fully accurate result. They may
produce slighly different results on different CPU families because
their results are not defined by the IEEE standard.  This is the
reason avx-1 test fails on amd now.

This patch assumes there are only two implementations, the intel and
amd one.  It moves these estimate instructions out of avx-1 and into
their own testcase - avx_estimate_insn and creates two different .exp
files for intel and amd.

https://bugs.kde.org/show_bug.cgi?id=413330
NEWS
none/tests/amd64/Makefile.am
none/tests/amd64/avx-1.c
none/tests/amd64/avx-1.stdout.exp
none/tests/amd64/avx_estimate_insn.c [new file with mode: 0644]
none/tests/amd64/avx_estimate_insn.stderr.exp [new file with mode: 0644]
none/tests/amd64/avx_estimate_insn.stdout.exp [new file with mode: 0644]
none/tests/amd64/avx_estimate_insn.vgtest [new file with mode: 0644]
none/tests/amd64/avx_tests.h [new file with mode: 0644]