[PATCH] D106804: [test-suite] Add tests for FP classification intrinsics

Serge Pavlov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 25 11:29:42 PDT 2021


sepavloff updated this revision to Diff 368687.
sepavloff added a comment.

Updated patch

- Moved tests into header files. It should facilitate writing tests for various modes (strict exceptions, fast math etc),
- Added Makefile,
- Enhanced diagnostics if test fails,
- Avoid C++, it makes easier to run test on simulator if there are fewer dependencies.


Repository:
  rT test-suite

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106804/new/

https://reviews.llvm.org/D106804

Files:
  SingleSource/UnitTests/CMakeLists.txt
  SingleSource/UnitTests/Float/CMakeLists.txt
  SingleSource/UnitTests/Float/Makefile
  SingleSource/UnitTests/Float/check-helper.h
  SingleSource/UnitTests/Float/classify-f32.h
  SingleSource/UnitTests/Float/classify-f64.h
  SingleSource/UnitTests/Float/classify-ldouble.h
  SingleSource/UnitTests/Float/classify.c
  SingleSource/UnitTests/Float/classify.reference_output
  SingleSource/UnitTests/Float/fformat.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106804.368687.patch
Type: text/x-patch
Size: 28459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210825/221f6cba/attachment-0001.bin>


More information about the cfe-commits mailing list