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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user