-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use simpler ops for binary instructions (fixes GCC issue)
This replaces usage of std::plus{} and others with simpler in-house implementation. The difference is that the std:: versions are passing arguments by reference. In GCC builds without optimization this may cause the arguments to be swapped in commutative instructions. This is at least annoyance for floating-point add which may produce different NaN results if both inputs are NaNs. This is not a problem for Wasm conformance, but prevents running exhaustive tests against software floats implementations.
- Loading branch information
Showing
1 changed file
with
50 additions
and
20 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