Граф коммитов

18 Коммитов

Автор SHA1 Сообщение Дата
Casey Carter 355f8f560e
Update LLVM submodule reference (#1594)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2021-02-01 19:43:49 -08:00
Curtis J Bezault 721e3ad895
Build, but don't run, ARM/ARM64 tests (#1505)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-01-27 02:11:54 -08:00
Curtis J Bezault 2914b4301c
Add target architectures as features (#1539) 2020-12-17 17:58:04 -08:00
Curtis J Bezault 839c21c4f3
Add an nvcc test which compiles all the headers at once (#1519)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-12-16 17:04:13 -08:00
statementreply 9959929c77
<complex>: Improve numerical accuracy of sqrt and log (#935)
* Fix undue overflow and underflow in complex sqrt

Modifies the scale factors in `_Fabs` (used by `sqrt`) such that:

- `_Fabs` doesn't underflow when the input is tiny.

- `sqrt` doesn't overflow when the input is huge.

* Improve accuracy of `log` when |z| is close to 1

When |z| is close to 1, compute log(|z|) as log1p(norm_minus_1(z)) / 2,
where norm_minus_1(z) = real(z) ^ 2 + imag(z) ^ 2 - 1 computed with
double width arithmetic to avoid catastrophic cancellation.

* Fix log(complex{1, tiny}) incorrectly returning -0 under FE_DOWNWARD

Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-11-09 15:24:43 -08:00
Curtis J Bezault 9ee552969c
Let's rewrite the test harness (#1394)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-11-06 13:57:46 -08:00
Russell Johnston 0614c8cc01
Support upstream EDG in the std test suite (#1328) 2020-10-02 20:11:28 -07:00
Stephan T. Lavavej d103c08c50
tests: Note unsupported locales, but don't warn. (#866)
Fixes #855.
2020-05-29 17:48:30 -07:00
Stephan T. Lavavej 93fedcde01
Skip /clr tests (#796)
Fixes #788.
2020-05-06 18:07:59 -07:00
Curtis J Bezault 6eaf25d960
Make several improvements to the way the CI runs the tests. (#769) 2020-05-06 17:50:40 -07:00
Curtis J Bezault 84221fbe95
Clang warnings cleanup (#755)
Fix Clang warnings in STL headers (when they aren't being suppressed for "system headers").

Change the test infrastructure to no longer treat STL headers as "system headers", so we'll remain clean with respect to Clang warnings in the future.

Fix Microsoft-internal VSO-609129 "`<cvt/sjis_0208>` appears to have impossible condition" which was also emitting a Clang warning.
2020-04-30 02:37:48 -07:00
Josh Soref 79dd533569
Fix spelling (#743) 2020-04-30 02:27:56 -07:00
Curtis J Bezault 28024b4a86
Remove dependency on LLVM-Lit and fixup libcxx's lit.site.cfg to deal with upstream changes. (#710) 2020-04-14 08:10:37 -07:00
Curtis J Bezault 2f69a318b7
Use the temp disk (#701) 2020-04-14 08:10:23 -07:00
Curtis J Bezault 2597e24586
Run format validation as its own stage and enable /BE (#682) 2020-04-09 18:46:00 -07:00
Casey Carter 22391019cb
Changes to support the compiler portion of P1152R4 "deprecating volatile" (#674)
* Updates for MSVC implementation of P1152R4 "deprecating volatile"

* Enable volatile deprecation warnings in STL's std and libcxx test suites

* `<any>`: `any_cast<T>` now returns `remove_cv_t<T>` because it's silly to have a cv-qualified return type (LWG issue submitted)
* `<optional>`: `optional<T>::value_or` now returns `remove_cv_t<T>` because it's silly to have a cv-qualified return type (LWG issue submitted).
* `<type_traits>`: suppress deprecation warnings around `_Implicitly_convert_to` so `_Implicitly_convert_to<volatile meow>(woof)` doesn't warn
* `<variant>`: Suppress deprecation warnings when forming the "imaginary" overload set `FUN` for the `variant(T&&)` constructor.
* Add the new warning C5215 "'%s' a function parameter with volatile qualified type is deprecated in C++20" to libc++'s "suppress deprecation warnings" macro and update llvm submodule reference.
* Skip libc++ test `containers/sequences/deque/deque.modifiers/insert_iter_iter.pass.cpp` after seeing one timeout too many in Contest logs.
* Suppress C5215 in `tr1/include/tfuns.h` which uses volatile function parameters, and in `tr1/functional4` altogether.
* Update skips for two libc++ tests that changed suffixes from `.sh.cpp` to `.pass.cpp`.

* Add a throwaway `addCompileFlags` function to `LibcxxTestFormat` to enable libc++ to continue working after upstream changes to pass configuration to the filesystem tests which we do not run.
2020-04-03 18:20:24 -07:00
Curtis J Bezault a1a45cc178
Add testing instructions to the README (#647)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2020-03-31 14:05:46 -07:00
Curtis J Bezault 20f21b2248
Add tests using lit as a test harness (#520) 2020-03-25 13:56:03 -07:00