Remove undefined behaviors

This commit is contained in:
Justine Tunney 2021-05-16 11:16:28 -07:00
parent 4864565198
commit b3838173ec
51 changed files with 756 additions and 1302 deletions

View file

@ -28,8 +28,8 @@
* @note goes fast w/ ssse3
* @mayalias
*/
void(phsubd)(int32_t a[4], const int32_t b[4], const int32_t c[4]) {
int32_t t[4];
void(phsubd)(uint32_t a[4], const uint32_t b[4], const uint32_t c[4]) {
uint32_t t[4];
t[0] = b[0] - b[1];
t[1] = b[2] - b[3];
t[2] = c[0] - c[1];