mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 15:38:22 +00:00
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:
parent
8fa47acecc
commit
92b794002b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue