| movq (%rdi), %rax # load from the input | |
| xorl %ecx, %ecx | |
| movabsq $-6076574518398440533, %rdx # imm = 0xABABABABABABABAB | |
| cmpq %rdx, %rax # Check with a garbage value | |
| cmovel %ecx, %eax # return it in %rax | |
| retq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment