Comment out psrldq_fuzz test

There's a mysterious error on Intel's low-power CPUs. It appears to be
triggered by the C code. Here's the vectors in CP-437:

    n=1
    u"x2ΩΦ▄█b∙¥¼U╞╣“┘$"
    u"2ΩΦ▄█b∙¥¼U╞╣“┘$ "
    u"2ΩΦ▄█b¥¼¼U╞╣“┘$ "
This commit is contained in:
Justine Tunney 2022-05-04 21:43:09 -07:00
parent 42071ffe6f
commit 93906f8f28
2 changed files with 25 additions and 21 deletions

View file

@ -27,7 +27,10 @@
* @mayalias
*/
void(psrldq)(uint8_t b[16], const uint8_t a[16], unsigned long n) {
if (n > 16) n = 16;
__builtin_memcpy(b, a + n, 16 - n);
if (n > 16) {
n = 16;
} else {
__builtin_memcpy(b, a + n, 16 - n);
}
__builtin_memset(b + (16 - n), 0, n);
}