Skip to content

Commit

Permalink
Zero ymm2 with vpxor xmm2 using AVX's implicit zeroing of upper regis…
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiburjack committed Aug 15, 2022
1 parent 071ea3c commit d1c9b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sse_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ TEXT ·onlySpaces32(SB),NOSPLIT, $0
VMOVDQU (DI), Y0
VMOVDQA Y0, Y1
VPCMPGTB ·spc<>(SB), Y0, Y0
VPXOR Y2, Y2, Y2
VPXOR X2, X2, X2
VPCMPGTB Y1, Y2, Y2
VPOR Y2, Y0, Y0
VPMOVMSKB Y0, AX
Expand Down

0 comments on commit d1c9b03

Please sign in to comment.