diff options
author | Emilio Cota <ecg@google.com> | 2021-10-08 13:28:04 -0700 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2021-10-08 13:59:18 -0700 |
commit | 57c56cf20cfa017b89bdabfc2bfd46384a25fdc7 (patch) | |
tree | 67e6c8ecd4557730a7963e08625c009eba87986a /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 7ac308fb8f283249b89851702aa07f3ed9ac86d4 (diff) | |
download | llvm-57c56cf20cfa017b89bdabfc2bfd46384a25fdc7.zip llvm-57c56cf20cfa017b89bdabfc2bfd46384a25fdc7.tar.gz llvm-57c56cf20cfa017b89bdabfc2bfd46384a25fdc7.tar.bz2 |
X86Vector: relax checks in rsqrt's integration test
Instead of hard-coding results for both Intel and AMD, let's relax
the checks to simplify the test while supporting both implementations.
Note that:
- If a new hardware implementation comes up in the future, it is likely
to pass the relaxed tests, i.e. no future maintenance burden for us.
- If something terribly wrong happens (e.g. instead of rsqrt we
execute 1/sqrt), the tests will probably catch it, since the relaxed
tests expect low precision (e.g. rsqrt(1) != 1.0).
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D111461
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions