-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a rigorous precondition checking facility
For now only the existing `invoke_ub` were converted to use it. ChangeLog: * README.md: Document VIR_CHECK_PRECONDITIONS. * vir/simd.h (detail::unreachable): New / moved from simd_execution.h. (detail::trap): New. (detail::invoke_ub): Moved up with behavior dependent on VIR_CHECK_PRECONDITIONS. (vir_simd_precondition): New macro. (simd, simd_mask): Replace invoke_ub with vir_simd_precondition. * vir/simd_execution.h (detail::unreachable): Moved to simd.h.
- Loading branch information
Showing
3 changed files
with
136 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters