[compiler-rt] 5538339 - [builtins] Fix divtf3_test.c
Anatoly Trosinenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 1 14:21:11 PDT 2020
Author: Anatoly Trosinenko
Date: 2020-09-02T00:19:00+03:00
New Revision: 553833958fdea48e41a11ee7e9c104c903deadf5
URL: https://github.com/llvm/llvm-project/commit/553833958fdea48e41a11ee7e9c104c903deadf5
DIFF: https://github.com/llvm/llvm-project/commit/553833958fdea48e41a11ee7e9c104c903deadf5.diff
LOG: [builtins] Fix divtf3_test.c
Fixes 93eed63d2f3188 [builtins] Make __div[sdt]f3 handle denormal results.
Added:
Modified:
compiler-rt/test/builtins/Unit/divtf3_test.c
Removed:
################################################################################
diff --git a/compiler-rt/test/builtins/Unit/divtf3_test.c b/compiler-rt/test/builtins/Unit/divtf3_test.c
index f77f4cf86c99..927d0b826f8f 100644
--- a/compiler-rt/test/builtins/Unit/divtf3_test.c
+++ b/compiler-rt/test/builtins/Unit/divtf3_test.c
@@ -150,7 +150,7 @@ int main()
if (test__divtf3(0x1.0p-16382L, 2.L, UINT64_C(0x0000800000000000), UINT64_C(0x0)))
return 1;
// smallest subnormal result
- if (test__divtf3(0x1.0p-1022L, 0x1p+52L, UINT64_C(0x0), UINT64_C(0x1)))
+ if (test__divtf3(0x1.0p-16382L, 0x1p+112L, UINT64_C(0x0), UINT64_C(0x1)))
return 1;
// any / any
More information about the llvm-commits
mailing list