Yaxun (Sam) Liu
02848e0b80
Fix test hip_bitextract.cpp ( #1784 )
...
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.
2020-01-10 13:46:57 +05:30
..
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2020-01-10 13:46:57 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-07-31 17:04:31 -04:00
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2018-03-12 11:29:03 +05:30
2019-09-16 08:31:43 +00:00
2019-05-09 09:59:18 +05:30
2018-03-12 11:29:03 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-08-08 11:26:26 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-10-16 10:51:48 +05:30
2019-11-29 11:58:12 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-08-08 11:26:26 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2018-03-12 11:29:03 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-10-16 10:51:48 +05:30
2018-03-12 11:29:03 +05:30
2019-05-09 09:59:18 +05:30
2019-10-16 10:51:48 +05:30
2019-05-09 09:59:18 +05:30
2019-05-09 09:59:18 +05:30
2019-11-20 21:32:32 +05:30
2019-11-20 21:32:32 +05:30
2019-12-30 12:44:24 +05:30
2019-05-02 12:34:07 -04:00