Skip to content

Commit

Permalink
Remove not needed VMOVDQA due to three-argument AVX/VEX operations
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiburjack committed Aug 19, 2022
1 parent f8ead53 commit 023fc79
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sse_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ TEXT ·onlySpaces16(SB),NOSPLIT, $0
TEXT ·onlySpaces32(SB),NOSPLIT, $0
MOVQ arg+0(FP), DI
VMOVDQU (DI), Y0
VMOVDQA Y0, Y1
VPCMPGTB ·spc<>(SB), Y0, Y0
VPCMPGTB ·spc<>(SB), Y0, Y1
VPXOR X2, X2, X2
VPCMPGTB Y1, Y2, Y2
VPOR Y2, Y0, Y0
VPCMPGTB Y0, Y2, Y0
VPOR Y0, Y1, Y0
VPMOVMSKB Y0, AX
TZCNTL AX, AX
MOVB AX, ret+24(FP)
Expand Down

0 comments on commit 023fc79

Please sign in to comment.