-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(simd.h): Simplify vbool16 casting (#4105)
Some of the ways we were using unions for type punning in the vbool16 class were unnecessary, as both union members were basically the same type. Simplify by getting rid of the unnecessary m_bits union member. This also makes Sonar static analysis happier about these dubious uses of unions for type punning. Signed-off-by: Larry Gritz <lg@larrygritz.com>
- Loading branch information
Showing
1 changed file
with
13 additions
and
24 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