Fix build flags for kprintf()

This commit is contained in:
Justine Tunney 2022-03-17 13:54:16 -07:00
parent 46a3b88594
commit 741c836e9d
2 changed files with 6 additions and 11 deletions

View file

@ -26,9 +26,8 @@
typedef char xmm_t __attribute__((__vector_size__(16), __aligned__(1)));
static dontinline antiquity int memcmp_sse(const unsigned char *p,
const unsigned char *q, size_t n) {
uint64_t w;
unsigned u, u0, u1, u2, u3;
const unsigned char *q, size_t n) {
unsigned u;
if (n > 32) {
while (n > 16 + 16) {
if (!(u = PMOVMSKB(*(xmm_t *)p == *(xmm_t *)q) ^ 0xffff)) {