55525fa4662ea6fa26123ee3bb25d4ef7c67ed16
The randomly generated offset+width may exceeds 32, which causes a left shift operation with 32-offset-width. As an unsigned number that is greater than 32 and causes undefined behavior. When the test is compiled without -mavx it is still OK. However when the test is compiled with -mavx, the undefined behavior causes wrong results and test failure. This patch adjusts width so that offset+width<=32 always.
Opis
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Pozostałe
1.1%