mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Remove undefined behaviors
This commit is contained in:
parent
4864565198
commit
b3838173ec
51 changed files with 756 additions and 1302 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue