github.com/rolandhe/saber@v0.0.4/hash/crc/crc64_amd64.s (about) 1 //+build !noasm !appengine 2 // AUTO-GENERATED BY C2GOASM -- DO NOT EDIT 3 4 TEXT ·_crc32u64(SB), $0-24 5 6 MOVQ a+0(FP), DI 7 MOVQ b+8(FP), SI 8 MOVQ result+16(FP), DX 9 10 LONG $0x380f48f2; WORD $0xfef1 // crc32 rdi, rsi 11 WORD $0x8948; BYTE $0x3a // mov qword [rdx], rdi 12 RET 13 14 15 // func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32) 16 TEXT ·cpuid(SB), $0-24 17 MOVL eaxArg+0(FP), AX 18 MOVL ecxArg+4(FP), CX 19 CPUID 20 MOVL AX, eax+8(FP) 21 MOVL BX, ebx+12(FP) 22 MOVL CX, ecx+16(FP) 23 MOVL DX, edx+20(FP) 24 RET