Fix pmovmskb mnemonic in memeqmask

This change unbreaks test/libc/nexgen32e/memeqmask_test.c which appears
to currently be the only reference to this api. It was originally meant
to be used for speeding up terminal video rendering. We might delete it

Fixes #26
This commit is contained in:
Justine Tunney 2021-01-16 21:52:14 -08:00
parent 8fa47acecc
commit 92b794002b

View file

@ -36,8 +36,8 @@ memeqmask:
movdqa 16(%rsi,%rax,8),%xmm1
pcmpeqb (%rdx,%rax,8),%xmm0
pcmpeqb 16(%rdx,%rax,8),%xmm1
vpmovmskb %xmm0,%r8d
vpmovmskb %xmm1,%r9d
pmovmskb %xmm0,%r8d
pmovmskb %xmm1,%r9d
mov %r8w,(%rdi,%rax)
mov %r9w,2(%rdi,%rax)
add $4,%eax